Package com.apple.foundationdb.linear
Interface LinearOperator
- All Superinterfaces:
VectorOperator
- All Known Subinterfaces:
RealMatrix
- All Known Implementing Classes:
ColumnMajorRealMatrix,FhtKacRotator,RowMajorRealMatrix
-
Method Summary
Modifier and TypeMethodDescriptionintdefault intReturns the numbers of dimensions a vector must have to be able to be applied or apply-inverted.intdefault RealVectorinvertedApply(RealVector vector) Apply the inverted operator to the vector passed in.default booleanisSquare()booleantransposedApply(RealVector vector) Methods inherited from interface com.apple.foundationdb.linear.VectorOperator
apply, transform, untransform
-
Method Details
-
getNumRowDimensions
int getNumRowDimensions() -
getNumDimensions
default int getNumDimensions()Description copied from interface:VectorOperatorReturns the numbers of dimensions a vector must have to be able to be applied or apply-inverted.- Specified by:
getNumDimensionsin interfaceVectorOperator- Returns:
- the numbers of dimensions this vector operator supports; can be
-1if any number of dimensions is supported.
-
getNumColumnDimensions
int getNumColumnDimensions() -
isSquare
default boolean isSquare() -
isTransposable
boolean isTransposable() -
invertedApply
Description copied from interface:VectorOperatorApply the inverted operator to the vector passed in.applyInverted(apply(v)) == vshould hold.- Specified by:
invertedApplyin interfaceVectorOperator- Parameters:
vector- the vector- Returns:
- a new vector
-
transposedApply
-