| FloatSparseVectorAddition(FloatVector, FloatSparseVector) Operator |
Adds a dense vector to a sparse vector. The result is a dense vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static FloatVector operator +(
FloatVector y,
FloatSparseVector x
)
Public Shared Operator + (
y As FloatVector,
x As FloatSparseVector
) As FloatVector
public:
static FloatVector^ operator +(
FloatVector^ y,
FloatSparseVector^ x
)
static let inline (+)
y : FloatVector *
x : FloatSparseVector : FloatVector
Parameters
- y FloatVector
- A dense vector.
- x FloatSparseVector
- A sparse vector.
Return Value
FloatVectorA new vector containing the sum
x + y.
Remarks u[i] = x[i] + y[i]
See Also