GenericDenseStore
instead@Deprecated public final class ComplexDenseStore extends ComplexArray implements PhysicalStore<ComplexNumber>, DecompositionStore<ComplexNumber>
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<ComplexNumber,ComplexDenseStore> |
FACTORY
Deprecated.
v45 Use
GenericDenseStore.COMPLEX 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) |
ComplexNumber |
aggregateAll(Aggregator aggregator)
Deprecated.
|
void |
applyCholesky(int iterationPoint,
BasicArray<ComplexNumber> multipliers)
Deprecated.
Cholesky transformations
|
void |
applyLDL(int iterationPoint,
BasicArray<ComplexNumber> multipliers)
Deprecated.
LDL transformations
|
void |
applyLU(int iterationPoint,
BasicArray<ComplexNumber> multipliers)
Deprecated.
LU transformations
|
Array1D<ComplexNumber> |
asList()
Deprecated.
|
Array1D<ComplexNumber> |
computeInPlaceSchur(PhysicalStore<ComplexNumber> transformationCollector,
boolean eigenvalue)
Deprecated.
|
MatrixStore<ComplexNumber> |
conjugate()
Deprecated.
Returns the conjugate transpose of this matrix.
|
ComplexDenseStore |
copy()
Deprecated.
Each call must produce a new instance.
|
long |
count() |
long |
countColumns()
Deprecated.
|
long |
countRows()
Deprecated.
|
void |
divideAndCopyColumn(int row,
int column,
BasicArray<ComplexNumber> 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<ComplexNumber> left,
Access1D<ComplexNumber> right)
Deprecated.
|
void |
fillColumn(long row,
long col,
Access1D<ComplexNumber> values)
Deprecated.
|
void |
fillColumn(long row,
long col,
ComplexNumber value)
Deprecated.
|
void |
fillColumn(long row,
long col,
NullaryFunction<ComplexNumber> supplier)
Deprecated.
|
void |
fillDiagonal(long row,
long col,
ComplexNumber value)
Deprecated.
|
void |
fillDiagonal(long row,
long col,
NullaryFunction<ComplexNumber> 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,
ComplexNumber value)
Deprecated.
|
void |
fillOne(long row,
long col,
NullaryFunction<ComplexNumber> 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<ComplexNumber> values)
Deprecated.
|
void |
fillRow(long row,
long col,
ComplexNumber value)
Deprecated.
|
void |
fillRow(long row,
long col,
NullaryFunction<ComplexNumber> supplier)
Deprecated.
|
boolean |
generateApplyAndCopyHouseholderColumn(int row,
int column,
Householder<ComplexNumber> destination)
Deprecated.
|
boolean |
generateApplyAndCopyHouseholderRow(int row,
int column,
Householder<ComplexNumber> destination)
Deprecated.
|
MatrixStore<ComplexNumber> |
get()
Deprecated.
|
N |
get(long index) |
ComplexNumber |
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<ComplexNumber> aFunc)
Deprecated.
|
void |
modifyColumn(long row,
long col,
UnaryFunction<ComplexNumber> modifier)
Deprecated.
|
void |
modifyDiagonal(long row,
long col,
UnaryFunction<ComplexNumber> modifier)
Deprecated.
|
void |
modifyMatching(Access1D<ComplexNumber> left,
BinaryFunction<ComplexNumber> function)
Deprecated.
|
void |
modifyMatching(BinaryFunction<ComplexNumber> function,
Access1D<ComplexNumber> right)
Deprecated.
|
void |
modifyOne(long row,
long col,
UnaryFunction<ComplexNumber> modifier)
Deprecated.
|
void |
modifyOne(long index,
UnaryFunction<N> modifier) |
void |
modifyRow(long row,
long col,
UnaryFunction<ComplexNumber> modifier)
Deprecated.
|
MatrixStore<ComplexNumber> |
multiply(MatrixStore<ComplexNumber> right)
Deprecated.
|
ComplexNumber |
multiplyBoth(Access1D<ComplexNumber> leftAndRight)
Deprecated.
Assumes [leftAndRight] is a vector and will calulate [leftAndRight]H[this][leftAndRight]
|
void |
negateColumn(int column)
Deprecated.
|
PhysicalStore.Factory<ComplexNumber,ComplexDenseStore> |
physical()
Deprecated.
|
ElementsConsumer<ComplexNumber> |
regionByColumns(int... columns)
Deprecated.
|
ElementsConsumer<ComplexNumber> |
regionByLimits(int rowLimit,
int columnLimit)
Deprecated.
|
ElementsConsumer<ComplexNumber> |
regionByOffsets(int rowOffset,
int columnOffset)
Deprecated.
|
ElementsConsumer<ComplexNumber> |
regionByRows(int... rows)
Deprecated.
|
ElementsConsumer<ComplexNumber> |
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<ComplexNumber> |
sliceColumn(long row,
long col)
Deprecated.
|
Array1D<ComplexNumber> |
sliceDiagonal(long row,
long col)
Deprecated.
|
Array1D<ComplexNumber> |
sliceRange(long first,
long limit)
Deprecated.
|
Array1D<ComplexNumber> |
sliceRow(long row,
long col)
Deprecated.
|
void |
substituteBackwards(Access2D<ComplexNumber> 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<ComplexNumber> 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<ComplexNumber> receiver)
Deprecated.
|
Scalar<ComplexNumber> |
toScalar(long row,
long column)
Deprecated.
|
String |
toString()
Deprecated.
|
void |
transformLeft(Householder<ComplexNumber> transformation,
int firstColumn)
Deprecated.
|
void |
transformLeft(Rotation<ComplexNumber> transformation)
Deprecated.
As in
MatrixStore.premultiply(Access1D) where the left/parameter matrix is a plane rotation. |
void |
transformRight(Householder<ComplexNumber> transformation,
int firstRow)
Deprecated.
|
void |
transformRight(Rotation<ComplexNumber> transformation)
Deprecated.
As in
MatrixStore.multiply(MatrixStore) where the right/parameter matrix is a plane rotation. |
void |
transformSymmetric(Householder<ComplexNumber> transformation)
Deprecated.
|
MatrixStore<ComplexNumber> |
transpose()
Deprecated.
|
void |
tred2(BasicArray<ComplexNumber> mainDiagonal,
BasicArray<ComplexNumber> offDiagonal,
boolean yesvecs)
Deprecated.
|
protected void |
visit(long first,
long limit,
long step,
VoidFunction<N> visitor) |
void |
visitColumn(long row,
long col,
VoidFunction<ComplexNumber> visitor)
Deprecated.
|
void |
visitDiagonal(long row,
long col,
VoidFunction<ComplexNumber> visitor)
Deprecated.
|
void |
visitOne(long index,
VoidFunction<N> visitor) |
void |
visitRow(long row,
long col,
VoidFunction<ComplexNumber> visitor)
Deprecated.
|
make, wrap
add, add, axpy, indexOfLargest, isAbsolute, isSmall, sortAscending, sortDescending
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<ComplexNumber,ComplexDenseStore> FACTORY
GenericDenseStore.COMPLEX
insteadpublic void accept(Access2D<?> supplied)
accept
in interface Consumer<Access2D<?>>
accept
in interface Mutate2D.Receiver<ComplexNumber>
public void add(long row, long col, double addend)
public void add(long row, long col, Number addend)
public ComplexNumber aggregateAll(Aggregator aggregator)
aggregateAll
in interface Access1D.Aggregatable<ComplexNumber>
aggregateAll
in interface MatrixStore<ComplexNumber>
public void applyCholesky(int iterationPoint, BasicArray<ComplexNumber> multipliers)
DecompositionStore
applyCholesky
in interface DecompositionStore<ComplexNumber>
public void applyLDL(int iterationPoint, BasicArray<ComplexNumber> multipliers)
DecompositionStore
applyLDL
in interface DecompositionStore<ComplexNumber>
public void applyLU(int iterationPoint, BasicArray<ComplexNumber> multipliers)
DecompositionStore
applyLU
in interface DecompositionStore<ComplexNumber>
public Array1D<ComplexNumber> asList()
asList
in interface PhysicalStore<ComplexNumber>
public Array1D<ComplexNumber> computeInPlaceSchur(PhysicalStore<ComplexNumber> transformationCollector, boolean eigenvalue)
computeInPlaceSchur
in interface DecompositionStore<ComplexNumber>
public MatrixStore<ComplexNumber> conjugate()
MatrixStore
conjugate
in interface VectorSpace<MatrixStore<ComplexNumber>,ComplexNumber>
conjugate
in interface MatrixStore<ComplexNumber>
VectorSpace.conjugate()
public ComplexDenseStore copy()
MatrixStore
copy
in interface MatrixStore<ComplexNumber>
public long countColumns()
countColumns
in interface Structure2D
public long countRows()
countRows
in interface Structure2D
public void divideAndCopyColumn(int row, int column, BasicArray<ComplexNumber> destination)
divideAndCopyColumn
in interface DecompositionStore<ComplexNumber>
public double doubleValue(long aRow, long aCol)
Access2D
doubleValue
in interface Access2D<ComplexNumber>
doubleValue
in interface MatrixStore<ComplexNumber>
aRow
- A row index.aCol
- A column index.public boolean equals(Object anObj)
equals
in class ComplexArray
public void exchangeColumns(long colA, long colB)
exchangeColumns
in interface Mutate2D.Exchangeable
public void exchangeHermitian(int indexA, int indexB)
exchangeHermitian
in interface DecompositionStore<ComplexNumber>
public void exchangeRows(long rowA, long rowB)
exchangeRows
in interface Mutate2D.Exchangeable
public void fillByMultiplying(Access1D<ComplexNumber> left, Access1D<ComplexNumber> right)
fillByMultiplying
in interface ElementsConsumer<ComplexNumber>
public void fillColumn(long row, long col, Access1D<ComplexNumber> values)
fillColumn
in interface Mutate2D.Fillable<ComplexNumber>
public void fillColumn(long row, long col, ComplexNumber value)
fillColumn
in interface Mutate2D.Fillable<ComplexNumber>
public void fillColumn(long row, long col, NullaryFunction<ComplexNumber> supplier)
fillColumn
in interface Mutate2D.Fillable<ComplexNumber>
public void fillDiagonal(long row, long col, ComplexNumber value)
fillDiagonal
in interface Mutate2D.Fillable<ComplexNumber>
public void fillDiagonal(long row, long col, NullaryFunction<ComplexNumber> supplier)
fillDiagonal
in interface Mutate2D.Fillable<ComplexNumber>
public void fillOne(long row, long col, Access1D<?> values, long valueIndex)
fillOne
in interface Mutate2D.Fillable<ComplexNumber>
public void fillOne(long row, long col, ComplexNumber value)
fillOne
in interface Mutate2D.Fillable<ComplexNumber>
public void fillOne(long row, long col, NullaryFunction<ComplexNumber> supplier)
fillOne
in interface Mutate2D.Fillable<ComplexNumber>
public void fillRow(long row, long col, Access1D<ComplexNumber> values)
fillRow
in interface Mutate2D.Fillable<ComplexNumber>
public void fillRow(long row, long col, ComplexNumber value)
fillRow
in interface Mutate2D.Fillable<ComplexNumber>
public void fillRow(long row, long col, NullaryFunction<ComplexNumber> supplier)
fillRow
in interface Mutate2D.Fillable<ComplexNumber>
public boolean generateApplyAndCopyHouseholderColumn(int row, int column, Householder<ComplexNumber> destination)
generateApplyAndCopyHouseholderColumn
in interface DecompositionStore<ComplexNumber>
public boolean generateApplyAndCopyHouseholderRow(int row, int column, Householder<ComplexNumber> destination)
generateApplyAndCopyHouseholderRow
in interface DecompositionStore<ComplexNumber>
public final MatrixStore<ComplexNumber> get()
get
in interface Supplier<MatrixStore<ComplexNumber>>
get
in interface ElementsSupplier<ComplexNumber>
get
in interface MatrixStore<ComplexNumber>
public ComplexNumber get(long aRow, long aCol)
get
in interface Access2D<ComplexNumber>
public int hashCode()
hashCode
in class ComplexArray
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<ComplexNumber>
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<ComplexNumber>
NormedVectorSpace.isSmall(double)
public void modifyAll(UnaryFunction<ComplexNumber> aFunc)
modifyAll
in interface Mutate1D.Modifiable<ComplexNumber>
modifyAll
in class BasicArray<ComplexNumber>
public void modifyColumn(long row, long col, UnaryFunction<ComplexNumber> modifier)
modifyColumn
in interface Mutate2D.Modifiable<ComplexNumber>
public void modifyDiagonal(long row, long col, UnaryFunction<ComplexNumber> modifier)
modifyDiagonal
in interface Mutate2D.Modifiable<ComplexNumber>
public void modifyMatching(Access1D<ComplexNumber> left, BinaryFunction<ComplexNumber> function)
modifyMatching
in interface Mutate1D.BiModifiable<ComplexNumber>
public void modifyMatching(BinaryFunction<ComplexNumber> function, Access1D<ComplexNumber> right)
modifyMatching
in interface Mutate1D.BiModifiable<ComplexNumber>
public void modifyOne(long row, long col, UnaryFunction<ComplexNumber> modifier)
modifyOne
in interface Mutate2D.Modifiable<ComplexNumber>
public void modifyRow(long row, long col, UnaryFunction<ComplexNumber> modifier)
modifyRow
in interface Mutate2D.Modifiable<ComplexNumber>
public MatrixStore<ComplexNumber> multiply(MatrixStore<ComplexNumber> right)
multiply
in interface Operation.Multiplication<MatrixStore<ComplexNumber>>
multiply
in interface MatrixStore<ComplexNumber>
right
- The multiplicandthis * multiplicand
.public ComplexNumber multiplyBoth(Access1D<ComplexNumber> leftAndRight)
MatrixStore
multiplyBoth
in interface MatrixStore<ComplexNumber>
leftAndRight
- The argument vectorpublic void negateColumn(int column)
negateColumn
in interface NegateColumn
public PhysicalStore.Factory<ComplexNumber,ComplexDenseStore> physical()
physical
in interface ElementsSupplier<ComplexNumber>
public final ElementsConsumer<ComplexNumber> regionByColumns(int... columns)
regionByColumns
in interface ElementsConsumer<ComplexNumber>
public final ElementsConsumer<ComplexNumber> regionByLimits(int rowLimit, int columnLimit)
regionByLimits
in interface ElementsConsumer<ComplexNumber>
public final ElementsConsumer<ComplexNumber> regionByOffsets(int rowOffset, int columnOffset)
regionByOffsets
in interface ElementsConsumer<ComplexNumber>
public final ElementsConsumer<ComplexNumber> regionByRows(int... rows)
regionByRows
in interface ElementsConsumer<ComplexNumber>
public final ElementsConsumer<ComplexNumber> regionByTransposing()
regionByTransposing
in interface ElementsConsumer<ComplexNumber>
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<ComplexNumber>
public Array1D<ComplexNumber> sliceColumn(long row, long col)
sliceColumn
in interface Access2D.Sliceable<ComplexNumber>
sliceColumn
in interface DecompositionStore<ComplexNumber>
sliceColumn
in interface MatrixStore<ComplexNumber>
public Array1D<ComplexNumber> sliceDiagonal(long row, long col)
sliceDiagonal
in interface Access2D.Sliceable<ComplexNumber>
sliceDiagonal
in interface DecompositionStore<ComplexNumber>
sliceDiagonal
in interface MatrixStore<ComplexNumber>
public Array1D<ComplexNumber> sliceRange(long first, long limit)
sliceRange
in interface Access1D.Sliceable<ComplexNumber>
sliceRange
in interface DecompositionStore<ComplexNumber>
sliceRange
in interface MatrixStore<ComplexNumber>
public Array1D<ComplexNumber> sliceRow(long row, long col)
sliceRow
in interface Access2D.Sliceable<ComplexNumber>
sliceRow
in interface DecompositionStore<ComplexNumber>
sliceRow
in interface MatrixStore<ComplexNumber>
public void substituteBackwards(Access2D<ComplexNumber> body, boolean unitDiagonal, boolean conjugated, boolean hermitian)
PhysicalStore
substituteBackwards
in interface PhysicalStore<ComplexNumber>
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<ComplexNumber> body, boolean unitDiagonal, boolean conjugated, boolean identity)
PhysicalStore
substituteForwards
in interface PhysicalStore<ComplexNumber>
body
- The equation system body parameters [A]unitDiagonal
- true if body has ones on the diagonalconjugated
- TODOpublic void supplyTo(ElementsConsumer<ComplexNumber> receiver)
supplyTo
in interface Access2D.Collectable<ComplexNumber,ElementsConsumer<ComplexNumber>>
supplyTo
in interface MatrixStore<ComplexNumber>
public Scalar<ComplexNumber> toScalar(long row, long column)
toScalar
in interface MatrixStore<ComplexNumber>
public final String toString()
toString
in class BasicArray<ComplexNumber>
public void transformLeft(Householder<ComplexNumber> transformation, int firstColumn)
transformLeft
in interface PhysicalStore<ComplexNumber>
public void transformLeft(Rotation<ComplexNumber> 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<ComplexNumber>
PhysicalStore.transformRight(Rotation)
public void transformRight(Householder<ComplexNumber> transformation, int firstRow)
transformRight
in interface PhysicalStore<ComplexNumber>
public void transformRight(Rotation<ComplexNumber> 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<ComplexNumber>
PhysicalStore.transformLeft(Rotation)
public void transformSymmetric(Householder<ComplexNumber> transformation)
transformSymmetric
in interface DecompositionStore<ComplexNumber>
public MatrixStore<ComplexNumber> transpose()
transpose
in interface Stream2D<ComplexNumber,MatrixStore<ComplexNumber>,ElementsConsumer<ComplexNumber>,ElementsSupplier<ComplexNumber>>
transpose
in interface ElementsSupplier<ComplexNumber>
transpose
in interface MatrixStore<ComplexNumber>
public void tred2(BasicArray<ComplexNumber> mainDiagonal, BasicArray<ComplexNumber> offDiagonal, boolean yesvecs)
tred2
in interface DecompositionStore<ComplexNumber>
public void visitColumn(long row, long col, VoidFunction<ComplexNumber> visitor)
visitColumn
in interface Access2D.Visitable<ComplexNumber>
public void visitDiagonal(long row, long col, VoidFunction<ComplexNumber> visitor)
visitDiagonal
in interface Access2D.Visitable<ComplexNumber>
public void visitRow(long row, long col, VoidFunction<ComplexNumber> visitor)
visitRow
in interface Access2D.Visitable<ComplexNumber>
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.