Click or drag to resize

NMathFunctionsProduct(DoubleMatrix, DoubleVector, DoubleVector) Method

Computes the product of a matrix and vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static void Product(
	DoubleMatrix A,
	DoubleVector x,
	DoubleVector result
)

Parameters

A  DoubleMatrix
An m x n matrix.
x  DoubleVector
A vector with n elements.
result  DoubleVector
A vector with m element whose contents will be overwritten with the result. This vector must have length equal to the number of rows in A.
Exceptions
ExceptionCondition
MismatchedSizeException Thrown if x does not have length equal to the number of columns in A or result does not have length equal to the number of rows in A.
Remarks
Vector xis treated as a column vector by this function.
See Also