Vector<T>.AddProductInPlace Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

AddProductInPlace(LinearOperator<T>, Vector<T>)

Adds the product of a matrix and a Vector<T> to this Vector<T>.
C#
public Vector<T> AddProductInPlace(
	LinearOperator<T> matrix,
	Vector<T> vector
)

Parameters

matrix  LinearOperator<T>
A Matrix<T>.
vector  Vector<T>
A vector.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionmatrix is null

-or-

vector is null

DimensionMismatchException The number of rows of matrix does not equal the length of this instance.

-or-

The number of columns of matrix does not equal the length of vector.

AddProductInPlace(LinearOperator<T>, TransposeOperation, Vector<T>)

Adds the product of a matrix and a Vector<T> to this Vector<T>.
C#
public Vector<T> AddProductInPlace(
	LinearOperator<T> matrix,
	TransposeOperation operation,
	Vector<T> vector
)

Parameters

matrix  LinearOperator<T>
A Matrix<T>.
operation  TransposeOperation
The operation to apply to matrix before multiplying.
vector  Vector<T>
A vector.

Return Value

Vector<T>
A reference to this instance.

Exceptions

ArgumentNullExceptionmatrix is null

-or-

vector is null

DimensionMismatchException The number of rows of matrix does not equal the length of this instance.

-or-

The number of columns of matrix does not equal the length of vector.

See Also