Click or drag to resize

NMathFunctionsProduct(FloatMatrix, FloatVector, FloatVector) 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(
	FloatMatrix A,
	FloatVector x,
	FloatVector result
)

Parameters

A  FloatMatrix
An m x n matrix.
x  FloatVector
A vector with n elements.
result  FloatVector
A vector with m elements 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