# Matrix class Null safety

A matrix stored in the 15C's registers, with values held in the 15C's internal format, with ten decimal digits of mantissa.

Inheritance

## Constructors

Matrix(String name)

## Properties

columns int
hashCode int
The hash code for this object.
isLU bool
lcdString
length int
Number of registers this matrix occupies
name
final
rows int
runtimeType Type
A representation of the runtime type of the object.
toStringDim

## Methods

checkIndices(int row, int col) → void
chsElements() → void
cloneRowSwaps() List<int>
convertFromZTilde() → void
Convert from ZTilde to ZP
convertToZC() → void
The C(x,y) function: Convert a complex matrix from partitioned to "complex-like" form
convertToZP() → void
The P(x,y) function: Convert a complex matrix from "complex-like" form to partitioned form
convertToZTilde() → void
Convert from ZP form to ZTilde, that is,
copyFrom(Matrix other) → void
decodeJson(Map<String, dynamic> m) → void
dot(AMatrix a, ) → void
Computes this = a dot b. r, a and b must already be properly dimensioned.
inherited
dotByP() → void
calculate this = this dot P. This is not to be confused with P dot this!
equivalent(AMatrix other) bool
inherited
formatValueWith(String fmt(Value))
inherited
get(int row, int col)
override
getF(int row, int col)
inherited
getP(int r, int c) bool
Get the permutation matrix P value at the given row, column. Since it's a permuted identity matrix, the value is 0 or 1, so we give it as a bool. A P matrix only exists for an LU-decomposed matrix.
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, ) → void
Computes this = this - a dot b. r, a and b must already be properly dimensioned.
inherited
resize(int rows, int columns) → void
set(int row, int col, ) → void
override
setF(int row, int col, ) → void
inherited
swapRowsLU(int r1, int r2) → void
Swap rows in a matrix holding an LU decomposition.
toJson() Map<String, >
toString()
A string representation of this object.
inherited
transpose() → void
visit(void f(int r, int c)) → void
inherited

## Operators

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