Struct PdfRange
This class will be used to signify a range. a(min) <= a* <= a(max)
public struct PdfRange
- Inherited Members
Constructors
PdfRange(IEnumerable<decimal>)
Constructor assumes a starting index of 0.
public PdfRange(IEnumerable<decimal> range)
Parameters
range
IEnumerable<decimal>The array that describes the range.
PdfRange(IEnumerable<decimal>, int)
Constructor with an index into an array. Because some arrays specify
multiple ranges ie [0, 1, 0, 2, 2, 3]. It is convenient for this
class to take an index into an array. So if you want this range to
represent 0, 2 in the above example then you would say new PDRange(array, 1)
.
public PdfRange(IEnumerable<decimal> range, int index)
Parameters
range
IEnumerable<decimal>The array that describes the index
index
intThe range index into the array for the start of the range.
PdfRange(IEnumerable<double>)
Constructor assumes a starting index of 0.
public PdfRange(IEnumerable<double> range)
Parameters
range
IEnumerable<double>The array that describes the range.
PdfRange(IEnumerable<double>, int)
Constructor with an index into an array. Because some arrays specify
multiple ranges ie [0, 1, 0, 2, 2, 3]. It is convenient for this
class to take an index into an array. So if you want this range to
represent 0, 2 in the above example then you would say new PDRange(array, 1)
.
public PdfRange(IEnumerable<double> range, int index)
Parameters
range
IEnumerable<double>The array that describes the index
index
intThe range index into the array for the start of the range.
Properties
Max
The maximum value of the range.
public double Max { get; }
Property Value
Min
The minimum value of the range.
public double Min { get; }