Click or drag to resize

NMathFunctionsProduct(FloatComplexMatrix, FloatComplexVector, FloatComplexVector) 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(
	FloatComplexMatrix A,
	FloatComplexVector x,
	FloatComplexVector result
)

Parameters

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