UnitNormMap

Convert a vector to a unit vector and its norm, relative to a specified centre

Description:

The forward transformation of a UnitNormMap subtracts the specified centre and then transforms the resulting vector to a unit vector and the vector norm. The output contains one more coordinate than the input: the initial Nin outputs are in the same order as the input; the final output is the norm.

The inverse transformation of a UnitNormMap multiplies each component of the provided vector by the provided norm and adds the specified centre. The output contains one fewer coordinate than the input: the initial Nin inputs are in the same order as the output; the final input is the norm.

UnitNormMap enables radially symmetric transformations, as follows:

Constructor Function

astUnitNormMap

Inheritance

The UnitNormMap class inherits from the Mapping class.

Attributes

The UnitNormMap class does not define any new attributes beyond those which are applicable to all Mappings.

Functions

The UnitNormMap class does not define any new functions beyond those which are applicable to all Mappings.