Matrix class
Constructors
- Matrix.eye(int size)
-
Matrix.fromRows(List<
Vector> rows) - Matrix.ones(int nrows, int ncols)
- Matrix.zeros(int nrows, int ncols)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotSquare → bool
-
no setter
- isSquare → bool
-
no setter
- ncols → int
-
no setter
- nrows → int
-
no setter
-
rows
→ List<
Vector> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ List<
int> -
no setter
Methods
-
col(
int j) → Vector -
copy(
) → Matrix -
det(
) → double -
dotL(
Vector v) → Vector -
dotR(
Vector v) → Vector -
inverse(
) → Matrix -
isSingular(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
row(
int i) → Vector -
scale(
double x) → Matrix -
slice(
int i, int j) → Matrix -
submatrix(
int i1, int j1, int i2, int j2) → Matrix -
toString(
) → String -
A string representation of this object.
override
-
transpose(
) → Matrix
Operators
-
operator %(
Vector v) → Vector -
operator *(
Matrix other) → Matrix -
operator +(
Matrix other) → Matrix -
operator -(
Matrix other) → Matrix -
operator ==(
Object o) → bool -
The equality operator.
override
-
operator [](
int i) → Vector -
operator []=(
int i, Vector v) → void