Added three base methods to Transformer object, one of which is pythag using math for both power pow and sqrt for speed and accuracy. improved variable names where possible, added more white-space in arithmetic expressions for improved readability, or changed to methods e.g. pythag for improved readability. Added _scale and _rotation methods to LinearTransformer to improve readability, and extensibility
I strongly believe AffineTransformer object initialization can be improved. using loops and lists to instead compute the new affine position and shape of vector.
Again I have not tested any of the changes.. I am unable to setup this up for my machine at the present moment
Added three base methods to Transformer object, one of which is pythag using math for both power
pow
andsqrt
for speed and accuracy. improved variable names where possible, added more white-space in arithmetic expressions for improved readability, or changed to methods e.g.pythag
for improved readability. Added_scale
and_rotation
methods toLinearTransformer
to improve readability, and extensibilityI strongly believe
AffineTransformer
object initialization can be improved. using loops and lists to instead compute the new affine position and shape of vector.Again I have not tested any of the changes.. I am unable to setup this up for my machine at the present moment