DSL_doubleArray

<< Click to Display Table of Contents >>

Navigation:  Reference Manual > Arrays and matrices >

DSL_doubleArray

Header file: doublearray.h

class DSL_doubleArray : public DSL_numArray<double, 4>

DSL_doubleArray is derived from DSL_numArray template.


int ChangeOrder(const DSL_intArray& permutation);

Changes the order of elements in the array using the specified permutation. Returns DSL_OKAY on success, or a negative error code if the specified permutation array is not actually a permutation. The permutation array indices are used as sources. For example, {11.1,22.2,33.3,44.4} will become {44.4,11.1,22.2,33.3} when ChangeOrder is called with the permutation {3,0,1,2}.