Vector<T>.Add Product In Place Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Add | Adds the product of a matrix and a Vector<T> to this Vector<T>. |
Add | Adds the product of a matrix and a Vector<T> to this Vector<T>. |
AddProductInPlace(LinearOperator<T>, Vector<T>)
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
Argument | matrix is null. -or- vector is null. |
Dimension | 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>)
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
Argument | matrix is null. -or- vector is null. |
Dimension | 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. |