MatrixOperation class

The class of set of the static methods of different Matrix operations

Constructors

MatrixOperation()

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 and b
addVectorToEachColumn(Matrix matrix, Matrix column) Matrix
Return copy of matrix where each column where added by column
apply(Matrix matrix, double function(double)) Matrix
Return a copy of matrix where function was applied to every element
columnBind(Matrix a, Matrix b) Matrix
Return Matrix created as binded a and b by columns. Elements of a set first, and elements of b second
hadamardProduct(Matrix a, Matrix b) Matrix
Return Hadamard product of a and b,
hadamardProductToEachColumn(Matrix matrix, Matrix column) Matrix
Return copy of matrix where each column where multiplied by column with Hadamard product
multiplication(Matrix a, Matrix b) Matrix
Return matrix multiplication of a and b
rowBind(Matrix a, Matrix b) Matrix
Return Matrix created as binded a and b by rows. Elements of a set first, and elements of b second
scalarAddition(Matrix matrix, double scalar) Matrix
Return copy of matrix where elements are added by scalar
scalarMultiplication(Matrix matrix, double scalar) Matrix
Return copy of matrix where elements are scaled by scalar
subtraction(Matrix a, Matrix b) Matrix
Return elementwise subtraction of a and b
transposition(Matrix matrix) Matrix
Return transpose of matrix