mikera.transformz
Class OpTransform
- java.lang.Object
-
- mikera.transformz.ATransform
-
- mikera.transformz.ASizedTransform
-
- mikera.transformz.OpTransform
-
- All Implemented Interfaces:
- java.lang.Cloneable, ITransform
public class OpTransform extends ASizedTransform
Wrapper class that wraps an Op as a vector transform
-
-
Constructor Summary
Constructors Constructor and Description OpTransform(Op op, int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description OpTransforminverse()Return the inverse of this transformation (if possible).booleanisInvertible()Returns true if this transform is invertiblevoidtransform(AVector source, AVector dest)Transforms the source vector, storing the result in the given destination vector-
Methods inherited from class mikera.transformz.ASizedTransform
inputDimensions, outputDimensions
-
Methods inherited from class mikera.transformz.ATransform
calculateElement, clone, compose, composeWith, isIdentity, isLinear, isSquare, takeComponents, takeComponents, takeComponents, transform, transform, transformInPlace
-
-
-
-
Constructor Detail
-
OpTransform
public OpTransform(Op op, int size)
-
-
Method Detail
-
transform
public void transform(AVector source, AVector dest)
Description copied from interface:ITransformTransforms the source vector, storing the result in the given destination vector- Specified by:
transformin interfaceITransform- Specified by:
transformin classATransform
-
isInvertible
public boolean isInvertible()
Description copied from class:ATransformReturns true if this transform is invertible- Overrides:
isInvertiblein classATransform
-
inverse
public OpTransform inverse()
Description copied from class:ATransformReturn the inverse of this transformation (if possible). Throws an exception if the inverse cannot be computed.- Overrides:
inversein classATransform- Returns:
-
-
DMelt 3.0 © DataMelt by jWork.ORG