- All Superinterfaces:
Group, Group.Additive<T>, Operation, Operation.Addition<T>, ScalarOperation, ScalarOperation.Multiplication<T,N>, VectorSpace<T,N>
- All Known Subinterfaces:
DecompositionStore<N>, Matrix2D<N,M>, MatrixStore<N>, PhysicalStore<N>, Scalar<N>, Tensor<N,T>
- All Known Implementing Classes:
Amount, AnyTensor, BasicMatrix, BigScalar, ColumnsSupplier, ComplexNumber, DiagonalStore, ExactDecimal, GenericStore, ImageData, MatrixC128, MatrixH256, MatrixQ128, MatrixR032, MatrixR064, MatrixR128, MatrixTensor, Money, Price, PrimitiveScalar, Quadruple, Quantity, Quaternion, R032Store, R064CSC, R064CSR, R064Store, RationalNumber, RawStore, RowsSupplier, SparseStore, VectorTensor
- Author:
- apete
-
-
Method Summary
default boolean
double
this == this.signum().multiply(this.norm())
this == this.signum().multiply(this.norm())
-
Method Details
-
isSmall
default boolean isSmall(double comparedTo)
- Parameters:
comparedTo - What to compare with
- Returns:
- true if this is small compared to the magnitude of the input reference value.
-
norm
double norm()
this == this.signum().multiply(this.norm())
- Returns:
- The norm
-
signum
this == this.signum().multiply(this.norm())
- Returns:
- A unit "vector"