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