Sparse Vector<T>.Elementwise Divide In Place Method
Definition
Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.7.0
Overload List
| Elementwise | Divides the components of this instance by the corresponding components of another vector. |
| Elementwise | Divides this vector in-place element-wise by another vector. |
ElementwiseDivideInPlace(Vector<T>)
Divides the components of this instance by the corresponding
components of another vector.
public override Vector<T> ElementwiseDivideInPlace(
Vector<T> vector
)Parameters
Return Value
Vector<T>A reference to this instance.
Exceptions
| Argument | vector is null. |
| Dimension | The length of vector does not equal the length of this instance. |
ElementwiseDivideInPlace(Vector<T>, SparseElementwiseMode)
Divides this vector in-place element-wise by another vector.
public override Vector<T> ElementwiseDivideInPlace(
Vector<T> vector,
SparseElementwiseMode mode
)Parameters
- vector Vector<T>
- A vector.
- mode SparseElementwiseMode
- The sparse element-wise arithmetic mode. This parameter affects sparse operands only.
Return Value
Vector<T>A reference to this instance.
Remarks
In Strict mode, sparse operands are treated as logical dense vectors. If this instance is sparse, it may be fully materialized while preserving the same instance.
Exceptions
| Argument | vector is null. |
| Argument | mode is not a valid SparseElementwiseMode value. |
| Dimension | The length of vector does not equal the length of this instance. |