8.1.6 Methods changing the instance data

These are the only methods that change the data of the Formex object. All other transformation methodes return and operate on copies, leaving the original object unchanged.

setProp( p)
Create a property array for the Formex.

A property array is a rank-1 integer array with dimension equal to the number of elements in the Formex (first dimension of data). You can specify a single value or a list/array of integer values.

If the number of passed values is less than the number of elements, they wil be repeated. If you give more, they will be ignored.

Specifying a value None results in a Formex without properties.

append( F)
Appends all the elements of a Formex F to the current one. Use the __add__ function or the + operator to concatenate two Formices without changing either of the onjects.

Only Formices having the same plexitude as the current one can be appended. If one of the Formices has properties and the other not, the elements with missing properties will be assigned property 0.