Click or drag to resize

NMathFunctionsProduct(DoubleMatrix, 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 DoubleVector Product(
	DoubleMatrix A,
	DoubleVector x
)

Parameters

A  DoubleMatrix
An m x n matrix.
x  DoubleVector
A vector with n elements.

Return Value

DoubleVector
The product of A and x.
Exceptions
ExceptionCondition
MismatchedSizeException Thrown if x does not have length equal to the number of columns in A.
Remarks
Vector xis treated as a column vector by this function.
See Also