Uses of Interface
org.ojalgo.structure.Structure2D
Packages that use Structure2D
Package
Description
-
Uses of Structure2D in org.ojalgo
Methods in org.ojalgo with parameters of type Structure2DModifier and TypeMethodDescriptionstatic voidProgrammingError.throwIfNotEqualRowDimensions(Structure2D mtrx1, Structure1D mtrx2) static voidProgrammingError.throwIfNotSquare(Structure2D mtrx) -
Uses of Structure2D in org.ojalgo.ann
Methods in org.ojalgo.ann that return Structure2D -
Uses of Structure2D in org.ojalgo.array
Classes in org.ojalgo.array that implement Structure2D -
Uses of Structure2D in org.ojalgo.data
Classes in org.ojalgo.data that implement Structure2D -
Uses of Structure2D in org.ojalgo.data.image
Classes in org.ojalgo.data.image that implement Structure2DMethods in org.ojalgo.data.image with parameters of type Structure2DModifier and TypeMethodDescriptionstatic ImageDataImageData.newColour(Structure2D shape) static ImageDataImageData.newGreyScale(Structure2D shape) -
Uses of Structure2D in org.ojalgo.matrix
Subinterfaces of Structure2D in org.ojalgo.matrixModifier and TypeInterfaceDescriptioninterfaceMatrix2D<N extends Comparable<N>,M extends Matrix2D<N, M>> Definition of what's common toBasicMatrixandMatrixStore.Classes in org.ojalgo.matrix that implement Structure2DModifier and TypeClassDescriptionclassBasicMatrix<N extends Comparable<N>,M extends BasicMatrix<N, M>> A base class for, easy to use, immutable (thread safe) matrices with a rich feature set.final classA matrix (linear algebra) with ComplexNumberSet.Celements, implemented using dual 64-bit double values. (2 x 64 = 128)static final classstatic final classfinal classA matrix (linear algebra) with QuaternionNumberSet.Helements, implemented using four 64-bit double values. (4 x 64 = 256)static final classstatic final classfinal classA matrix (linear algebra) with RationalNumberSet.Qelements, implemented using dual 64-bit long values. (2 x 64 = 128)static final classstatic final classfinal classA matrix (linear algebra) with RealNumberSet.Relements, approximated by 32-bit float.static final classstatic final classfinal classA matrix (linear algebra) with RealNumberSet.Relements, approximated by 64-bit double.static final classstatic final classfinal classA matrix (linear algebra) with RealNumberSet.Relements, approximated by 128-bit floating-point values (implemented using dual 64-bit double). (2 x 64 = 128)static final classstatic final classMethods in org.ojalgo.matrix with parameters of type Structure2D -
Uses of Structure2D in org.ojalgo.matrix.decomposition
Subinterfaces of Structure2D in org.ojalgo.matrix.decompositionModifier and TypeInterfaceDescriptioninterfaceBidiagonal<N extends Comparable<N>>A general matrix [A] can be factorized by similarity transformations into the form [A]=[LQ][D][RQ] -1 where: [A] (m-by-n) is any, real or complex, matrix [D] (r-by-r) or (m-by-n) is, upper or lower, bidiagonal [LQ] (m-by-r) or (m-by-m) is orthogonal [RQ] (n-by-r) or (n-by-n) is orthogonal r = min(m,n)interfaceCholesky<N extends Comparable<N>>Cholesky: [A] = [L][L]H (or [R]H[R])interfaceDecompositionStore<N extends Comparable<N>>Only classes that will act as a delegate to a MatrixDecomposition implementation from this package should implement this interface.interfaceEigenvalue<N extends Comparable<N>>[A] = [V][D][V]-1 ([A][V] = [V][D]) [A] = any square matrix. [V] = contains the eigenvectors as columns. [D] = a diagonal matrix with the eigenvalues on the diagonal (possibly in blocks).static interfaceEigenvalue.Generalised<N extends Comparable<N>>static interfaceEigenvalue.Spectral<N extends Comparable<N>>“Spectral decomposition” refers specifically to the orthogonal/unitary eigen-decomposition of a normal matrix (most commonly Hermitian / symmetric).interfaceHessenberg<N extends Comparable<N>>Hessenberg: [A] = [Q][H][Q]T A general square matrix [A] can be decomposed by orthogonal similarity transformations into the form [A]=[Q][H][Q]T where [H] is upper (or lower) hessenberg matrix [Q] is orthogonal/unitaryinterfaceLDL<N extends Comparable<N>>LDL: [A] = [L][D][L]H (or [R]H[D][R])interfaceLDU<N extends Comparable<N>>LDU: [A] = [L][D][U] ( [PL][L][D][U][PU] )interfaceLU<N extends Comparable<N>>LU: [A] = [L][U]interfaceMatrixDecomposition<N extends Comparable<N>>Notation used to describe the various matrix decompositions: [A] could be any matrix.static interfaceMatrixDecomposition.Determinant<N extends Comparable<N>>static interfaceMatrixDecomposition.EconomySize<N extends Comparable<N>>Several matrix decompositions can be expressed "economy sized" - some rows or columns of the decomposed matrix parts are not needed for the most releveant use cases, and can therefore be left out.static interfaceMatrixDecomposition.Hermitian<N extends Comparable<N>>Some matrix decompositions are only available with hermitian (symmetric) matrices or different decomposition algorithms could be used depending on if the matrix is hemitian or not.static interfaceMatrixDecomposition.Ordered<N extends Comparable<N>>static interfaceMatrixDecomposition.Pivoting<N extends Comparable<N>>The pivot or pivot element is the element of a matrix, or an array, which is selected first by an algorithm (e.g.static interfaceMatrixDecomposition.RankRevealing<N extends Comparable<N>>A rank-revealing matrix decomposition of a matrix [A] is a decomposition that is, or can be transformed to be, on the form [A]=[X][D][Y]T where: [X] and [Y] are square and well conditioned. [D] is diagonal with nonnegative and non-increasing values on the diagonal.static interfaceMatrixDecomposition.Solver<N extends Comparable<N>>static interfaceMatrixDecomposition.Updatable<N extends Comparable<N>>static interfaceMatrixDecomposition.Values<N extends Comparable<N>>Eigenvalue and Singular Value decompositions can calculate the "values" only.interfaceQR<N extends Comparable<N>>QR: [A] = [Q][R] Decomposes [this] into [Q] and [R] where: [Q] is an orthogonal matrix (orthonormal columns).interfaceSingularValue<N extends Comparable<N>>Singular Value: [A] = [U][S][V]T Decomposes [this] into [U], [S] and [V] where: [U] is an orthogonal matrix.interfaceTridiagonal<N extends Comparable<N>>Tridiagonal: [A] = [Q][D][Q]H Any square symmetric (hermitian) matrix [A] can be factorized by similarity transformations into the form, [A]=[Q][D][Q]-1 where [Q] is an orthogonal (unitary) matrix and [D] is a real symmetric tridiagonal matrix.Classes in org.ojalgo.matrix.decomposition that implement Structure2DModifier and TypeClassDescriptionfinal classQuasi-Definite LDL (QDLDL) sparse decomposition.Fields in org.ojalgo.matrix.decomposition declared as Structure2DMethods in org.ojalgo.matrix.decomposition with parameters of type Structure2DModifier and TypeMethodDescriptiondefault Bidiagonal<N> Bidiagonal.Factory.make(Structure2D typical) Bidiagonal.Factory.make(Structure2D typical, boolean fullSize) default Eigenvalue<N> Eigenvalue.Factory.make(Structure2D typical) Eigenvalue.Factory.make(Structure2D typical, boolean hermitian) LDL.ModifiedFactory.make(Structure2D typical) MatrixDecomposition.Factory.make(Structure2D typical) Will create a new decomposition instance suitable for matrices of the specified size.QR.Factory.make(Structure2D typical) QR.Factory.make(Structure2D typical, boolean fullSize) default SingularValue<N> SingularValue.Factory.make(Structure2D typical) SingularValue.Factory.make(Structure2D typical, boolean fullSize) default Eigenvalue.Generalised<N> Eigenvalue.Factory.makeGeneralised(Structure2D typical) Deprecated.Eigenvalue.Factory.makeGeneralised(Structure2D typical, Eigenvalue.Generalisation type) "Generalised" does NOT refer to general (as in not symmetric/hermitian) matrices, but to generalised eigenvalue problems. -
Uses of Structure2D in org.ojalgo.matrix.store
Subinterfaces of Structure2D in org.ojalgo.matrix.storeModifier and TypeInterfaceDescriptioninterfaceElementsSupplier<N extends Comparable<N>>AnElementsSupplieris not necessarily (or not yet) a matrix, but something from which the elements of a matrix can be derived.interfaceMatrixStore<N extends Comparable<N>>A MatrixStore is a two dimensional store of numbers/scalars.interfacePhysicalStore<N extends Comparable<N>>PhysicalStore:s, as opposed to MatrixStore:s, are mutable.interfaceAdditional methods for sparse matrix implementations that store only non-zero elements.interfaceTransformableRegion<N extends Comparable<N>>A transformable 2D (sub)region.Classes in org.ojalgo.matrix.store that implement Structure2DModifier and TypeClassDescriptionfinal classColumnsSupplier<N extends Comparable<N>>Sparse columns – columns can be added and removed.static final classColumnsSupplier.SingleView<N extends Comparable<N>>final classDiagonalStore<N extends Comparable<N>,D extends Access1D<?>> final classGenericStore<N extends Scalar<N>>A generic implementation of PhysicalStore.final classAimplementation of PhysicalStore.invalid reference
float
final classA compressed sparse column (CSC) matrix store implementation for double precision values.static final classA builder for constructingR064CSRinstances.final classA compressed sparse row (CSR) matrix store implementation for double precision values.static final classA builder for constructing CSR matrix stores. the dimensions of the matrix are determined by the highest row and column indices set.final classAimplementation of PhysicalStore.invalid reference
double
final classUses double[][] internally.final classRowsSupplier<N extends Comparable<N>>Sparse rows – rows can be added and removed.static final classRowsSupplier.SingleView<N extends Comparable<N>>final classSparseStore<N extends Comparable<N>>A sparse matrix (this implementation) is not thread safe.static final classSparseStore.Builder<N extends Comparable<N>>May be a preferable way to build a sparse matrix if: You don't know the number of nonzero elements in advance.Methods in org.ojalgo.matrix.store with parameters of type Structure2DModifier and TypeMethodDescriptionbooleanR032Store.isAcceptable(Structure2D supplier) default IPhysicalStore.Factory.makeEye(Structure2D shape) default SparseStore<N> PhysicalStore.Factory.makeSparse(Structure2D shape) default MatrixStore<N> PhysicalStore.Factory.makeZero(Structure2D shape) -
Uses of Structure2D in org.ojalgo.matrix.task
Methods in org.ojalgo.matrix.task with parameters of type Structure2DModifier and TypeMethodDescriptionabstract DeterminantTask<N> DeterminantTask.Factory.make(Structure2D template, boolean symmetric, boolean positiveDefinite) abstract InverterTask<N> InverterTask.Factory.make(Structure2D template, boolean symmetric, boolean positiveDefinite) abstract SolverTask<N> SolverTask.Factory.make(Structure2D templateBody, Structure2D templateRHS, boolean symmetric, boolean positiveDefinite) default PhysicalStore<N> InverterTask.preallocate(Structure2D template) Will create a PhysicalStore instance suitable for use withInverterTask.invert(Access2D, PhysicalStore).default PhysicalStore<N> SolverTask.preallocate(Structure2D templateBody, Structure2D templateRHS) Will create a PhysicalStore instance suitable for use withSolverTask.solve(Access2D, Access2D, PhysicalStore). -
Uses of Structure2D in org.ojalgo.matrix.transformation
Subinterfaces of Structure2D in org.ojalgo.matrix.transformationModifier and TypeInterfaceDescriptioninterfaceInvertibleFactor<N extends Comparable<N>>A chainable and reversible in-place (equation system) solver.Classes in org.ojalgo.matrix.transformation that implement Structure2DModifier and TypeClassDescriptionstatic final classInvertibleFactor.IdentityFactor<N extends Comparable<N>> -
Uses of Structure2D in org.ojalgo.optimisation.convex
Methods in org.ojalgo.optimisation.convex with parameters of type Structure2DModifier and TypeMethodDescriptionConvexSolver.Configuration.newSolverGeneral(Structure2D structure) ConvexSolver.Configuration.newSolverSPD(Structure2D structure) Method parameters in org.ojalgo.optimisation.convex with type arguments of type Structure2DModifier and TypeMethodDescriptionConvexSolver.Configuration.solverGeneral(Function<Structure2D, MatrixDecomposition.Solver<Double>> factory) This matrix decomposition should be able to "invert" the full KKT systsem body matrix (which is symmetric) and/or its Schur complement with regards to the [Q] matrix (of quadratic terms).ConvexSolver.Configuration.solverSPD(Function<Structure2D, MatrixDecomposition.Solver<Double>> factory) The [Q] matrix (of quadratic terms) is supposed to be symmetric positive definite (or at least semidefinite), but in reality there are usually many deficiencies. -
Uses of Structure2D in org.ojalgo.scalar
Classes in org.ojalgo.scalar that implement Structure2DModifier and TypeClassDescriptionfinal classComplexNumber is an immutable complex number class.final class -
Uses of Structure2D in org.ojalgo.structure
Classes in org.ojalgo.structure with type parameters of type Structure2DModifier and TypeInterfaceDescriptioninterfaceFactory2D<I extends Structure2D>static interfaceFactory2D.Builder<I extends Structure2D>static interfaceFactory2D.MayBeSparse<I extends Structure2D,DENSE extends Factory2D.Builder<I>, SPARSE extends Factory2D.Builder<I>> For when the structures can be either dense or sparse.static interfaceFactory2D.TwoStep<I extends Structure2D,B extends Factory2D.Builder<I>> static interfaceStructure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S, B>> static interfaceStructureAnyD.ReducibleTo2D<R extends Structure2D>Subinterfaces of Structure2D in org.ojalgo.structureModifier and TypeInterfaceDescriptioninterfaceAccess2D<N extends Comparable<N>>2-dimensional accessor methodsstatic interfaceAccess2D.Aggregatable<N extends Comparable<N>>static interfaceAccess2D.Collectable<N extends Comparable<N>,R extends Mutate2D> static interfaceAccess2D.Sliceable<N extends Comparable<N>>static interfaceAccess2D.Visitable<N extends Comparable<N>>static interfaceFactory2D.Builder<I extends Structure2D>interface2-dimensional mutator methodsstatic interfaceA few operations with no 1D or AnyD counterpart.static interfaceMutate2D.Fillable<N extends Comparable<N>>static interfaceMutate2D.Mixable<N extends Comparable<N>>static interfaceMutate2D.Modifiable<N extends Comparable<N>>static interfaceMutate2D.ModifiableReceiver<N extends Comparable<N>>Apart from extendingMutate2D.Receiverthis interface extendsMutate2D.ModifiableandMutate2D.Exchangeablewhich both imply access to existing elements as well asAccess2Dthat dictates explicit access.static interfaceMutate2D.Receiver<N extends Comparable<N>>interfaceOperate2D<N extends Comparable<N>,P extends Operate2D<N, P>> To be implemented by classes that are not directly mutable themselves, but that can operate on the elements of some internal/future 2D data structure – similar to streams in some sense.static interfaceStructure2D.Logical<S extends Structure2D,B extends Structure2D.Logical<S, B>> static interfaceStructure2D.ReducibleTo1D<R extends Structure1D>static interfaceClasses in org.ojalgo.structure that implement Structure2DModifier and TypeClassDescriptionstatic final classAccess2D.SelectionView<N extends Comparable<N>>static final classAccessAnyD.MatrixView<N extends Comparable<N>>classMethods in org.ojalgo.structure that return Structure2DMethods in org.ojalgo.structure with parameters of type Structure2DModifier and TypeMethodDescriptionStructure2D.Logical.diagonally(S... diagonally) default booleanMutate2D.Receiver.isAcceptable(Structure2D supplier) default IFactory2D.make(Structure2D shape) default IFactory2D.TwoStep.make(Structure2D shape) static <R,C> Structure2D.RowColumnMapper <R, C> Structure2D.mapperOf(Structure2D structure, Structure1D.IndexMapper<R> rowMappwer, Structure1D.IndexMapper<C> columnMappwer) static Primitive2DPrimitive2D.wrap(Structure2D delegate) Constructors in org.ojalgo.structure with parameters of type Structure2DModifierConstructorDescriptionprotectedRowColumnMapper(Structure2D structure, Structure1D.IndexMapper<R> rowMapper, Structure1D.IndexMapper<C> columnMapper) -
Uses of Structure2D in org.ojalgo.tensor
Classes in org.ojalgo.tensor that implement Structure2D
Eigenvalue.Factory.makeGeneralised(Structure2D, Eigenvalue.Generalisation)instead, then it's more clear what you're actually doing.