CopyMatrix class Null safety
A copy of a matrix. This isn't used by the 15C simulator, but it comes in handy for experiments and testing.
Constructors
- CopyMatrix(AMatrix src)
Properties
- columns → int
-
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- rows → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- toStringDim → String
-
read-onlyinherited
Methods
-
dot(
AMatrix a, AMatrix b) → void -
Computes this = a dot b. r, a and b must already be properly dimensioned.
inherited
-
equivalent(
AMatrix other) → bool -
inherited
-
formatValueWith(
String fmt(Value)) → String -
inherited
-
get(
int row, int col) → Value -
override
-
getF(
int row, int col) → double -
inherited
-
identity(
) → void -
Make this the identity matrix
inherited
-
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.
inherited
-
set(
int row, int col, Value v) → void -
override
-
setF(
int row, int col, double d) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visit(
void f(int r, int c)) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited