Performs simple matrix math
Sets the Error-messages and the state
Creates a new matrix-object with given rows, columns and fill
(Number)
The amount of rows of the matrix
(Number)
The amount of columns of the matrix
(Number)
The number with wich the matrix will be filled
Toggels if Error messages are displayed
Creates a diagnonal matrix-object
(Object)
The matrix that will be cloned and converted
(any)
(Number)
The number that will fill the result
(Number)
The number that will fill the diagonal line
Object:
A new matrix with the same dimensions as the input-matrix but with a new set of numbers
Creates a matrix-object with random numbers
(Object)
The matrix that will be cloned and converted
(Number)
The minimum random number
(Number)
The maximum random number
Object:
A new matrix with the same dimensions as the input-matrix but with random numbers randing form min to max
Creates a new matrix from the sum of the elements of two matrices or a matrix and a number
(Object)
The matrix that will be cloned and converted
(Object)
The matrix whose elements will be added to the elements of M1
Object:
A new Matrix with the same dimensions as the input Matrix but with a new set of numbers
Creates a new matrix from the difference of the elements of two matrices or a matrix and a number
(Object)
The matrix that will be cloned and converted
(Object)
The matrix whose elements will be subtracted from the elements of M1
Object:
A new Matrix with the same dimensions as the input Matrix but with a new set of numbers
Creates a new matrix from the product of the elements of two matrices or a matrix and a number
(Object)
The matrix that will be cloned and converted
(Object)
The matrix whose elements will be multiplied by the elements of M1
Object:
A new Matrix with the same dimensions as the input Matrix but with a new set of numbers
Creates a new matrix from the division of the elements of two matrices or a matrix and a number
(Object)
The matrix that will be cloned and converted
(Object)
The matrix whose elements will be divided by the elements of M1
Object:
A new Matrix with the same dimensions as the input Matrix but with a new set of numbers
Creates a new matrix-object from a JSON-file
(any)
The JSON-file that contains all the necessary information of a matrix-object
any:
A new matrix-objet with the information of the JSON-file
Shows the contents of the matrix in the console
Represents a matrix as a two-dimensional array
any:
An array with the elements of the input-matrix
Represents a matrix as a one-dimensional array
any:
An array with the elements of the input-matrix
Represents a matrix as a string
any:
A string with the elements of the input-matrix
Represents a matrix-object as a JSON-file
any:
A JSON-file with the elements of the input-matrix-object
Creates the sum of all elements of the matrix
any:
The sum of all the elements of the input-matrix
Creates a copy of a matrix-object
any:
A copy of the input-matrix
Converts the matrix to a unit-matrix
Creates the transposed version of a matrix
any:
The transposed matrix
Inverts the elements of a matrix