public static final class Quaternion.Versor extends Quaternion
Quaternion.RotationAxis, Quaternion.Versor
Scalar.Factory<N extends Number>
ScalarOperation.Addition<T,N extends Number>, ScalarOperation.Division<T,N extends Number>, ScalarOperation.Multiplication<T,N extends Number>, ScalarOperation.Subtraction<T,N extends Number>
Access2D.Aggregatable<N extends Number>, Access2D.Collectable<N extends Number,R extends Mutate2D.Receiver<N>>, Access2D.Elements, Access2D.ElementView<N extends Number>, Access2D.IndexOf, Access2D.Sliceable<N extends Number>, Access2D.Visitable<N extends Number>
TransformationMatrix.Transformable<N extends Number>
Structure2D.IntRowColumn, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R extends Structure1D>, Structure2D.RowColumnCallback, Structure2D.RowColumnKey<R,C>, Structure2D.RowColumnMapper<R,C>
Structure1D.BasicMapper<T>, Structure1D.IndexCallback, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.LongIndex, Structure1D.LoopCallback
Modifier and Type | Method and Description |
---|---|
double |
norm()
this == this.signum().multiply(this.norm()) |
MatrixStore<Double> |
toRotationMatrix() |
void |
transform(PhysicalStore<Double> matrix) |
Quaternion.Versor |
versor() |
add, add, angle, compareTo, conjugate, count, countColumns, countRows, divide, divide, doubleValue, doubleValue, doubleValue, enforce, equals, floatValue, get, get, get, getDeterminant, getPureVersor, getVectorLength, hashCode, intValue, invert, isAbsolute, isAbsolute, isInfinite, isNaN, isPure, isReal, isReal, isSmall, isSmall, longValue, makePolar, makeRotation, multiply, multiply, negate, of, of, scalar, signum, subtract, subtract, supplyTo, toBigDecimal, toComplexMatrix, toMultiplicationMatrix, toMultiplicationVector, toString, toString, unit, valueOf, valueOf, vector
byteValue, shortValue
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, divide, multiply, subtract, toPlainString
byteValue, getNumber, shortValue
asCollectable2D, asPrimitive2D, columns, elements, equals, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, toRawCopy2D, toString, wrap, wrap, wrapAccess2D, wrapAccess2D
asCollectable1D, asPrimitive1D, axpy, dot, equals, hashCode, iterator, nonzeros, stream, supplyTo, toRawCopy1D, wrap, wrap, wrap, wrapAccess1D, wrapAccess1D, wrapAccess1D
forEach, spliterator
collect
column, column, column, column, column, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
loopAll, loopMatching, loopRange, mapper
public double norm()
NormedVectorSpace
this == this.signum().multiply(this.norm())
norm
in interface NormedVectorSpace<Scalar<Quaternion>,Quaternion>
norm
in class Quaternion
public MatrixStore<Double> toRotationMatrix()
toRotationMatrix
in class Quaternion
public void transform(PhysicalStore<Double> matrix)
transform
in interface TransformationMatrix<Double,PhysicalStore<Double>>
transform
in class Quaternion
public Quaternion.Versor versor()
versor
in class Quaternion
Copyright © 2018 Optimatika. All rights reserved.