Matrix<T extends Object> class
An N-dimensional, non-growable, matrix with dimensions with corresponding bases.
Constructors
Properties
-
bases
→ List<
int> -
The base index of each matrix dimension
final
- dimensions → int
-
The number of dimensions in the matrix.
no setter
-
elements
→ Array<
Object> -
Returns the elements of the matrix as an Array of Array objects.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
List< int> coordinates) → T -
Returns the value at position
coordinates
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAt(
List< int> coordinates, T value) → void -
Sets the
value
atcoordinates
. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited