Home | Trees | Indices | Help |
|
---|
|
object --+ | Rotation
Rotation class that implements an orthogonal linear transformation, one for each dimension.
By default reach Rotation instance provides a different "random" but fixed rotation. This class is used to implement non-separable test functions, most conveniently via FFWrapper.RotatedFitness.
Example:
>>> import cma, numpy as np >>> R = cma.Rotation() >>> R2 = cma.Rotation() # another rotation >>> x = np.array((1,2,3)) >>> print(R(R(x), inverse=1)) [ 1. 2. 3.]
|
|||
|
|||
|
|||
Inherited from |
|
|||
dicMatrices =
|
|
|||
Inherited from |
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue Mar 3 01:17:17 2015 | http://epydoc.sourceforge.net |