| DoubleSparseVectorDivide Method |
Divides a sparse vector by a scalar.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static DoubleSparseVector Divide(
DoubleSparseVector x,
double a
)
Public Shared Function Divide (
x As DoubleSparseVector,
a As Double
) As DoubleSparseVector
public:
static DoubleSparseVector^ Divide(
DoubleSparseVector^ x,
double a
)
static member Divide :
x : DoubleSparseVector *
a : float -> DoubleSparseVector
Parameters
- x DoubleSparseVector
- A sparse vector.
- a Double
- A scalar.
Return Value
DoubleSparseVectorA sparse vector containing the quotient.
Remarks u[i] = v[i] / s
See Also