![]() |
IOLink C# 1.11.0
|
A multi dimensionnal array. More...
Public Member Functions | |
| ArrayXd (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| override bool | Equals (object obj) |
| ArrayXd (VectorXu64 shape) | |
| Create an array with the given shape. | |
| ArrayXd (Indexer indexer) | |
| Create an array with a memory layout fitting the given indexer. | |
| ArrayXd (ArrayXd other) | |
| uint | DimensionCount () |
| The number of dimensions of the array. | |
| VectorXu64 | Shape () |
| Return the shape of the array. | |
| double | At (VectorXu64 index) |
| Get an element of the array. | |
| void | SetAt (VectorXu64 index, double value) |
| Set a value to an element of the array. | |
| void | Reshape (VectorXu64 shape) |
| Change the shape of the array. | |
| string | ToString () |
| Return a string representation. | |
Static Public Member Functions | |
| static global::System.Runtime.InteropServices.HandleRef | getCPtr (ArrayXd obj) |
| static global::System.Runtime.InteropServices.HandleRef | swigRelease (ArrayXd obj) |
| static bool | operator== (ArrayXd v1, ArrayXd v2) |
| static bool | operator!= (ArrayXd v1, ArrayXd v2) |
| static bool | InternalEqual (ArrayXd lhs, ArrayXd rhs) |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Protected Attributes | |
| bool | swigCMemOwn |
Properties | |
| double this[params ulong[] | indices [get, set] |
A multi dimensionnal array.
This class should not be used as is, you must use its aliases or it will not work. The current aliases are:
| T | The type of element stored in the array. |
|
inline |
Create an array with the given shape.
The memory layout of the array will be the default one used by IOLink, the Fortran one, in wich the leftmost dimension is the continuous one.
| shape | The shape of the array. |
|
inline |
Create an array with a memory layout fitting the given indexer.
| indexer | the Indexer instance describing the mmeory layout. |
|
inline |
Get an element of the array.
If Array has an empty shape (dimension count = 0), this method has an undefined behavior.
| index | The index of the element to get. |
|
inline |
Change the shape of the array.
| shape | The new shape. |
|
inline |
Set a value to an element of the array.
If Array has an empty shape (dimension count = 0), this method has an undefined behavior.
| index | The index of the element to set. |
| value | The value to set at the given index. |