Version

Line(Double,Double,Int32) Method

Returns a Vector with evenly spaced elements.
Syntax
'Declaration
 
Public Overloads Shared Function Line( _
   ByVal start As Double, _
   ByVal end As Double, _
   ByVal length As Integer _
) As Vector
public static Vector Line( 
   double start,
   double end,
   int length
)

Parameters

start
The first element of the Vector.
end
The last element of the Vector.
length
The length of the Vector.

Return Value

A Vector with evenly spaced elements.
Exceptions
ExceptionDescription
System.ArgumentExceptionOccurs when length is less than 1.
System.ArgumentExceptionOccurs when start equals end but length does not equal 1.
System.ArgumentExceptionOccurs when start does not equal end but length equals 1.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also