having method

Matrix<T> having({
  1. int? ld,
  2. int? lastd,
  3. ({int x, int y})? offset,
})

Implementation

Matrix<T> having({int? ld, int? lastd, ({int x, int y})? offset}) => Matrix._(
      _entries,
      (
        ld ?? this.dimensions.$1,
        ld != null && ld > 0 ? length ~/ ld : this.dimensions.$2
      ),
      (ld ?? this._strides.$1, this._strides.$2),
      offset: offset ?? this.offset,
    );