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



x
A Vector instance representing the vector to add with the scalar.
alpha
A double value representing the scalar to add with the vector.
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
Visual Basic (Usage)Copy Code
Dim x As Vector
Dim alpha As Double
Dim value As Vector
 
value = Vector.Add(x, alpha)
C# 
public static Vector Add( 
   Vector x,
   double alpha
)
C++/CLI 
public:
static Vector^ Add( 
   Vector^ x,
   double alpha
) 

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

.NET Matrix Library