Table of Contents

Class DoubleArrayPinned2DManaged

Namespace
FinanceSharp
Assembly
FinanceSharp.dll
public class DoubleArrayPinned2DManaged : DoubleArrayUnmanaged, ICloneable, IDisposable, IEquatable<DoubleArray>
Inheritance
DoubleArrayPinned2DManaged
Implements
Inherited Members
Extension Methods

Constructors

DoubleArrayPinned2DManaged()

public DoubleArrayPinned2DManaged()

DoubleArrayPinned2DManaged(double[,])

public DoubleArrayPinned2DManaged(double[,] values)

Parameters

values double[,]

The structure value that'll be wrapped.

DoubleArrayPinned2DManaged(double[,], GCHandle)

public DoubleArrayPinned2DManaged(double[,] values, GCHandle handle)

Parameters

values double[,]

The structure value that'll be wrapped.

handle GCHandle

The GCHandle of values.

DoubleArrayPinned2DManaged(double[][])

public DoubleArrayPinned2DManaged(double[][] values)

Parameters

values double[][]

The structure value that'll be wrapped.

Remarks

This constructor copies given values to a double[Count, Properties]

DoubleArrayPinned2DManaged(int, int)

public DoubleArrayPinned2DManaged(int count, int properties)

Parameters

count int
properties int

Fields

gcHandle

protected GCHandle gcHandle

Field Value

GCHandle

values

protected double[,] values

Field Value

double[,]

Properties

Close

public override double Close { get; set; }

Property Value

double

InternalArray

Returns a reference to the unmanaged array stored internally.

public double[,] InternalArray { get; }

Property Value

double[,]

Value

public override double Value { get; set; }

Property Value

double

Methods

Clone()

Clones current DoubleArray.

public override DoubleArray Clone()

Returns

DoubleArray

A new copy of this.

ComputeHashCode()

Additional hashcode for inherieted classes.

protected override int ComputeHashCode()

Returns

int

IsEqualExactlyTo(DoubleArray)

A comparison method used when Equals(DoubleArray) is called from IEquatable<T> to compare same types of DoubleArray.

protected override bool? IsEqualExactlyTo(DoubleArray other)

Parameters

other DoubleArray

An DoubleArray to compare to this.

Returns

bool?

Are this[int] equals to other. Null returned when test was not performed.

To2DArray()

Copies this array into a multi-dimensional array, double[,].

public override double[,] To2DArray()

Returns

double[,]