Class DoubleArray
Namespace: FastReport.Olap.Types
Assembly: FastCube.Core.dll
Array of double values.
public class DoubleArray
Inheritance
Constructors
DoubleArray(int)
Creates a new instance.
public DoubleArray(int count)
Parameters
count
int
Properties
Capacity
Gets or sets capacity.
public int Capacity { get; set; }
Property Value
Count
Number of elements.
public int Count { get; set; }
Property Value
Items
Gets inner array.
public double[] Items { get; }
Property Value
double[]
this[int]
Gets item by index.
public double this[int index] { get; set; }
Property Value
Methods
Add(double, int)
Adds a new item.
public int Add(double value, int valueIndex)
Parameters
value
double
valueIndex
int
Returns
AddUnique(double, int)
Adds a unique item.
public int AddUnique(double value, int valueIndex)
Parameters
value
double
valueIndex
int
Returns
BinarySearch(double)
Searches with binary algorithm.
public int BinarySearch(double value)
Parameters
value
double
Returns
BinarySearch(double, IComparer<double>)
Searches with binary algorithm and specified comparer.
public int BinarySearch(double value, IComparer<double> comparer)
Parameters
value
double
Returns
GetCountAtIndex(int)
Gets number of items on index.
public int GetCountAtIndex(int index)
Parameters
index
int
Returns
GetFirstValueIndexAtIndex(int)
Gets first value index at index.
public int GetFirstValueIndexAtIndex(int index)
Parameters
index
int
Returns
Insert(double, int, int)
Insers a value.
public void Insert(double value, int index, int valueIndex)
Parameters
value
double
index
int
valueIndex
int
Recapacity()
Recapacityes.
public void Recapacity()