Class GenericStore<N extends Scalar<N>>
java.lang.Object
org.ojalgo.array.BasicArray<N>
org.ojalgo.array.DenseArray<N>
org.ojalgo.array.PlainArray<N>
org.ojalgo.array.ReferenceTypeArray<N>
org.ojalgo.array.ScalarArray<N>
org.ojalgo.matrix.store.GenericStore<N>
- All Implemented Interfaces:
Consumer<Access2D<?>>, RandomAccess, Group, Group.Additive<MatrixStore<N>>, NormedVectorSpace<MatrixStore<N>, N>, Operation, Operation.Addition<MatrixStore<N>>, Operation.Multiplication<MatrixStore<N>>, Operation.Subtraction<MatrixStore<N>>, ScalarOperation, ScalarOperation.Addition<MatrixStore<N>, N>, ScalarOperation.Division<MatrixStore<N>, N>, ScalarOperation.Multiplication<MatrixStore<N>, N>, ScalarOperation.Subtraction<MatrixStore<N>, N>, VectorSpace<MatrixStore<N>, N>, DecompositionStore<N>, ExchangeColumns, NegateColumn, RotateRight, Matrix2D<N, MatrixStore<N>>, ElementsSupplier<N>, MatrixStore<N>, PhysicalStore<N>, TransformableRegion<N>, Access1D<N>, Access1D.Aggregatable<N>, Access1D.Collectable<N,Mutate1D>, Access1D.Sliceable<N>, Access1D.Visitable<N>, Access2D<N>, Access2D.Aggregatable<N>, Access2D.Collectable<N, TransformableRegion<N>>, Access2D.Sliceable<N>, Access2D.Visitable<N>, Factory1D.Builder<DenseArray<N>>, Factory2D.Builder<GenericStore<N>>, Mutate1D, Mutate1D.Fillable<N>, Mutate1D.Modifiable<N>, Mutate1D.Sortable, Mutate2D, Mutate2D.Exchangeable, Mutate2D.Fillable<N>, Mutate2D.Modifiable<N>, Mutate2D.ModifiableReceiver<N>, Mutate2D.Receiver<N>, Operate2D<N, ElementsSupplier<N>>, Structure1D, Structure2D, Structure2D.Logical<Access2D<N>, MatrixStore<N>>, Structure2D.ReducibleTo1D<ElementsSupplier<N>>
public final class GenericStore<N extends Scalar<N>>
extends ScalarArray<N>
implements PhysicalStore<N>, DecompositionStore<N>, Factory2D.Builder<GenericStore<N>>
A generic implementation of PhysicalStore.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface Access1D
Access1D.Aggregatable<N>, Access1D.Collectable<N,R>, Access1D.ElementView<N>, Access1D.SelectionView<N>, Access1D.Sliceable<N>, Access1D.Visitable<N> Nested classes/interfaces inherited from interface Access2D
Access2D.Aggregatable<N>, Access2D.Collectable<N,R>, Access2D.ColumnView<N>, Access2D.ElementView<N>, Access2D.RowView<N>, Access2D.SelectionView<N>, Access2D.Sliceable<N>, Access2D.Visitable<N> Nested classes/interfaces inherited from interface Group
Group.Additive<T>, Group.Multiplicative<T>Nested classes/interfaces inherited from interface Mutate1D
Mutate1D.Fillable<N>, Mutate1D.Mixable<N>, Mutate1D.Modifiable<N>, Mutate1D.ModifiableReceiver<N>, Mutate1D.Receiver<N>, Mutate1D.SortableNested classes/interfaces inherited from interface Mutate2D
Mutate2D.Exchangeable, Mutate2D.Fillable<N>, Mutate2D.Mixable<N>, Mutate2D.Modifiable<N>, Mutate2D.ModifiableReceiver<N>, Mutate2D.Receiver<N>Nested classes/interfaces inherited from interface Operation
Operation.Addition<T>, Operation.Division<T>, Operation.Multiplication<T>, Operation.Subtraction<T>Nested classes/interfaces inherited from interface ScalarOperation
ScalarOperation.Addition<T,N>, ScalarOperation.Division<T, N>, ScalarOperation.Multiplication<T, N>, ScalarOperation.Subtraction<T, N> Nested classes/interfaces inherited from interface Structure1D
Structure1D.BasicMapper<T>, Structure1D.IndexMapper<T>, Structure1D.IntIndex, Structure1D.Logical<S,B>, Structure1D.LongIndex, Structure1D.LoopCallback Nested classes/interfaces inherited from interface Structure2D
Structure2D.IntRowColumn, Structure2D.Logical<S,B>, Structure2D.LongRowColumn, Structure2D.ReducibleTo1D<R>, Structure2D.Reshapable, Structure2D.RowColumnKey<R, C>, Structure2D.RowColumnMapper<R, C> Nested classes/interfaces inherited from interface TransformableRegion
TransformableRegion.FillByMultiplying<N> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GenericStore.Factory<ComplexNumber> static final GenericStore.Factory<Quaternion> private final MultiplyBoth.Generic<N> private final MultiplyLeft.Generic<N> private final MultiplyNeither.Generic<N> private final MultiplyRight.Generic<N> private final intprivate final GenericStore.Factory<N> private final intprivate N[]static final GenericStore.Factory<RationalNumber> static final GenericStore.Factory<Quadruple> Fields inherited from class ReferenceTypeArray
dataFields inherited from class PlainArray
MAX_SIZEFields inherited from interface ExchangeColumns
NULLFields inherited from interface NegateColumn
NULLFields inherited from interface RotateRight
NULL -
Constructor Summary
ConstructorsConstructorDescriptionGenericStore(GenericStore.Factory<N> factory, int numbRows, int numbCols, N[] dataArray) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidadd(int row, int col, double addend) voidadd(long row, long col, double addend) voidadd(long row, long col, Comparable<?> addend) voidapplyCholesky(int iterationPoint, BasicArray<N> multipliers) Cholesky transformationsvoidapplyLDL(int iterationPoint, BasicArray<N> multipliers) LDL transformationsvoidapplyLU(int iterationPoint, BasicArray<N> multipliers) LU transformationsasList()build()private Householder.Generic<N> cast(Householder<N> transformation) private Rotation.Generic<N> private GenericStore<N> computeInPlaceSchur(PhysicalStore<N> transformationCollector, boolean eigenvalue) Returns the conjugate transpose of this matrix.copy()Each call must produce a new instance.longOnly need to implement if the structure may contain more than Integer.MAX_VALUE elements.longOnly need to implement if the structure may contain more than Integer.MAX_VALUE elements.voiddivideAndCopyColumn(int row, int column, BasicArray<N> destination) doubledoubleValue(int row, int col) Extracts one element of this matrix as a double.booleanvoidexchangeColumns(long colA, long colB) voidexchangeHermitian(int indexA, int indexB) voidexchangeRows(long rowA, long rowB) voidfillByMultiplying(Access1D<N> left, Access1D<N> right) voidfillColumn(long row, long col, N value) voidfillColumn(long row, long col, NullaryFunction<?> supplier) voidfillColumn(long row, long col, Access1D<N> values) voidfillDiagonal(long row, long col, N value) voidfillDiagonal(long row, long col, NullaryFunction<?> supplier) voidfillMatching(UnaryFunction<N> function, Access1D<N> arguments) voidfillMatching(Access1D<?> values) Will fill the elements of [this] with the corresponding input values, and in the process (if necessary) convert the elements to the correct type:this(i) = values(i)voidfillMatching(Access1D<N> left, BinaryFunction<N> function, Access1D<N> right) voidvoidfillRow(long row, long col, NullaryFunction<?> supplier) voidbooleangenerateApplyAndCopyHouseholderColumn(int row, int column, Householder<N> destination) booleangenerateApplyAndCopyHouseholderRow(int row, int column, Householder<N> destination) get()get(int row, int col) intintintintprivate N[]inthashCode()voidmodifyAll(UnaryFunction<N> modifier) voidmodifyColumn(long row, long col, UnaryFunction<N> modifier) voidmodifyDiagonal(long row, long col, UnaryFunction<N> modifier) voidmodifyOne(long row, long col, UnaryFunction<N> modifier) voidmodifyRow(long row, long col, UnaryFunction<N> modifier) multiply(MatrixStore<N> right) multiplyBoth(Access1D<N> leftAndRight) Assumes [leftAndRight] is a vector and will calulate [leftAndRight]H[this][leftAndRight]voidnegateColumn(int column) physical()regionByColumns(int... columns) regionByLimits(int rowLimit, int columnLimit) regionByOffsets(int rowOffset, int columnOffset) regionByRows(int... rows) voidrotateRight(int low, int high, double cos, double sin) voidset(int row, int col, double value) voidset(long row, long col, Comparable<?> value) voidsetToIdentity(int col) sliceColumn(long row, long col) sliceDiagonal(long row, long col) sliceRange(long first, long limit) sliceRow(long row, long col) voidsubstituteBackwards(Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean hermitian) Will solve the equation system [A][X]=[B] where: [body][this]=[this] is [A][X]=[B] ("this" is the right hand side, and it will be overwritten with the solution). [A] is upper/right triangularvoidsubstituteForwards(Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean identity) Will solve the equation system [A][X]=[B] where: [body][this]=[this] is [A][X]=[B] ("this" is the right hand side, and it will be overwritten with the solution). [A] is lower/left triangulartoScalar(int row, int col) Extracts one element of this matrix as a Scalar.toString()voidtransformLeft(Householder<N> transformation, int firstColumn) voidtransformLeft(Rotation<N> transformation) As inMatrixStore.premultiply(Access1D)where the left/parameter matrix is a plane rotation.voidtransformRight(Householder<N> transformation, int firstRow) voidtransformRight(Rotation<N> transformation) As inMatrixStore.multiply(MatrixStore)where the right/parameter matrix is a plane rotation.voidtransformSymmetric(Householder<N> transformation) voidtred2(BasicArray<N> mainDiagonal, BasicArray<N> offDiagonal, boolean yesvecs) voidvisitColumn(long row, long col, VoidFunction<N> visitor) voidvisitDiagonal(long row, long col, VoidFunction<N> visitor) voidvisitRow(long row, long col, VoidFunction<N> visitor) static <N extends Scalar<N>>
GenericStore<N> wrap(GenericStore.Factory<N> factory, N... data) static <N extends Scalar<N>>
GenericStore<N> wrap(GenericStore.Factory<N> factory, N[] data, int structure) Methods inherited from class ScalarArray
add, add, axpy, byteValue, doubleValue, fillOne, floatValue, indexOfLargest, intValue, isAbsolute, isSmall, longValue, set, shortValue, sortAscending, sortDescendingMethods inherited from class ReferenceTypeArray
copyOfData, exchange, fill, fill, fillOne, fillOne, get, modify, modify, modify, modifyOne, reset, searchAscending, set, set, set, spliterator, visit, visitOneMethods inherited from class PlainArray
add, add, add, add, add, add, add, add, add, add, add, add, byteValue, count, doubleValue, exchange, fill, fill, fillAll, fillAll, fillRange, fillRange, floatValue, get, indexOfLargest, intValue, longValue, modify, modify, modify, modifyOne, set, set, set, set, set, set, set, set, set, set, shortValue, size, visit, visitOneMethods inherited from class BasicArray
aggregateRange, getMathType, indexOfLargest, isPrimitive, modifyMatching, modifyMatching, modifyRange, supplyTo, visitAll, visitRange, wrapInArray1D, wrapInArray2D, wrapInArrayAnyDMethods inherited from interface Access1D
asCollectable1D, asKeyed1D, axpy, dot, select, supplyTo, toList, toRawCopy1DMethods inherited from interface Access1D.Collectable
collectMethods inherited from interface Access1D.Visitable
visitAll, visitRangeMethods inherited from interface Access2D
asCollectable2D, asKeyed2D, byteValue, byteValue, byteValue, byteValue, columns, doubleValue, doubleValue, doubleValue, elements, floatValue, floatValue, floatValue, floatValue, get, intValue, intValue, intValue, intValue, longValue, longValue, longValue, longValue, nonzeros, rows, shortValue, shortValue, shortValue, shortValue, toRawCopy2DMethods inherited from interface Access2D.Aggregatable
aggregateColumn, aggregateDiagonal, aggregateRow, reduceColumns, reduceRowsMethods inherited from interface Access2D.Collectable
collectMethods inherited from interface Access2D.Sliceable
sliceDiagonalMethods inherited from interface Access2D.Visitable
visitColumn, visitDiagonal, visitOne, visitRowMethods inherited from interface DecompositionStore
exchangeColumns, sliceColumn, sliceRowMethods inherited from interface ElementsSupplier
onAny, onColumns, onColumns, onMatching, onMatching, onRows, onRowsMethods inherited from interface MatrixStore
above, above, above, add, add, add, aggregateAll, aggregateColumn, aggregateDiagonal, aggregateRange, aggregateRow, below, below, below, bidiagonal, column, column, columns, columns, diagonal, diagonally, divide, divide, equals, get, hermitian, hessenberg, indexOfLargest, isHermitian, isNormal, isSmall, isSmall, left, left, left, limits, logical, multiply, multiply, multiply, negate, norm, offsets, onAll, operate, power, premultiply, reduceColumns, reduceRows, repeat, right, right, right, row, row, rows, rows, select, select, signum, subtract, subtract, subtract, superimpose, superimpose, supplyTo, symmetric, triangular, tridiagonal, visitOneMethods inherited from interface Mutate1D.Fillable
fillAll, fillAll, fillCompatible, fillMatching, fillRange, fillRangeMethods inherited from interface Mutate1D.Modifiable
add, add, add, add, add, modifyMatching, modifyMatching, modifyRangeMethods inherited from interface Mutate2D
set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setMethods inherited from interface Mutate2D.Fillable
fillColumn, fillColumn, fillColumn, fillCompatible, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillRow, fillRow, fillRowMethods inherited from interface Mutate2D.Modifiable
add, add, add, add, add, add, add, add, add, add, add, add, add, modifyColumn, modifyDiagonal, modifyMatchingInColumns, modifyMatchingInColumns, modifyMatchingInRows, modifyMatchingInRows, modifyOne, modifyRowMethods inherited from interface Mutate2D.ModifiableReceiver
modifyCompatible, modifyCompatibleMethods inherited from interface Mutate2D.Receiver
isAcceptableMethods inherited from interface Operate2D
onAll, onAll, onAll, onAll, onAll, onCompatible, onCompatibleMethods inherited from interface PhysicalStore
indexOfLargestInColumn, indexOfLargestInRow, indexOfLargestOnDiagonal, modifyAny, supplyToMethods inherited from interface ScalarOperation.Addition
addMethods inherited from interface ScalarOperation.Division
divideMethods inherited from interface ScalarOperation.Multiplication
multiplyMethods inherited from interface ScalarOperation.Subtraction
subtractMethods inherited from interface Structure2D
count, firstInColumn, firstInRow, isEmpty, isFat, isScalar, isSquare, isTall, isVector, limitOfColumn, limitOfRow, sizeMethods inherited from interface TransformableRegion
synchronised
-
Field Details
-
C128
-
H256
-
Q128
-
R128
-
multiplyBoth
-
multiplyLeft
-
multiplyNeither
-
multiplyRight
-
myColDim
private final int myColDim -
myFactory
-
myRowDim
private final int myRowDim -
myUtility
-
myWorkerColumn
-
-
Constructor Details
-
GenericStore
GenericStore(GenericStore.Factory<N> factory, int numbRows, int numbCols, N[] dataArray)
-
-
Method Details
-
wrap
public static <N extends Scalar<N>> GenericStore<N> wrap(GenericStore.Factory<N> factory, N... data) -
wrap
public static <N extends Scalar<N>> GenericStore<N> wrap(GenericStore.Factory<N> factory, N[] data, int structure) -
accept
-
add
public void add(int row, int col, double addend) - Specified by:
addin interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
add
- Specified by:
addin interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
add
public void add(long row, long col, double addend) - Specified by:
addin interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
applyCholesky
Description copied from interface:DecompositionStoreCholesky transformations- Specified by:
applyCholeskyin interfaceDecompositionStore<N extends Scalar<N>>
-
applyLDL
Description copied from interface:DecompositionStoreLDL transformations- Specified by:
applyLDLin interfaceDecompositionStore<N extends Scalar<N>>
-
applyLU
Description copied from interface:DecompositionStoreLU transformations- Specified by:
applyLUin interfaceDecompositionStore<N extends Scalar<N>>
-
asList
Description copied from interface:Access1D -
build
- Specified by:
buildin interfaceFactory1D.Builder<N extends Scalar<N>>- Specified by:
buildin interfaceFactory2D.Builder<N extends Scalar<N>>- Overrides:
buildin classDenseArray<N extends Scalar<N>>
-
computeInPlaceSchur
public Array1D<ComplexNumber> computeInPlaceSchur(PhysicalStore<N> transformationCollector, boolean eigenvalue) - Specified by:
computeInPlaceSchurin interfaceDecompositionStore<N extends Scalar<N>>
-
conjugate
Description copied from interface:MatrixStoreReturns the conjugate transpose of this matrix. The conjugate transpose is also known as adjoint matrix, adjugate matrix, hermitian adjoint or hermitian transpose. (The conjugate matrix is the complex conjugate of each element. This NOT what is returned here!)- Specified by:
conjugatein interfaceMatrixStore<N extends Scalar<N>>- Specified by:
conjugatein interfaceStructure2D.Logical<Access2D<N extends Scalar<N>>, MatrixStore<N extends Scalar<N>>>- Specified by:
conjugatein interfaceVectorSpace<MatrixStore<N extends Scalar<N>>, N extends Scalar<N>>- See Also:
-
copy
Description copied from interface:MatrixStoreEach call must produce a new instance.- Specified by:
copyin interfaceMatrixStore<N extends Scalar<N>>- Returns:
- A new PhysicalStore copy.
-
countColumns
public long countColumns()Description copied from interface:Structure2DOnly need to implement if the structure may contain more than Integer.MAX_VALUE elements.- Specified by:
countColumnsin interfaceStructure2D- Returns:
- The number of columns
-
countRows
public long countRows()Description copied from interface:Structure2DOnly need to implement if the structure may contain more than Integer.MAX_VALUE elements.- Specified by:
countRowsin interfaceStructure2D- Returns:
- The number of rows
-
divideAndCopyColumn
- Specified by:
divideAndCopyColumnin interfaceDecompositionStore<N extends Scalar<N>>
-
doubleValue
public double doubleValue(int row, int col) Description copied from interface:Access2DExtracts one element of this matrix as a double.- Specified by:
doubleValuein interfaceAccess2D<N extends Scalar<N>>- Specified by:
doubleValuein interfaceMatrixStore<N extends Scalar<N>>- Parameters:
row- A row index.col- A column index.- Returns:
- One matrix element
-
equals
-
exchangeColumns
public void exchangeColumns(long colA, long colB) - Specified by:
exchangeColumnsin interfaceMutate2D.Exchangeable- Specified by:
exchangeColumnsin interfaceTransformableRegion<N extends Scalar<N>>
-
exchangeHermitian
public void exchangeHermitian(int indexA, int indexB) - Specified by:
exchangeHermitianin interfaceDecompositionStore<N extends Scalar<N>>
-
exchangeRows
public void exchangeRows(long rowA, long rowB) - Specified by:
exchangeRowsin interfaceMutate2D.Exchangeable- Specified by:
exchangeRowsin interfaceTransformableRegion<N extends Scalar<N>>
-
fillByMultiplying
- Specified by:
fillByMultiplyingin interfaceTransformableRegion<N extends Scalar<N>>
-
fillColumn
- Specified by:
fillColumnin interfaceMutate2D.Fillable<N extends Scalar<N>>
-
fillColumn
- Specified by:
fillColumnin interfaceMutate2D.Fillable<N extends Scalar<N>>
-
fillColumn
- Specified by:
fillColumnin interfaceMutate2D.Fillable<N extends Scalar<N>>
-
fillDiagonal
- Specified by:
fillDiagonalin interfaceMutate2D.Fillable<N extends Scalar<N>>
-
fillDiagonal
- Specified by:
fillDiagonalin interfaceMutate2D.Fillable<N extends Scalar<N>>
-
fillMatching
Description copied from interface:Mutate1D.FillableWill fill the elements of [this] with the corresponding input values, and in the process (if necessary) convert the elements to the correct type:this(i) = values(i)- Specified by:
fillMatchingin interfaceMutate1D.Fillable<N extends Scalar<N>>- Overrides:
fillMatchingin classReferenceTypeArray<N extends Scalar<N>>
-
fillMatching
- Specified by:
fillMatchingin interfaceMutate1D.Fillable<N extends Scalar<N>>- Overrides:
fillMatchingin classReferenceTypeArray<N extends Scalar<N>>
-
fillMatching
- Specified by:
fillMatchingin interfaceMutate1D.Fillable<N extends Scalar<N>>- Overrides:
fillMatchingin classReferenceTypeArray<N extends Scalar<N>>
-
fillRow
-
fillRow
-
fillRow
- Specified by:
fillRowin interfaceMutate2D.Fillable<N extends Scalar<N>>
-
generateApplyAndCopyHouseholderColumn
public boolean generateApplyAndCopyHouseholderColumn(int row, int column, Householder<N> destination) - Specified by:
generateApplyAndCopyHouseholderColumnin interfaceDecompositionStore<N extends Scalar<N>>
-
generateApplyAndCopyHouseholderRow
- Specified by:
generateApplyAndCopyHouseholderRowin interfaceDecompositionStore<N extends Scalar<N>>
-
get
- Specified by:
getin interfaceMatrixStore<N extends Scalar<N>>
-
get
-
getColDim
public int getColDim()- Specified by:
getColDimin interfaceStructure2D- Returns:
- The number of columns
-
getMaxDim
public int getMaxDim()- Specified by:
getMaxDimin interfaceStructure2D
-
getMinDim
public int getMinDim()- Specified by:
getMinDimin interfaceStructure2D
-
getRowDim
public int getRowDim()- Specified by:
getRowDimin interfaceStructure2D- Returns:
- The number of rows
-
hashCode
public int hashCode()- Overrides:
hashCodein classReferenceTypeArray<N extends Scalar<N>>
-
modifyAll
- Specified by:
modifyAllin interfaceMutate1D.Modifiable<N extends Scalar<N>>- Overrides:
modifyAllin classBasicArray<N extends Scalar<N>>
-
modifyColumn
- Specified by:
modifyColumnin interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
modifyDiagonal
- Specified by:
modifyDiagonalin interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
modifyOne
- Specified by:
modifyOnein interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
modifyRow
- Specified by:
modifyRowin interfaceMutate2D.Modifiable<N extends Scalar<N>>
-
multiply
- Specified by:
multiplyin interfaceMatrixStore<N extends Scalar<N>>- Specified by:
multiplyin interfaceOperation.Multiplication<N extends Scalar<N>>- Parameters:
right- The multiplicand- Returns:
this * multiplicand.
-
multiplyBoth
Description copied from interface:MatrixStoreAssumes [leftAndRight] is a vector and will calulate [leftAndRight]H[this][leftAndRight]- Specified by:
multiplyBothin interfaceMatrixStore<N extends Scalar<N>>- Parameters:
leftAndRight- The argument vector- Returns:
- A scalar (extracted from the resulting 1 x 1 matrix)
-
negateColumn
public void negateColumn(int column) - Specified by:
negateColumnin interfaceNegateColumn
-
physical
- Specified by:
physicalin interfaceMatrixStore<N extends Scalar<N>>
-
regionByColumns
- Specified by:
regionByColumnsin interfaceTransformableRegion<N extends Scalar<N>>- Returns:
- A consumer (sub)region
-
regionByLimits
- Specified by:
regionByLimitsin interfaceTransformableRegion<N extends Scalar<N>>- Returns:
- A consumer (sub)region
-
regionByOffsets
- Specified by:
regionByOffsetsin interfaceTransformableRegion<N extends Scalar<N>>- Returns:
- A consumer (sub)region
-
regionByRows
- Specified by:
regionByRowsin interfaceTransformableRegion<N extends Scalar<N>>- Returns:
- A consumer (sub)region
-
regionByTransposing
- Specified by:
regionByTransposingin interfaceTransformableRegion<N extends Scalar<N>>- Returns:
- A transposed consumer region
-
rotateRight
public void rotateRight(int low, int high, double cos, double sin) - Specified by:
rotateRightin interfaceRotateRight
-
set
-
set
-
setToIdentity
public void setToIdentity(int col) - Specified by:
setToIdentityin interfaceDecompositionStore<N extends Scalar<N>>
-
sliceColumn
- Specified by:
sliceColumnin interfaceAccess2D.Sliceable<N extends Scalar<N>>- Specified by:
sliceColumnin interfaceDecompositionStore<N extends Scalar<N>>- Specified by:
sliceColumnin interfaceMatrixStore<N extends Scalar<N>>
-
sliceDiagonal
- Specified by:
sliceDiagonalin interfaceAccess2D.Sliceable<N extends Scalar<N>>- Specified by:
sliceDiagonalin interfaceDecompositionStore<N extends Scalar<N>>- Specified by:
sliceDiagonalin interfaceMatrixStore<N extends Scalar<N>>
-
sliceRange
- Specified by:
sliceRangein interfaceAccess1D.Sliceable<N extends Scalar<N>>- Specified by:
sliceRangein interfaceDecompositionStore<N extends Scalar<N>>- Specified by:
sliceRangein interfaceMatrixStore<N extends Scalar<N>>
-
sliceRow
-
substituteBackwards
public void substituteBackwards(Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean hermitian) Description copied from interface:PhysicalStoreWill solve the equation system [A][X]=[B] where:- [body][this]=[this] is [A][X]=[B] ("this" is the right hand side, and it will be overwritten with the solution).
- [A] is upper/right triangular
- Specified by:
substituteBackwardsin interfacePhysicalStore<N extends Scalar<N>>- See Also:
-
substituteForwards
public void substituteForwards(Access2D<N> body, boolean unitDiagonal, boolean conjugated, boolean identity) Description copied from interface:PhysicalStoreWill solve the equation system [A][X]=[B] where:- [body][this]=[this] is [A][X]=[B] ("this" is the right hand side, and it will be overwritten with the solution).
- [A] is lower/left triangular
- Specified by:
substituteForwardsin interfacePhysicalStore<N extends Scalar<N>>- See Also:
-
toScalar
Description copied from interface:Matrix2DExtracts one element of this matrix as a Scalar. -
toString
-
transformLeft
- Specified by:
transformLeftin interfacePhysicalStore<N extends Scalar<N>>
-
transformLeft
Description copied from interface:PhysicalStoreAs in
MatrixStore.premultiply(Access1D)where the left/parameter matrix is a plane rotation.Multiplying by a plane rotation from the left means that [this] gets two of its rows updated to new combinations of those two (current) rows.
There are two ways to transpose/invert a rotation. Either you negate the angle or you interchange the two indeces that define the rotation plane.
- Specified by:
transformLeftin interfacePhysicalStore<N extends Scalar<N>>- See Also:
-
transformRight
- Specified by:
transformRightin interfacePhysicalStore<N extends Scalar<N>>
-
transformRight
Description copied from interface:PhysicalStoreAs in
MatrixStore.multiply(MatrixStore)where the right/parameter matrix is a plane rotation.Multiplying by a plane rotation from the right means that [this] gets two of its columns updated to new combinations of those two (current) columns.
There result is undefined if the two input indeces are the same (in which case the rotation plane is undefined).
- Specified by:
transformRightin interfacePhysicalStore<N extends Scalar<N>>- See Also:
-
transformSymmetric
- Specified by:
transformSymmetricin interfaceDecompositionStore<N extends Scalar<N>>
-
transpose
- Specified by:
transposein interfaceElementsSupplier<N extends Scalar<N>>- Specified by:
transposein interfaceMatrix2D<N extends Scalar<N>, MatrixStore<N extends Scalar<N>>>- Specified by:
transposein interfaceMatrixStore<N extends Scalar<N>>- Specified by:
transposein interfaceStructure2D.Logical<Access2D<N extends Scalar<N>>, MatrixStore<N extends Scalar<N>>>- Returns:
- A transposed matrix instance.
-
tred2
- Specified by:
tred2in interfaceDecompositionStore<N extends Scalar<N>>
-
visitColumn
- Specified by:
visitColumnin interfaceAccess2D.Visitable<N extends Scalar<N>>
-
visitDiagonal
- Specified by:
visitDiagonalin interfaceAccess2D.Visitable<N extends Scalar<N>>
-
visitRow
- Specified by:
visitRowin interfaceAccess2D.Visitable<N extends Scalar<N>>
-
cast
-
cast
-
cast
-
getWorkerColumn
-