MatrixOperation class
The class of set of the static methods of different Matrix operations
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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.
inherited
Static Methods
-
addition(
Matrix a, Matrix b) → Matrix -
Return elementwise addition of
a
andb
-
addVectorToEachColumn(
Matrix matrix, Matrix column) → Matrix -
Return copy of
matrix
where each column where added bycolumn
-
apply(
Matrix matrix, double function(double)) → Matrix -
Return a copy of
matrix
wherefunction
was applied to every element -
columnBind(
Matrix a, Matrix b) → Matrix -
Return Matrix created as binded
a
andb
by columns. Elements ofa
set first, and elements ofb
second -
hadamardProduct(
Matrix a, Matrix b) → Matrix -
Return Hadamard product of
a
andb
, -
hadamardProductToEachColumn(
Matrix matrix, Matrix column) → Matrix -
Return copy of
matrix
where each column where multiplied bycolumn
with Hadamard product -
multiplication(
Matrix a, Matrix b) → Matrix -
Return matrix multiplication of
a
andb
-
rowBind(
Matrix a, Matrix b) → Matrix -
Return Matrix created as binded
a
andb
by rows. Elements ofa
set first, and elements ofb
second -
scalarAddition(
Matrix matrix, double scalar) → Matrix -
Return copy of
matrix
where elements are added byscalar
-
scalarMultiplication(
Matrix matrix, double scalar) → Matrix -
Return copy of
matrix
where elements are scaled byscalar
-
subtraction(
Matrix a, Matrix b) → Matrix -
Return elementwise subtraction of
a
andb
-
transposition(
Matrix matrix) → Matrix -
Return transpose of
matrix