class DoubleArray

Summary

This class represents a double array managed by the Max Environment.

syntax:
public class DoubleArray : Array<double>

Constructors

DoubleArray(IntPtr Pointer, ulong Count, ulong Alignment)

Instantiates an array of doubles with a given pointer, element count and alignment.

syntax:
public DoubleArray(IntPtr Pointer, ulong Count, ulong Alignment) : base(Pointer, Count, Alignment)

Parameters

Type Name Description
IntPtr Pointer Array pointer
ulong Count Number of elements
ulong Alignment Alignment

DoubleArray(ulong Count)

Instantiates an array of doubles with a certain number of elements.

syntax:
public DoubleArray(ulong Count) : base(Count)

Parameters

Type Name Description
ulong Count Number of elements

DoubleArray(double[] Elements)

Instantiates an array of doubles with an array.

syntax:
public DoubleArray(double[] Elements) : base(Elements)

Parameters

Type Name Description
double[] Elements Elements

Methods

CopyFromLength(double[] Array, int Length)

Copies a source array to this one, of a certain length of elements.

syntax:
protected override void CopyFromLength(double[] Array, int Length)

Parameters

Type Name Description
double[] Array Source
int Length Length

InstanceCreate(ulong Length)

Creates an instance of DoubleArray of a specified length.

syntax:
public override IDataType InstanceCreate(ulong Length)

Parameters

Type Name Description
ulong Length Length

Returns: Instance ( override IDataType )

Operators

DoubleArray

Implicitly converts a double array to an instance of DoubleArray.

syntax:
public static implicit operator DoubleArray(double[] Value) => new DoubleArray(Value);