MpMatrix class final

Data are stored in column-major order by default.

Inheritance
Implemented types
Available extensions

Constructors

MpMatrix()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
cols ↔ int
The number of columns in the matrix.
getter/setter pair
data ↔ Pointer<Float>
The matrix data stored in a column-first layout.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
rows ↔ int
The number of rows in the matrix.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

$allocate(Allocator $allocator, {required int rows, required int cols, required Pointer<Float> data}) → Pointer<MpMatrix>