|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.ojalgo.matrix.store.LeftRightStore<N>
public final class LeftRightStore<N extends Number>
A merger of two MatrixStore instances by placing one store to the right of the other. The two matrices must have the same number of rows. The rows of the two matrices are logically merged to form new longer rows.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ojalgo.matrix.store.MatrixStore |
|---|
MatrixStore.Builder<N extends Number> |
| Constructor Summary | |
|---|---|
LeftRightStore(MatrixStore<N> aBase,
MatrixStore<N> aRightStore)
|
|
| Method Summary | |
|---|---|
N |
aggregateAll(Aggregator aVisitor)
|
MatrixStore.Builder<N> |
builder()
|
PhysicalStore<N> |
conjugate()
Each call must produce a new instance. |
PhysicalStore<N> |
copy()
Each call must produce a new instance. |
double |
doubleValue(int anInd)
|
double |
doubleValue(int aRow,
int aCol)
Extracts one element of this matrix as a double. |
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
boolean |
equals(Object someObj)
|
PhysicalStore.Factory<N,?> |
factory()
|
N |
get(int anInd)
|
N |
get(int aRow,
int aCol)
|
int |
getColDim()
The size of this structure in the column-direction/dimension |
PhysicalStore.Factory<N,?> |
getFactory()
Deprecated. v33 Use factory() instead |
int |
getMinDim()
|
int |
getRowDim()
The size of this structure in the row-direction/dimension |
int |
hashCode()
|
boolean |
isAbsolute(int aRow,
int aCol)
|
boolean |
isLowerLeftShaded()
The entries below (left of) the first subdiagonal are zero - effectively an upper Hessenberg matrix. |
boolean |
isPositive(int aRow,
int aCol)
|
boolean |
isReal(int aRow,
int aCol)
|
boolean |
isUpperRightShaded()
The entries above (right of) the first superdiagonal are zero - effectively a lower Hessenberg matrix. |
boolean |
isZero(int aRow,
int aCol)
|
Iterator<N> |
iterator()
|
MatrixStore<N> |
multiplyLeft(MatrixStore<N> aStore)
|
MatrixStore<N> |
multiplyRight(MatrixStore<N> aStore)
|
int |
size()
|
Scalar<N> |
toScalar(int aRow,
int aCol)
|
String |
toString()
|
PhysicalStore<N> |
transpose()
Each call must produce a new instance. |
void |
visitAll(AggregatorFunction<N> aVisitor)
|
void |
visitColumn(int aRow,
int aCol,
AggregatorFunction<N> aVisitor)
|
void |
visitDiagonal(int aRow,
int aCol,
AggregatorFunction<N> aVisitor)
|
void |
visitRow(int aRow,
int aCol,
AggregatorFunction<N> aVisitor)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LeftRightStore(MatrixStore<N> aBase,
MatrixStore<N> aRightStore)
| Method Detail |
|---|
public double doubleValue(int aRow,
int aCol)
aRow - A row index.aCol - A column index.
Primitive2D.doubleValue(int, int)
public N get(int aRow,
int aCol)
public boolean isLowerLeftShaded()
MatrixStore
MatrixStore.isUpperRightShaded()public boolean isUpperRightShaded()
MatrixStore
MatrixStore.isLowerLeftShaded()public MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
multiplyLeft in interface MatrixStore<N extends Number>MatrixStore.multiplyLeft(org.ojalgo.matrix.store.MatrixStore)public MatrixStore<N> multiplyRight(MatrixStore<N> aStore)
multiplyRight in interface MatrixStore<N extends Number>MatrixStore.multiplyRight(org.ojalgo.matrix.store.MatrixStore)
public Scalar<N> toScalar(int aRow,
int aCol)
public final PhysicalStore.Factory<N,?> factory()
@Deprecated public final PhysicalStore.Factory<N,?> getFactory()
factory() instead
public N aggregateAll(Aggregator aVisitor)
aggregateAll in interface MatrixStore<N extends Number>public final MatrixStore.Builder<N> builder()
builder in interface MatrixStore<N extends Number>public PhysicalStore<N> conjugate()
MatrixStore
conjugate in interface MatrixStore<N extends Number>public PhysicalStore<N> copy()
MatrixStore
copy in interface MatrixStore<N extends Number>public double doubleValue(int anInd)
public final boolean equals(MatrixStore<N> aStore,
NumberContext aCntxt)
equals in interface MatrixStore<N extends Number>public final boolean equals(Object someObj)
equals in class Objectpublic N get(int anInd)
public final int getColDim()
public int getMinDim()
getMinDim in interface MatrixStore<N extends Number>public final int getRowDim()
public final int hashCode()
hashCode in class Object
public boolean isAbsolute(int aRow,
int aCol)
isAbsolute in interface MatrixStore<N extends Number>Scalar.isAbsolute()
public boolean isPositive(int aRow,
int aCol)
isPositive in interface MatrixStore<N extends Number>Scalar.isPositive()
public boolean isReal(int aRow,
int aCol)
isReal in interface MatrixStore<N extends Number>Scalar.isReal()
public boolean isZero(int aRow,
int aCol)
isZero in interface MatrixStore<N extends Number>Scalar.isZero()public final Iterator<N> iterator()
public int size()
public final String toString()
toString in class Objectpublic PhysicalStore<N> transpose()
MatrixStore
transpose in interface MatrixStore<N extends Number>public void visitAll(AggregatorFunction<N> aVisitor)
visitAll in interface MatrixStore<N extends Number>
public void visitColumn(int aRow,
int aCol,
AggregatorFunction<N> aVisitor)
visitColumn in interface MatrixStore<N extends Number>
public void visitDiagonal(int aRow,
int aCol,
AggregatorFunction<N> aVisitor)
visitDiagonal in interface MatrixStore<N extends Number>
public void visitRow(int aRow,
int aCol,
AggregatorFunction<N> aVisitor)
visitRow in interface MatrixStore<N extends Number>
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||