 | VectorF Constructor (Int32, Single) |
Initializes a new instance of the
VectorF class.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntaxpublic VectorF(
int numberOfElements,
float value
)
Public Sub New (
numberOfElements As Integer,
value As Single
)
public:
VectorF(
int numberOfElements,
float value
)
new :
numberOfElements : int *
value : float32 -> VectorF
Parameters
- numberOfElements
- Type: SystemInt32
The number of elements. - value
- Type: SystemSingle
The initial value for the vector elements.
Remarks
All elements are set to value.
See Also