MpMatrix class final

A row-major floating-point matrix.

Annotations
  • @immutable

Constructors

MpMatrix({required int rows, required int columns, required Float32List values})
Creates a matrix and copies values.

Properties

columns → int
The number of columns.
final
hashCode → int
The hash code for this object.
no setteroverride
rows → int
The number of rows.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → Float32List
Row-major matrix values.
final

Methods

at(int row, int column) → double
Returns the value at row, column.
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.
override