Matrix<T>.Multiply Method
Definition
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Multiply( | Applies the linear operator to a matrix. |
Multiply( | Applies the linear operator to a vector. |
Multiply( | Multiplies a Vector<T> by a Matrix<T>. |
Multiply( |
Multiplies a matrix on the left by this matrix.
Obsolete. |
Multiply( |
Multiplies a vector on the left by this vector.
Obsolete. |
Multiply( |
Multiplies a Vector<T> by a
Matrix<T>.
Obsolete. |
Multiply( |
Multiplies this matrix by another matrix and returns
the result.
Obsolete. |
Multiply(Matrix<T>, Vector<T>)
public static DenseVector<T> Multiply(
Matrix<T> matrix,
Vector<T> vector
)
Parameters
Return Value
DenseVector<T>A vector that is the product of matrix and vector.
Remarks
The number of columns of the matrix matrix must equal the length of the vector vector.
Exceptions
Argument | matrix is null.
-or- vector is null. |
Dimension | The length of vector does not equal the number of columns in matrix. |
Multiply(Vector<T>, Matrix<T>)
[ObsoleteAttribute]
public static DenseVector<T> Multiply(
Vector<T> vector,
Matrix<T> matrix
)
Parameters
Return Value
DenseVector<T>A vector that is the product of matrix and vector.
Remarks
This method multiplies the matrix on the right of the vector, effectively multiplying the vector by the transpose of the matrix. The number of rows of the matrix matrix must equal the length of the vector vector.
Exceptions
Argument | matrix is null.
-or- vector is null. |
Dimension | The length of vector does not equal the number of rows in matrix. |
Multiply(MatrixOperationSide, TransposeOperation, TransposeOperation, Matrix<T>)
[ObsoleteAttribute("Use the static Multiply method instead.")]
public Matrix<T> Multiply(
MatrixOperationSide side,
TransposeOperation operation,
TransposeOperation otherOperation,
Matrix<T> other
)
Parameters
- side MatrixOperationSide
- Specifies whether other is the left or right operand of the multiplication.
- operation TransposeOperation
- A TransposeOperation value that indicates which operation, if any, should be performed on this instance before multiplying.
- otherOperation TransposeOperation
- A TransposeOperation value that indicates which operation, if any, should be performed on the matrix other before multiplying.
- other Matrix<T>
- The right operand of the multiplication.
Return Value
Matrix<T>A matrix that is the product of this matrix, transformed as specified by operation, with the matrix other, transformed as specified by otherOperation.
Remarks
This method calculates the matrix product of two matrices. The exact form of the operation is determined by the other parameters. The dimensions of the two matrices must be compatible with this form.
Exceptions
Argument | other is null. |