| NMathFunctionsProduct(DoubleVector, DoubleUpperTriMatrix) Method |
Returns the inner product (matrix-vector product) of a vector and an
upper triangular matrix.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleVector Product(
DoubleVector v,
DoubleUpperTriMatrix A
)
Public Shared Function Product (
v As DoubleVector,
A As DoubleUpperTriMatrix
) As DoubleVector
public:
static DoubleVector^ Product(
DoubleVector^ v,
DoubleUpperTriMatrix^ A
)
static member Product :
v : DoubleVector *
A : DoubleUpperTriMatrix -> DoubleVector
Parameters
- v DoubleVector
- A vector.
- A DoubleUpperTriMatrix
- An upper triangular matrix.
Return Value
DoubleVector
The inner product (matrix-vector product) of
v and
A.
Exceptions Exception | Condition |
---|
MismatchedSizeException | Thrown if the length of v
is not equal to the number of rows in the matrix A. |
Remarks
This is equal to the inner product of A transpose and v.
See Also