 | DoubleVector(Int32, Double, Double) Constructor |
Constructs a DoubleVector instance with the given length. Values
are initialized starting with the given initial value, incremented
by the specified amount for each element in the vector.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic DoubleVector(
int length,
double initVal,
double increment
)
Public Sub New (
length As Integer,
initVal As Double,
increment As Double
)
public:
DoubleVector(
int length,
double initVal,
double increment
)
new :
length : int *
initVal : float *
increment : float -> DoubleVector
Parameters
- length Int32
- A non-negative value for the length.
- initVal Double
- An initial value.
- increment Double
- The increment.
Remarks
The ith element = initialValue + i * increment;
See Also