Functions | |
ml_matrix & | ml_matrix::operator *= (const ml_matrix &m) |
Matrix multiplication operator. | |
ml_matrix & | ml_matrix::operator *= (double a) |
Scalar multiplication operator. | |
ml_matrix & | ml_matrix::dotstar_eq (const ml_matrix &m) |
Element by element multiplication, inserting the results into the original matrix. | |
ml_matrix & | ml_matrix::operator/= (const ml_matrix &m) |
Matrix division operator. | |
ml_matrix & | ml_matrix::operator/= (double a) |
Scalar division operator. | |
ml_matrix & | ml_matrix::dotslash_eq (const ml_matrix &m) |
Element by element division, inserting the results into the original matrix. | |
ml_matrix & | ml_matrix::operator+= (const ml_matrix &m) |
Matrix addition operator, adds corresponding elements. | |
ml_matrix & | ml_matrix::operator+= (double a) |
Scalar addition operator. | |
ml_matrix & | ml_matrix::operator-= (const ml_matrix &m) |
Matrix subtraction operator, adds corresponding elements. | |
ml_matrix & | ml_matrix::operator-= (double a) |
Scalar subtraction operator. | |
ml_matrix | operator * (double b, const ml_matrix &a) |
Scalar multiplication operator. | |
ml_matrix | operator * (const ml_matrix &a, double b) |
Scalar multiplication operator. | |
ml_matrix | operator * (const ml_matrix &a, const ml_matrix &b) |
Matrix multiplication operator. | |
ml_matrix | dotstar (const ml_matrix &a, const ml_matrix &b) |
Element by element multiplication, returning the results as a new matrix. | |
ml_matrix | operator/ (const ml_matrix &a, double b) |
Scalar division operator. | |
ml_matrix | operator/ (const ml_matrix &a, const ml_matrix &b) |
Matrix division operator. | |
ml_matrix | backslash (const ml_matrix &a, const ml_matrix &b) |
Backslash operator performs inverse(a) * b. | |
ml_matrix | dotslash (const ml_matrix &a, const ml_matrix &b) |
Element by element division, returning the results as a new matrix. | |
ml_matrix | operator+ (double b, const ml_matrix &a) |
Scalar addition operator. | |
ml_matrix | operator+ (const ml_matrix &a, double b) |
Scalar addition operator. | |
ml_matrix | operator+ (const ml_matrix &a, const ml_matrix &b) |
Matrix addition operator, adds corresponding elements. | |
ml_matrix | operator- (double b, const ml_matrix &a) |
Scalar subtraction operator. | |
ml_matrix | operator- (const ml_matrix &a, double b) |
Scalar subtraction operator. | |
ml_matrix | operator- (const ml_matrix &a, const ml_matrix &b) |
Matrix subtraction operator, adds corresponding elements. | |
ml_matrix | operator- (const ml_matrix &a) |
Matrix negation operator, returns the negative of each element. |
|
Matrix multiplication operator. If one of the matrices is 1x1, the function will cast that matrix to a double and call the scalar multiplication function. This function can return an error matrix of type ml_size_mismatch if the matrix sizes do not match for multiplication.
|
|
Scalar multiplication operator.
|
|
Element by element multiplication, inserting the results into the original matrix. This function can return an error matrix of type ml_size_mismatch if the two matrices are not of matching sizes.
|
|
Matrix division operator.
|
|
Scalar division operator. This function can return an error matrix of type ml_bad_operand if the specified scalar is 0.
|
|
Element by element division. This function can return an error matrix of type ml_size_mismatch if the two matrices are not of matching sizes.
|
|
Matrix addition operator, adds corresponding elements. This function can return an error matrix of type ml_size_mismatch if the two matrices are not of matching sizes.
|
|
Scalar addition operator.
|
|
Matrix subtraction operator, adds corresponding elements. This function can return an error matrix of type ml_size_mismatch if the two matrices are not of matching sizes.
|
|
Scalar subtraction operator.
|
|
Multiply a matrix by a double.
|
|
Multiply a matrix by a double.
|
|
Matrix multiplication.
|
|
Element-by-element matrix multiplication. Matrices must be of the same size.
|
|
Scalar division.
|
|
Matrix right division. Divide one matrix by another.
|
|
Matrix left division. This is the same as inv(m)*n.
|
|
Element-by-element matrix division. Matrices must be of the same size.
|
|
Addition of a scalar to all elements of a matrix.
|
|
Addition of a scalar to all elements of a matrix.
|
|
Matrix addition. Matrices must be of the same size.
|
|
Subtract each element of a matrix from a scalar.
|
|
Subtraction of a scalar from all elements of a matrix.
|
|
Matrix subtraction.
|
|
Unary operator, returns the negative of a matrix by subtracting all elements from zero.
|