AMatrix class Null safety
Abstract matrix. This is narrower than the Matrix interface.
Constructors
- AMatrix()
Properties
- columns → int
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- rows → int
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- toStringDim → String
-
read-only
Methods
-
dot(
AMatrix a, AMatrix b) → void - Computes this = a dot b. r, a and b must already be properly dimensioned.
-
equivalent(
AMatrix other) → bool -
formatValueWith(
String fmt(Value)) → String -
get(
int row, int col) → Value -
getF(
int row, int col) → double -
identity(
) → void - Make this the identity matrix
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
residual(
AMatrix a, AMatrix b) → void - Computes this = this - a dot b. r, a and b must already be properly dimensioned.
-
set(
int row, int col, Value v) → void -
setF(
int row, int col, double d) → void -
toString(
) → String -
A string representation of this object.
override
-
visit(
void f(int r, int c)) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited