Vector<T>.Elementwise Divide In Place Method
Definition
Namespace: Numerics.NET
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 this vector in-place element-wise by another vector. |
| Elementwise | Divides this vector in-place element-wise by another vector. |
ElementwiseDivideInPlace(Vector<T>)
Divides this vector in-place element-wise by another vector.
public virtual Vector<T> ElementwiseDivideInPlace(
Vector<T> vector
)Parameters
Return Value
Vector<T>A reference to this instance.
Remarks
If either operand is sparse, this overload uses PatternIntersection.
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 virtual 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. |