Vector<T>.AddProductInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

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

ArgumentNullException

matrix 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

ArgumentNullException

matrix 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