GenericDenseStore
instead@Deprecated public final class BigDenseStore extends BigArray implements PhysicalStore<BigDecimal>, DecompositionStore<BigDecimal>
Modifier and Type | Class and Description |
---|---|
static interface |
BigDenseStore.BigMultiplyBoth
Deprecated.
|
static interface |
BigDenseStore.BigMultiplyLeft
Deprecated.
|
static interface |
BigDenseStore.BigMultiplyNeither
Deprecated.
|
static interface |
BigDenseStore.BigMultiplyRight
Deprecated.
|
DenseArray.Factory<N extends Number>
PhysicalStore.Factory<N extends Number,I extends PhysicalStore<N>>
MatrixStore.LogicalBuilder<N extends Number>
Group.Additive<S>, Group.Multiplicative<S>
ScalarOperation.Addition<T,N extends Number>, ScalarOperation.Division<T,N extends Number>, ScalarOperation.Multiplication<T,N extends Number>, ScalarOperation.Subtraction<T,N extends Number>
ElementsConsumer.ColumnsRegion<N extends Number>, ElementsConsumer.ConsumerRegion<N extends Number>, ElementsConsumer.FillByMultiplying<N extends Number>, ElementsConsumer.LimitRegion<N extends Number>, ElementsConsumer.OffsetRegion<N extends Number>, ElementsConsumer.RowsRegion<N extends Number>, ElementsConsumer.TransposedRegion<N extends Number>
Mutate2D.BiModifiable<N extends Number>, Mutate2D.Exchangeable, Mutate2D.Fillable<N extends Number>, Mutate2D.Mixable<N extends Number>, Mutate2D.Modifiable<N extends Number>, Mutate2D.Receiver<N extends Number>
Mutate1D.Sortable
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 | Field and Description |
---|---|
static PhysicalStore.Factory<BigDecimal,BigDenseStore> |
FACTORY
Deprecated.
v45 Use
GenericDenseStore.RATIONAL instead |
data
MAX_ARRAY_SIZE
BIG, COMPLEX, PRIMITIVE
NULL
NULL
NULL
Modifier and Type | Method and Description |
---|---|
void |
accept(Access2D<?> supplied)
Deprecated.
|
void |
add(long index,
double addend) |
void |
add(long row,
long col,
double addend)
Deprecated.
|
void |
add(long row,
long col,
Number addend)
Deprecated.
|
void |
add(long index,
Number addend) |
BigDecimal |
aggregateAll(Aggregator aggregator)
Deprecated.
|
void |
applyCholesky(int iterationPoint,
BasicArray<BigDecimal> multipliers)
Deprecated.
Cholesky transformations
|
void |
applyLDL(int iterationPoint,
BasicArray<BigDecimal> multipliers)
Deprecated.
LDL transformations
|
void |
applyLU(int iterationPoint,
BasicArray<BigDecimal> multipliers)
Deprecated.
LU transformations
|
Array1D<BigDecimal> |
asList()
Deprecated.
|
Array1D<ComplexNumber> |
computeInPlaceSchur(PhysicalStore<BigDecimal> transformationCollector,
boolean eigenvalue)
Deprecated.
|
MatrixStore<BigDecimal> |
conjugate()
Deprecated.
Returns the conjugate transpose of this matrix.
|
BigDenseStore |
copy()
Deprecated.
Each call must produce a new instance.
|
long |
count() |
long |
countColumns()
Deprecated.
|
long |
countRows()
Deprecated.
|
void |
divideAndCopyColumn(int row,
int column,
BasicArray<BigDecimal> destination)
Deprecated.
|
double |
doubleValue(long index) |
double |
doubleValue(long aRow,
long aCol)
Deprecated.
Extracts one element of this matrix as a double.
|
boolean |
equals(Object anObj)
Deprecated.
|
protected void |
exchange(long firstA,
long firstB,
long step,
long count) |
void |
exchangeColumns(long colA,
long colB)
Deprecated.
|
void |
exchangeHermitian(int indexA,
int indexB)
Deprecated.
|
void |
exchangeRows(long rowA,
long rowB)
Deprecated.
|
protected void |
fill(long first,
long limit,
long step,
N value) |
protected void |
fill(long first,
long limit,
long step,
NullaryFunction<N> supplier) |
void |
fillAll(N number) |
void |
fillAll(NullaryFunction<N> supplier) |
void |
fillByMultiplying(Access1D<BigDecimal> left,
Access1D<BigDecimal> right)
Deprecated.
|
void |
fillColumn(long row,
long col,
Access1D<BigDecimal> values)
Deprecated.
|
void |
fillColumn(long row,
long col,
BigDecimal value)
Deprecated.
|
void |
fillColumn(long row,
long col,
NullaryFunction<BigDecimal> supplier)
Deprecated.
|
void |
fillDiagonal(long row,
long col,
BigDecimal value)
Deprecated.
|
void |
fillDiagonal(long row,
long col,
NullaryFunction<BigDecimal> supplier)
Deprecated.
|
void |
fillOne(long index,
Access1D<?> values,
long valueIndex) |
void |
fillOne(long row,
long col,
Access1D<?> values,
long valueIndex)
Deprecated.
|
void |
fillOne(long row,
long col,
BigDecimal value)
Deprecated.
|
void |
fillOne(long row,
long col,
NullaryFunction<BigDecimal> supplier)
Deprecated.
|
void |
fillOne(long index,
N value) |
void |
fillOne(long index,
NullaryFunction<N> supplier) |
void |
fillRange(long first,
long limit,
N number) |
void |
fillRange(long first,
long limit,
NullaryFunction<N> supplier) |
void |
fillRow(long row,
long col,
Access1D<BigDecimal> values)
Deprecated.
|
void |
fillRow(long row,
long col,
BigDecimal value)
Deprecated.
|
void |
fillRow(long row,
long col,
NullaryFunction<BigDecimal> supplier)
Deprecated.
|
boolean |
generateApplyAndCopyHouseholderColumn(int row,
int column,
Householder<BigDecimal> destination)
Deprecated.
|
boolean |
generateApplyAndCopyHouseholderRow(int row,
int column,
Householder<BigDecimal> destination)
Deprecated.
|
MatrixStore<BigDecimal> |
get()
Deprecated.
|
N |
get(long index) |
BigDecimal |
get(long aRow,
long aCol)
Deprecated.
|
int |
hashCode()
Deprecated.
|
protected long |
indexOfLargest(long first,
long limit,
long step) |
long |
indexOfLargestInColumn(long row,
long col)
Deprecated.
|
long |
indexOfLargestInRow(long row,
long col)
Deprecated.
|
long |
indexOfLargestOnDiagonal(long first)
Deprecated.
|
boolean |
isAbsolute(long index) |
boolean |
isAbsolute(long row,
long col)
Deprecated.
|
boolean |
isColumnSmall(long row,
long col,
double comparedTo)
Deprecated.
|
boolean |
isRowSmall(long row,
long col,
double comparedTo)
Deprecated.
|
boolean |
isSmall(long index,
double comparedTo) |
boolean |
isSmall(long row,
long col,
double comparedTo)
Deprecated.
|
protected boolean |
isSmall(long first,
long limit,
long step,
double comparedTo) |
protected void |
modify(long first,
long limit,
long step,
Access1D<N> left,
BinaryFunction<N> function) |
protected void |
modify(long first,
long limit,
long step,
BinaryFunction<N> function,
Access1D<N> right) |
protected void |
modify(long first,
long limit,
long step,
UnaryFunction<N> function) |
void |
modifyAll(UnaryFunction<BigDecimal> aFunc)
Deprecated.
|
void |
modifyColumn(long row,
long col,
UnaryFunction<BigDecimal> modifier)
Deprecated.
|
void |
modifyDiagonal(long row,
long col,
UnaryFunction<BigDecimal> modifier)
Deprecated.
|
void |
modifyMatching(Access1D<BigDecimal> left,
BinaryFunction<BigDecimal> function)
Deprecated.
|
void |
modifyMatching(BinaryFunction<BigDecimal> function,
Access1D<BigDecimal> right)
Deprecated.
|
void |
modifyOne(long row,
long col,
UnaryFunction<BigDecimal> modifier)
Deprecated.
|
void |
modifyOne(long index,
UnaryFunction<N> modifier) |
void |
modifyRow(long row,
long col,
UnaryFunction<BigDecimal> modifier)
Deprecated.
|
MatrixStore<BigDecimal> |
multiply(MatrixStore<BigDecimal> right)
Deprecated.
|
BigDecimal |
multiplyBoth(Access1D<BigDecimal> leftAndRight)
Deprecated.
Assumes [leftAndRight] is a vector and will calulate [leftAndRight]H[this][leftAndRight]
|
void |
negateColumn(int column)
Deprecated.
|
PhysicalStore.Factory<BigDecimal,BigDenseStore> |
physical()
Deprecated.
|
ElementsConsumer<BigDecimal> |
regionByColumns(int... columns)
Deprecated.
|
ElementsConsumer<BigDecimal> |
regionByLimits(int rowLimit,
int columnLimit)
Deprecated.
|
ElementsConsumer<BigDecimal> |
regionByOffsets(int rowOffset,
int columnOffset)
Deprecated.
|
ElementsConsumer<BigDecimal> |
regionByRows(int... rows)
Deprecated.
|
ElementsConsumer<BigDecimal> |
regionByTransposing()
Deprecated.
|
void |
rotateRight(int low,
int high,
double cos,
double sin)
Deprecated.
|
void |
set(long index,
double value) |
void |
set(long aRow,
long aCol,
double aNmbr)
Deprecated.
|
void |
set(long aRow,
long aCol,
Number aNmbr)
Deprecated.
|
void |
set(long index,
Number number) |
void |
setToIdentity(int aCol)
Deprecated.
|
Array1D<BigDecimal> |
sliceColumn(long row,
long col)
Deprecated.
|
Array1D<BigDecimal> |
sliceDiagonal(long row,
long col)
Deprecated.
|
Array1D<BigDecimal> |
sliceRange(long first,
long limit)
Deprecated.
|
Array1D<BigDecimal> |
sliceRow(long row,
long col)
Deprecated.
|
void |
substituteBackwards(Access2D<BigDecimal> body,
boolean unitDiagonal,
boolean conjugated,
boolean hermitian)
Deprecated.
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 triangular
|
void |
substituteForwards(Access2D<BigDecimal> body,
boolean unitDiagonal,
boolean conjugated,
boolean identity)
Deprecated.
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 triangular
|
void |
supplyTo(ElementsConsumer<BigDecimal> receiver)
Deprecated.
|
BigScalar |
toScalar(long row,
long column)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
transformLeft(Householder<BigDecimal> transformation,
int firstColumn)
Deprecated.
|
void |
transformLeft(Rotation<BigDecimal> transformation)
Deprecated.
As in
MatrixStore.premultiply(Access1D) where the left/parameter matrix is a plane rotation. |
void |
transformRight(Householder<BigDecimal> transformation,
int firstRow)
Deprecated.
|
void |
transformRight(Rotation<BigDecimal> transformation)
Deprecated.
As in
MatrixStore.multiply(MatrixStore) where the right/parameter matrix is a plane rotation. |
void |
transformSymmetric(Householder<BigDecimal> transformation)
Deprecated.
|
MatrixStore<BigDecimal> |
transpose()
Deprecated.
|
void |
tred2(BasicArray<BigDecimal> mainDiagonal,
BasicArray<BigDecimal> offDiagonal,
boolean yesvecs)
Deprecated.
|
protected void |
visit(long first,
long limit,
long step,
VoidFunction<N> visitor) |
void |
visitColumn(long row,
long col,
VoidFunction<BigDecimal> visitor)
Deprecated.
|
void |
visitDiagonal(long row,
long col,
VoidFunction<BigDecimal> visitor)
Deprecated.
|
void |
visitOne(long index,
VoidFunction<N> visitor) |
void |
visitRow(long row,
long col,
VoidFunction<BigDecimal> visitor)
Deprecated.
|
add, add, axpy, indexOfLargest, isAbsolute, isSmall, make, sortAscending, sortDescending, wrap
copyOfData, doubleValue, exchange, exchange, fill, fill, fill, fill, fill, fill, fill, fillMatching, fillMatching, fillMatching, fillOne, fillOne, fillOne, get, invoke, invoke, invoke, invoke, invoke, invoke, modify, modify, modify, modify, modify, modify, modifyOne, reset, searchAscending, set, set, size, spliterator, visit, visitOne
factory, indexOfLargest, indexOfLargestInRange, makeDecreasingRange, makeDecreasingRange, makeIncreasingRange, makeIncreasingRange, modifyRange, visitAll, visitRange, wrapInArray1D, wrapInArray2D, wrapInArrayAnyD
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
exchangeColumns, sliceColumn, sliceRow
add, aggregateColumn, aggregateDiagonal, aggregateRange, aggregateRow, equals, firstInColumn, firstInRow, isSmall, limitOfColumn, limitOfRow, logical, multiply, multiply, multiply, negate, norm, premultiply, reduceColumns, reduceRows, signum, subtract, visitOne
operateOnAll, operateOnMatching, operateOnMatching
operateOnAll, operateOnAll, operateOnAll, operateOnAll, operateOnAll
collect
asCollectable2D, asPrimitive2D, columns, equals, newPrimitiveColumnCollectable, newPrimitiveRowCollectable, rows, toRawCopy2D, toString, wrap, wrap, wrapAccess2D, wrapAccess2D
isAbsolute, isColumnSmall, isRowSmall, isSmall
isAllSmall
visitColumn, visitDiagonal, visitOne, visitRow
visitAll, visitRange
aggregateColumn, aggregateRow, reduceColumns, reduceRows
indexOfLargestInColumn, indexOfLargestInRow, indexOfLargestOnDiagonal
indexOfLargest, indexOfLargestInRange
transform
isAcceptable
fillColumn, fillColumn, fillColumn, fillDiagonal, fillDiagonal, fillDiagonal, fillDiagonal, fillOne, fillOne, fillOne, fillRow, fillRow, fillRow
column, column, column, column, column, count, index, index, isEmpty, isFat, isScalar, isSquare, isTall, isVector, loopAll, loopColumn, loopColumn, loopDiagonal, loopMatching, loopRow, loopRow, mapperOf, row, row, row, row, row
fillAll, fillAll, fillMatching, fillMatching, fillMatching, fillRange, fillRange
loopAll, loopMatching, loopRange, mapper
modifyColumn, modifyDiagonal, modifyOne, modifyRow
modifyRange
@Deprecated public static final PhysicalStore.Factory<BigDecimal,BigDenseStore> FACTORY
GenericDenseStore.RATIONAL
insteadpublic void accept(Access2D<?> supplied)
accept
in interface Consumer<Access2D<?>>
accept
in interface Mutate2D.Receiver<BigDecimal>
public void add(long row, long col, double addend)
public void add(long row, long col, Number addend)
public BigDecimal aggregateAll(Aggregator aggregator)
aggregateAll
in interface Access1D.Aggregatable<BigDecimal>
aggregateAll
in interface MatrixStore<BigDecimal>
public void applyCholesky(int iterationPoint, BasicArray<BigDecimal> multipliers)
DecompositionStore
applyCholesky
in interface DecompositionStore<BigDecimal>
public void applyLDL(int iterationPoint, BasicArray<BigDecimal> multipliers)
DecompositionStore
applyLDL
in interface DecompositionStore<BigDecimal>
public void applyLU(int iterationPoint, BasicArray<BigDecimal> multipliers)
DecompositionStore
applyLU
in interface DecompositionStore<BigDecimal>
public Array1D<BigDecimal> asList()
asList
in interface PhysicalStore<BigDecimal>
public Array1D<ComplexNumber> computeInPlaceSchur(PhysicalStore<BigDecimal> transformationCollector, boolean eigenvalue)
computeInPlaceSchur
in interface DecompositionStore<BigDecimal>
public MatrixStore<BigDecimal> conjugate()
MatrixStore
conjugate
in interface VectorSpace<MatrixStore<BigDecimal>,BigDecimal>
conjugate
in interface MatrixStore<BigDecimal>
VectorSpace.conjugate()
public BigDenseStore copy()
MatrixStore
copy
in interface MatrixStore<BigDecimal>
public long countColumns()
countColumns
in interface Structure2D
public long countRows()
countRows
in interface Structure2D
public void divideAndCopyColumn(int row, int column, BasicArray<BigDecimal> destination)
divideAndCopyColumn
in interface DecompositionStore<BigDecimal>
public double doubleValue(long aRow, long aCol)
Access2D
doubleValue
in interface Access2D<BigDecimal>
doubleValue
in interface MatrixStore<BigDecimal>
aRow
- A row index.aCol
- A column index.public void exchangeColumns(long colA, long colB)
exchangeColumns
in interface Mutate2D.Exchangeable
public void exchangeHermitian(int indexA, int indexB)
exchangeHermitian
in interface DecompositionStore<BigDecimal>
public void exchangeRows(long rowA, long rowB)
exchangeRows
in interface Mutate2D.Exchangeable
public void fillByMultiplying(Access1D<BigDecimal> left, Access1D<BigDecimal> right)
fillByMultiplying
in interface ElementsConsumer<BigDecimal>
public void fillColumn(long row, long col, Access1D<BigDecimal> values)
fillColumn
in interface Mutate2D.Fillable<BigDecimal>
public void fillColumn(long row, long col, BigDecimal value)
fillColumn
in interface Mutate2D.Fillable<BigDecimal>
public void fillColumn(long row, long col, NullaryFunction<BigDecimal> supplier)
fillColumn
in interface Mutate2D.Fillable<BigDecimal>
public void fillDiagonal(long row, long col, BigDecimal value)
fillDiagonal
in interface Mutate2D.Fillable<BigDecimal>
public void fillDiagonal(long row, long col, NullaryFunction<BigDecimal> supplier)
fillDiagonal
in interface Mutate2D.Fillable<BigDecimal>
public void fillOne(long row, long col, Access1D<?> values, long valueIndex)
fillOne
in interface Mutate2D.Fillable<BigDecimal>
public void fillOne(long row, long col, BigDecimal value)
fillOne
in interface Mutate2D.Fillable<BigDecimal>
public void fillOne(long row, long col, NullaryFunction<BigDecimal> supplier)
fillOne
in interface Mutate2D.Fillable<BigDecimal>
public void fillRow(long row, long col, Access1D<BigDecimal> values)
fillRow
in interface Mutate2D.Fillable<BigDecimal>
public void fillRow(long row, long col, BigDecimal value)
fillRow
in interface Mutate2D.Fillable<BigDecimal>
public void fillRow(long row, long col, NullaryFunction<BigDecimal> supplier)
fillRow
in interface Mutate2D.Fillable<BigDecimal>
public boolean generateApplyAndCopyHouseholderColumn(int row, int column, Householder<BigDecimal> destination)
generateApplyAndCopyHouseholderColumn
in interface DecompositionStore<BigDecimal>
public boolean generateApplyAndCopyHouseholderRow(int row, int column, Householder<BigDecimal> destination)
generateApplyAndCopyHouseholderRow
in interface DecompositionStore<BigDecimal>
public final MatrixStore<BigDecimal> get()
get
in interface Supplier<MatrixStore<BigDecimal>>
get
in interface ElementsSupplier<BigDecimal>
get
in interface MatrixStore<BigDecimal>
public BigDecimal get(long aRow, long aCol)
get
in interface Access2D<BigDecimal>
public long indexOfLargestInColumn(long row, long col)
indexOfLargestInColumn
in interface Access2D.IndexOf
row
- First row to investigatecol
- The columnpublic long indexOfLargestInRow(long row, long col)
indexOfLargestInRow
in interface Access2D.IndexOf
row
- The rowcol
- The first column to investigatepublic long indexOfLargestOnDiagonal(long first)
indexOfLargestOnDiagonal
in interface Access2D.IndexOf
first
- The first row/column to investigatepublic boolean isAbsolute(long row, long col)
isAbsolute
in interface Access2D.Elements
isAbsolute
in interface MatrixStore<BigDecimal>
Scalar.isAbsolute()
public boolean isColumnSmall(long row, long col, double comparedTo)
isColumnSmall
in interface Access2D.Elements
NormedVectorSpace.isSmall(double)
public boolean isRowSmall(long row, long col, double comparedTo)
isRowSmall
in interface Access2D.Elements
NormedVectorSpace.isSmall(double)
public boolean isSmall(long row, long col, double comparedTo)
isSmall
in interface Access2D.Elements
isSmall
in interface MatrixStore<BigDecimal>
NormedVectorSpace.isSmall(double)
public void modifyAll(UnaryFunction<BigDecimal> aFunc)
modifyAll
in interface Mutate1D.Modifiable<BigDecimal>
modifyAll
in class BasicArray<BigDecimal>
public void modifyColumn(long row, long col, UnaryFunction<BigDecimal> modifier)
modifyColumn
in interface Mutate2D.Modifiable<BigDecimal>
public void modifyDiagonal(long row, long col, UnaryFunction<BigDecimal> modifier)
modifyDiagonal
in interface Mutate2D.Modifiable<BigDecimal>
public void modifyMatching(Access1D<BigDecimal> left, BinaryFunction<BigDecimal> function)
modifyMatching
in interface Mutate1D.BiModifiable<BigDecimal>
public void modifyMatching(BinaryFunction<BigDecimal> function, Access1D<BigDecimal> right)
modifyMatching
in interface Mutate1D.BiModifiable<BigDecimal>
public void modifyOne(long row, long col, UnaryFunction<BigDecimal> modifier)
modifyOne
in interface Mutate2D.Modifiable<BigDecimal>
public void modifyRow(long row, long col, UnaryFunction<BigDecimal> modifier)
modifyRow
in interface Mutate2D.Modifiable<BigDecimal>
public MatrixStore<BigDecimal> multiply(MatrixStore<BigDecimal> right)
multiply
in interface Operation.Multiplication<MatrixStore<BigDecimal>>
multiply
in interface MatrixStore<BigDecimal>
right
- The multiplicandthis * multiplicand
.public BigDecimal multiplyBoth(Access1D<BigDecimal> leftAndRight)
MatrixStore
multiplyBoth
in interface MatrixStore<BigDecimal>
leftAndRight
- The argument vectorpublic void negateColumn(int column)
negateColumn
in interface NegateColumn
public PhysicalStore.Factory<BigDecimal,BigDenseStore> physical()
physical
in interface ElementsSupplier<BigDecimal>
public final ElementsConsumer<BigDecimal> regionByColumns(int... columns)
regionByColumns
in interface ElementsConsumer<BigDecimal>
public final ElementsConsumer<BigDecimal> regionByLimits(int rowLimit, int columnLimit)
regionByLimits
in interface ElementsConsumer<BigDecimal>
public final ElementsConsumer<BigDecimal> regionByOffsets(int rowOffset, int columnOffset)
regionByOffsets
in interface ElementsConsumer<BigDecimal>
public final ElementsConsumer<BigDecimal> regionByRows(int... rows)
regionByRows
in interface ElementsConsumer<BigDecimal>
public final ElementsConsumer<BigDecimal> regionByTransposing()
regionByTransposing
in interface ElementsConsumer<BigDecimal>
public void rotateRight(int low, int high, double cos, double sin)
rotateRight
in interface RotateRight
public void set(long aRow, long aCol, double aNmbr)
public void set(long aRow, long aCol, Number aNmbr)
public void setToIdentity(int aCol)
setToIdentity
in interface DecompositionStore<BigDecimal>
public Array1D<BigDecimal> sliceColumn(long row, long col)
sliceColumn
in interface Access2D.Sliceable<BigDecimal>
sliceColumn
in interface DecompositionStore<BigDecimal>
sliceColumn
in interface MatrixStore<BigDecimal>
public Array1D<BigDecimal> sliceDiagonal(long row, long col)
sliceDiagonal
in interface Access2D.Sliceable<BigDecimal>
sliceDiagonal
in interface DecompositionStore<BigDecimal>
sliceDiagonal
in interface MatrixStore<BigDecimal>
public Array1D<BigDecimal> sliceRange(long first, long limit)
sliceRange
in interface Access1D.Sliceable<BigDecimal>
sliceRange
in interface DecompositionStore<BigDecimal>
sliceRange
in interface MatrixStore<BigDecimal>
public Array1D<BigDecimal> sliceRow(long row, long col)
sliceRow
in interface Access2D.Sliceable<BigDecimal>
sliceRow
in interface DecompositionStore<BigDecimal>
sliceRow
in interface MatrixStore<BigDecimal>
public void substituteBackwards(Access2D<BigDecimal> body, boolean unitDiagonal, boolean conjugated, boolean hermitian)
PhysicalStore
substituteBackwards
in interface PhysicalStore<BigDecimal>
body
- The equation system body parameters [A]unitDiagonal
- TODOconjugated
- true if the upper/right part of body is actually stored in the lower/left part of the
matrix, and the elements conjugated.hermitian
- TODOpublic void substituteForwards(Access2D<BigDecimal> body, boolean unitDiagonal, boolean conjugated, boolean identity)
PhysicalStore
substituteForwards
in interface PhysicalStore<BigDecimal>
body
- The equation system body parameters [A]unitDiagonal
- true if body has ones on the diagonalconjugated
- TODOpublic void supplyTo(ElementsConsumer<BigDecimal> receiver)
supplyTo
in interface Access2D.Collectable<BigDecimal,ElementsConsumer<BigDecimal>>
supplyTo
in interface MatrixStore<BigDecimal>
public BigScalar toScalar(long row, long column)
toScalar
in interface MatrixStore<BigDecimal>
public final String toString()
toString
in class BasicArray<BigDecimal>
public void transformLeft(Householder<BigDecimal> transformation, int firstColumn)
transformLeft
in interface PhysicalStore<BigDecimal>
public void transformLeft(Rotation<BigDecimal> transformation)
PhysicalStore
As 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.
transformLeft
in interface PhysicalStore<BigDecimal>
PhysicalStore.transformRight(Rotation)
public void transformRight(Householder<BigDecimal> transformation, int firstRow)
transformRight
in interface PhysicalStore<BigDecimal>
public void transformRight(Rotation<BigDecimal> transformation)
PhysicalStore
As 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).
transformRight
in interface PhysicalStore<BigDecimal>
PhysicalStore.transformLeft(Rotation)
public void transformSymmetric(Householder<BigDecimal> transformation)
transformSymmetric
in interface DecompositionStore<BigDecimal>
public MatrixStore<BigDecimal> transpose()
transpose
in interface Stream2D<BigDecimal,MatrixStore<BigDecimal>,ElementsConsumer<BigDecimal>,ElementsSupplier<BigDecimal>>
transpose
in interface ElementsSupplier<BigDecimal>
transpose
in interface MatrixStore<BigDecimal>
public void tred2(BasicArray<BigDecimal> mainDiagonal, BasicArray<BigDecimal> offDiagonal, boolean yesvecs)
tred2
in interface DecompositionStore<BigDecimal>
public void visitColumn(long row, long col, VoidFunction<BigDecimal> visitor)
visitColumn
in interface Access2D.Visitable<BigDecimal>
public void visitDiagonal(long row, long col, VoidFunction<BigDecimal> visitor)
visitDiagonal
in interface Access2D.Visitable<BigDecimal>
public void visitRow(long row, long col, VoidFunction<BigDecimal> visitor)
visitRow
in interface Access2D.Visitable<BigDecimal>
public final long count()
count
in interface Structure1D
public final double doubleValue(long index)
doubleValue
in interface Access1D<N extends Number>
public final void fillAll(N number)
fillAll
in interface Mutate1D.Fillable<N extends Number>
public final void fillAll(NullaryFunction<N> supplier)
fillAll
in interface Mutate1D.Fillable<N extends Number>
public final void fillOne(long index, Access1D<?> values, long valueIndex)
fillOne
in interface Mutate1D.Fillable<N extends Number>
public void fillOne(long index, N value)
fillOne
in interface Mutate1D.Fillable<N extends Number>
public void fillOne(long index, NullaryFunction<N> supplier)
fillOne
in interface Mutate1D.Fillable<N extends Number>
public final void fillRange(long first, long limit, N number)
fillRange
in interface Mutate1D.Fillable<N extends Number>
public final void fillRange(long first, long limit, NullaryFunction<N> supplier)
fillRange
in interface Mutate1D.Fillable<N extends Number>
public final boolean isAbsolute(long index)
isAbsolute
in interface Access1D.Elements
Scalar.isAbsolute()
public final boolean isSmall(long index, double comparedTo)
isSmall
in interface Access1D.Elements
NormedVectorSpace.isSmall(double)
public final void modifyOne(long index, UnaryFunction<N> modifier)
modifyOne
in interface Mutate1D.Modifiable<N extends Number>
public void visitOne(long index, VoidFunction<N> visitor)
visitOne
in interface Access1D.Visitable<N extends Number>
protected final void exchange(long firstA, long firstB, long step, long count)
exchange
in class BasicArray<N extends Number>
protected final void fill(long first, long limit, long step, N value)
fill
in class BasicArray<N extends Number>
protected final void fill(long first, long limit, long step, NullaryFunction<N> supplier)
fill
in class BasicArray<N extends Number>
protected final long indexOfLargest(long first, long limit, long step)
indexOfLargest
in class BasicArray<N extends Number>
protected final boolean isSmall(long first, long limit, long step, double comparedTo)
isSmall
in class BasicArray<N extends Number>
protected final void modify(long first, long limit, long step, Access1D<N> left, BinaryFunction<N> function)
modify
in class BasicArray<N extends Number>
protected final void modify(long first, long limit, long step, BinaryFunction<N> function, Access1D<N> right)
modify
in class BasicArray<N extends Number>
protected final void modify(long first, long limit, long step, UnaryFunction<N> function)
modify
in class BasicArray<N extends Number>
protected final void visit(long first, long limit, long step, VoidFunction<N> visitor)
visit
in class BasicArray<N extends Number>
Copyright © 2018 Optimatika. All rights reserved.