objarray is a special type of Tcl_Obj to handle efficiently (in memory and cpu) arrays of basic numeric types at Tcl level.
This package was developed at CIMNE (www.cimne.com ) mainly for GiD (www.gidhome.com ), but is is implemented as an independent tcl package that can be used by other applications
To use it must load with
package require objarray
Tcl_Obj objects automatically do internal conversion between strings and its special type and vice-versa, this facilitate its use.
The hdf5 plugin uses internally objarrays as bridge between HDF5-like arrays and GiD data.
The vtkobjarray is another specialized Tcl package that act as link between objarrays and vtk-like arrays
(e.g. it is used by the GiD-vtk results import/export plugin)
Note: objarray, hdf5 and vtk_objarray are Tcl packages developed at CIMNE for GiD
Syntax:
package require objarray objarray { length | type | incr | scale | translate | rotate | new_from_to | new | clone | set | get | interleave | deinterleave | range | concat | search | sort | reverse | sum | minimum | maximum | insert | replace | intersection | union | substraction | renumber | snap | get_binary | vector_sum } { <obj> | <type> } ?{<increment>|<from>} {<to>|<size>|<index>}? ?value?