Matrix<T> class

Implemented types

Constructors

Matrix.new(int m, int n, {({int x, int y}) offset = oneIndexedMatrixOffset})
Matrix.fromData(List<T> data, (int, int) dimensions, {({int x, int y}) offset = oneIndexedMatrixOffset})
Matrix.fromList(List<List<T>> list, {({int x, int y}) offset = oneIndexedMatrixOffset})
Matrix.fromSlice(Array<T> entries, (int, int) dimensions, {({int x, int y}) offset = oneIndexedMatrixOffset})

Properties

dimensions → (int, int)
final
first ↔ T
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ld int
no setter
length int
no setter
offset → ({int x, int y})
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
getter/setter pairoverride

Methods

asArray() Array<T>
box(int i, int j) Box<T>
call(int i, int j, {int? ld, ({int x, int y})? offset}) Matrix<T>
cast<R>() Matrix<R>
copy() Matrix<T>
having({int? ld, int? lastd, ({int x, int y})? offset}) Matrix<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() List<T>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited
operator [](int i) MatrixItemAccessor<T>