Subtracts a scalar from a vector.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Shared Function Subtract( _
ByVal x As Vector, _
ByVal alpha As Double _
) As Vector |
Parameters
- x
- A Vector instance from which to subtract the scalar.
- alpha
- A double representing the scalar to subtract from the vector.
Return Value
A
Vector object representing the result of the subtraction.
Requirements
Target Platforms: Windows 2000, Windows XP, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7
See Also