  | DoubleSparseVectorSubtract Method | 
            Subtracts a sparse vector from a dense vector. The result is a dense vector.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static DoubleVector Subtract(
	DoubleVector y,
	DoubleSparseVector x
)
Public Shared Function Subtract ( 
	y As DoubleVector,
	x As DoubleSparseVector
) As DoubleVector
public:
static DoubleVector^ Subtract(
	DoubleVector^ y, 
	DoubleSparseVector^ x
)
static member Subtract : 
        y : DoubleVector * 
        x : DoubleSparseVector -> DoubleVector Parameters
- y  DoubleVector
 - A dense vector.
 - x  DoubleSparseVector
 - A sparse vector.
 
Return Value
DoubleVectorA new vector containing the difference 
x - y.
Remarksu[i] = x[i] - y[i]
See Also