Table of Contents

Class DoubleArray

Namespace: FastReport.Olap.Types
Assembly: FastCube.Core.dll

Array of double values.

public class DoubleArray

Inheritance

objectDoubleArray

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

int

Count

Number of elements.

public int Count { get; set; }

Property Value

int

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

double

Methods

Add(double, int)

Adds a new item.

public int Add(double value, int valueIndex)

Parameters

value double

valueIndex int

Returns

int

AddUnique(double, int)

Adds a unique item.

public int AddUnique(double value, int valueIndex)

Parameters

value double

valueIndex int

Returns

int

BinarySearch(double)

Searches with binary algorithm.

public int BinarySearch(double value)

Parameters

value double

Returns

int

BinarySearch(double, IComparer<double>)

Searches with binary algorithm and specified comparer.

public int BinarySearch(double value, IComparer<double> comparer)

Parameters

value double

comparer IComparer<double>

Returns

int

GetCountAtIndex(int)

Gets number of items on index.

public int GetCountAtIndex(int index)

Parameters

index int

Returns

int

GetFirstValueIndexAtIndex(int)

Gets first value index at index.

public int GetFirstValueIndexAtIndex(int index)

Parameters

index int

Returns

int

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()