Matrix<T>.Multiply Operator
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Multiply( | Multiplies a matrix by a scalar. |
Multiply( | Multiplies a matrix by a scalar. |
Multiply( | Multiplies two matrix objects. |
Multiply( | Multiplies a Vector<T> by a Matrix<T>. |
Multiply( | Multiplies a Vector<T> by a Matrix<T>. |
Multiply(T, Matrix<T>) Operator
Multiplies a matrix by a scalar.
public static Matrix<T> operator *(
T factor,
Matrix<T> matrix
)
Parameters
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of matrix multiplied by factor.
Exceptions
Argument | matrix is null |
Multiply(Matrix<T>, T) Operator
Multiplies a matrix by a scalar.
public static Matrix<T> operator *(
Matrix<T> matrix,
T factor
)
Parameters
Return Value
Matrix<T>A matrix whose elements are the corresponding elements of matrix multiplied by factor.
Exceptions
Argument | matrix is null |
Multiply(Matrix<T>, Matrix<T>) Operator
Multiplies two matrix objects.
public static Matrix<T> operator *(
Matrix<T> matrix1,
Matrix<T> matrix2
)
Parameters
Return Value
Matrix<T>A Matrix<T> that is the product of matrix1 and matrix2.
Exceptions
Dimension | The number of columns of matrix1 does not equal the number of rows of matrix2. |
Multiply(Matrix<T>, Vector<T>) Operator
public static Vector<T> operator *(
Matrix<T> matrix,
Vector<T> vector
)
Parameters
Return Value
Vector<T>A vector that is the product of matrix and vector.
Exceptions
Dimension | The length of vector does not equal the number of columns in matrix. |
Multiply(Vector<T>, Matrix<T>) Operator
public static Vector<T> operator *(
Vector<T> vector,
Matrix<T> matrix
)
Parameters
Return Value
Vector<T>A vector that is the product of matrix and vector.
Exceptions
Dimension | The length of vector does not equal the number of columns in matrix. |