|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ojalgo.matrix.store.MergedColumnsStore<N>
public final class MergedColumnsStore<N extends Number>
A merger of two MatrixStore instances by placing one store below the other. The two matrices must have the same number of columns. The columns of the two matrices are logically merged to form new longer columns.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.ojalgo.matrix.store.MatrixStore |
---|
MatrixStore.Builder<N extends Number> |
Constructor Summary | |
---|---|
MergedColumnsStore(MatrixStore<N> aBase,
MatrixStore<N> aLowerStore)
|
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 aRow,
int aCol)
Extracts one element of this matrix as a double. |
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
boolean |
equals(Object someObj)
|
N |
get(int aRow,
int aCol)
|
int |
getColDim()
The size of this structure in the column-direction/dimension |
PhysicalStore.Factory<N> |
getFactory()
|
int |
getMinDim()
|
int |
getRowDim()
The size of this structure in the row-direction/dimension |
int |
hashCode()
|
boolean |
isAbsolute(int aRow,
int aCol)
|
boolean |
isReal(int aRow,
int aCol)
|
boolean |
isZero(int aRow,
int aCol)
|
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 MergedColumnsStore(MatrixStore<N> aBase, MatrixStore<N> aLowerStore)
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 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> getFactory()
public final String toString()
toString
in class Object
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 final boolean equals(MatrixStore<N> aStore, NumberContext aCntxt)
equals
in interface MatrixStore<N extends Number>
public final boolean equals(Object someObj)
equals
in class Object
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 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 int size()
public 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 |