ScriptForge.Array service

Provides a collection of methods for manipulating and transforming arrays of one dimension (vectors) and arrays of two dimensions (matrices). This includes set operations, sorting, importing from and exporting to text files.

Arrays with more than two dimensions cannot be used with the methods in this service, the only exception being the CountDims method that accepts Arrays with any number of dimensions.

Array items may contain any type of value, including (sub)arrays.

Service invocation

Before using the Array service the ScriptForge library needs to be loaded using:


    GlobalScope.BasicLibraries.loadLibrary("ScriptForge")
  

Loading the library will create the