IOLink C# 1.11.0
Loading...
Searching...
No Matches
IOLink.ArrayXi16 Class Reference

A multi dimensionnal array. More...

Inheritance diagram for IOLink.ArrayXi16:

Public Member Functions

 ArrayXi16 (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
override bool Equals (object obj)
 
 ArrayXi16 (VectorXu64 shape)
 Create an array with the given shape.
 
 ArrayXi16 (Indexer indexer)
 Create an array with a memory layout fitting the given indexer.
 
 ArrayXi16 (ArrayXi16 other)
 
uint DimensionCount ()
 The number of dimensions of the array.
 
VectorXu64 Shape ()
 Return the shape of the array.
 
short At (VectorXu64 index)
 Get an element of the array.
 
void SetAt (VectorXu64 index, short 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 (ArrayXi16 obj)
 
static global::System.Runtime.InteropServices.HandleRef swigRelease (ArrayXi16 obj)
 
static bool operator== (ArrayXi16 v1, ArrayXi16 v2)
 
static bool operator!= (ArrayXi16 v1, ArrayXi16 v2)
 
static bool InternalEqual (ArrayXi16 lhs, ArrayXi16 rhs)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Properties

short this[params ulong[] indices [get, set]
 

Detailed Description

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:

  • Arrayi8
  • Arrayi16
  • Arrayi32
  • Arrayi64
  • Arrayu8
  • Arrayu16
  • Arrayu32
  • Arrayu64
  • Arrayf
  • Arrayd
    Parameters
    TThe type of element stored in the array.

Constructor & Destructor Documentation

◆ ArrayXi16() [1/2]

IOLink.ArrayXi16.ArrayXi16 ( VectorXu64  shape)
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.

Parameters
shapeThe shape of the array.

◆ ArrayXi16() [2/2]

IOLink.ArrayXi16.ArrayXi16 ( Indexer  indexer)
inline

Create an array with a memory layout fitting the given indexer.

Parameters
indexerthe Indexer instance describing the mmeory layout.

Member Function Documentation

◆ At()

short IOLink.ArrayXi16.At ( VectorXu64  index)
inline

Get an element of the array.

If Array has an empty shape (dimension count = 0), this method has an undefined behavior.

Parameters
indexThe index of the element to get.

◆ Reshape()

void IOLink.ArrayXi16.Reshape ( VectorXu64  shape)
inline

Change the shape of the array.

Parameters
shapeThe new shape.

◆ SetAt()

void IOLink.ArrayXi16.SetAt ( VectorXu64  index,
short  value 
)
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.

Parameters
indexThe index of the element to set.
valueThe value to set at the given index.

The documentation for this class was generated from the following file: