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
valuesdouble[,]The structure value that'll be wrapped.
DoubleArrayPinned2DManaged(double[,], GCHandle)
public DoubleArrayPinned2DManaged(double[,] values, GCHandle handle)
Parameters
DoubleArrayPinned2DManaged(double[][])
public DoubleArrayPinned2DManaged(double[][] values)
Parameters
valuesdouble[][]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
Fields
gcHandle
protected GCHandle gcHandle
Field Value
values
protected double[,] values
Field Value
- double[,]
Properties
Close
public override double Close { get; set; }
Property Value
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
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
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
otherDoubleArrayAn DoubleArray to compare to this.
Returns
To2DArray()
Copies this array into a multi-dimensional array, double[,].
public override double[,] To2DArray()
Returns
- double[,]