@FunctionalInterface public interface TransformationMatrix<N extends Number,T extends TransformationMatrix.Transformable<N>>
Represents an in-place vector transformation – the matrix/vector operated on is mutated. A TransformationMatrix instance represents an implied transformation matrix. But, this interface does not require you to disclose the size and shape of that matrix, nor to be able to explicitly access any of the individual elements.
A vector transfomation is normally defind as:
[transformed vector] = [transformation matrix] x [original vector]Here we make some specialisation and generalisation to that definition:
Modifier and Type | Interface and Description |
---|---|
static interface |
TransformationMatrix.Transformable<N extends Number> |
Modifier and Type | Method and Description |
---|---|
void |
transform(T transformable) |
void transform(T transformable)
Copyright © 2018 Optimatika. All rights reserved.