Click or drag to resize

NMathFunctionsProduct(DoubleVector, DoubleTriDiagMatrix) Method

Returns the inner product (matrix-vector product) of a vector and a tridiagonal matrix.

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

Parameters

x  DoubleVector
A vector.
A  DoubleTriDiagMatrix
A tridiagonal matrix.

Return Value

DoubleVector
The inner product (matrix-vector product) of x and A.
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the length of x is not equal to the number of rows in A.
Remarks
This is equal to the inner product of A transpose and x.
See Also