.NET Matrix Library
Subtract(Double,Vector) Method
See Also  Send Feedback



alpha
A double representing the scalar from which to subtract the vector.
x
A Vector instance representing the vector to subtract from the scalar.
Subtracts a real vector from a scalar.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function Subtract( _
   ByVal alpha As Double, _
   ByVal x As Vector _
) As Vector
Visual Basic (Usage)Copy Code
Dim alpha As Double
Dim x As Vector
Dim value As Vector
 
value = Vector.Subtract(alpha, x)
C# 
public static Vector Subtract( 
   double alpha,
   Vector x
)
C++/CLI 
public:
static Vector^ Subtract( 
   double alpha,
   Vector^ x
) 

Parameters

alpha
A double representing the scalar from which to subtract the vector.
x
A Vector instance representing the vector to subtract from the scalar.

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

.NET Matrix Library