Class: staticarray

Staticarrays are created as plain C arrays within luxinia and cannot be resized. They can be used for operations that require lot's of calculations or are used by other C functions.

Hierarchy

o-+ mathlib
  o-+ staticarray
    o-- floatarray
    o-- intarray
    o-- ubytearray

Interfaces:

Methods:

Method overview:


clamp (staticarray self, value min, value max)
returns: ()
self = (self with values clamped to min,max)
count (staticarray)
returns: (int)
returns maximum number of floatelements
index (staticarray,index,[value])
returns: ([value])
assigns index the float value if given or simply returns the value at the index. Returns error in case of invalid indices.
resize (staticarray self, int size)
returns: ()
Changes size of array.

Inherited Methods:

From mathlib