Package org.ojalgo.algebra
Interface NormedVectorSpace<T,N extends java.lang.Comparable<N>>
-
- 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>
,SelfDeclaringScalar<S>
,Tensor<N,T>
- All Known Implementing Classes:
AboveBelowStore
,AbstractStore
,Amount
,AnyTensor
,ArrayBasedTensor
,BasicMatrix
,BigScalar
,ColumnsStore
,ColumnsSupplier
,ComplexNumber
,ComposingStore
,ConjugatedStore
,DiagonalStore
,ExactDecimal
,FactoryStore
,GenericStore
,IdentityStore
,ImageData
,ImageData.SingleChannel
,IterativeASS.SchurComplementSolver
,LeftRightStore
,LimitStore
,LogicalStore
,LowerHessenbergStore
,LowerSymmetricStore
,LowerTriangularStore
,MatrixC128
,MatrixH256
,MatrixQ128
,MatrixR032
,MatrixR064
,MatrixR128
,MatrixTensor
,Money
,OffsetStore
,Price
,PrimitiveScalar
,Quadruple
,Quantity
,Quaternion
,R032Store
,R064Store
,RationalNumber
,RawStore
,RepeatedColumnsStore
,RepeatedRowsStore
,RowsStore
,RowsSupplier
,SelectingStore
,ShadingStore
,SingleStore
,SparseStore
,SuperimposedStore
,TransjugatedStore
,TransposedStore
,UnaryOperatoStore
,UpperHessenbergStore
,UpperSymmetricStore
,UpperTriangularStore
,VectorTensor
,WrapperStore
,ZeroStore
public interface NormedVectorSpace<T,N extends java.lang.Comparable<N>> extends VectorSpace<T,N>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ojalgo.algebra.Group
Group.Additive<T>, Group.Multiplicative<T>
-
Nested classes/interfaces inherited from interface org.ojalgo.algebra.Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>
-
Nested classes/interfaces inherited from interface org.ojalgo.algebra.ScalarOperation
ScalarOperation.Addition<T,N extends java.lang.Comparable<N>>, ScalarOperation.Division<T,N extends java.lang.Comparable<N>>, ScalarOperation.Multiplication<T,N extends java.lang.Comparable<N>>, ScalarOperation.Subtraction<T,N extends java.lang.Comparable<N>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
isSmall(double comparedTo)
double
norm()
this == this.signum().multiply(this.norm())
T
signum()
this == this.signum().multiply(this.norm())
-
Methods inherited from interface org.ojalgo.algebra.Group.Additive
negate
-
Methods inherited from interface org.ojalgo.algebra.Operation.Addition
add
-
Methods inherited from interface org.ojalgo.algebra.ScalarOperation.Multiplication
multiply, multiply, multiply
-
Methods inherited from interface org.ojalgo.algebra.VectorSpace
conjugate
-
-
-
-
Method Detail
-
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
T signum()
this == this.signum().multiply(this.norm())
- Returns:
- A unit "vector"
-
-