Constructs a new FaureSequence object.
Namespace: Extreme.Statistics.Random
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub New ( _ sequence As GeneralVector, _ capacity As Integer _ ) |
| C# |
|---|
public FaureSequence ( GeneralVector sequence, int capacity ) |
| C++ |
|---|
public: FaureSequence ( GeneralVector^ sequence, int capacity ) |
Parameters
- sequence (Extreme.Mathematics.LinearAlgebra.GeneralVector)
- A GeneralVector that is to contain the points in the sequence.
- capacity (System.Int32)
- An upper limit for the number of points that will be requested.
Remarks
The dimension of the points in the sequence is the length of the vector sequence.
By default, the coordinates of each new point in the sequence will be copied into sequence.
capacity specifies the number of points that will be requested. When enumerating the sequence using IEnumerator methods and properties, or in a foreach loop, capacity equals the number of points returned.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | sequence is nullNothingnullptr. |
| ArgumentOutOfRangeException | capacity is less than or equal to zero. |