|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.store.SelectedRowsStore<N>
public final class SelectedRowsStore<N extends Number>
A selection (re-ordering) of rows.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ojalgo.matrix.store.MatrixStore |
|---|
MatrixStore.Builder<N extends Number> |
| Constructor Summary | |
|---|---|
SelectedRowsStore(MatrixStore<N> aBase,
int... someRows)
|
|
| Method Summary | |
|---|---|
N |
aggregateAll(ChainableAggregator aVisitor)
|
N |
aggregateAll(CollectableAggregator 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)
|
boolean |
equals(MatrixStore<N> aStore,
NumberContext aCntxt)
|
boolean |
equals(Object someObj)
|
N |
get(int aRow,
int aCol)
|
int |
getColDim()
|
PhysicalStore.Factory<N> |
getFactory()
|
int |
getMinDim()
|
N |
getNumber(int aRow,
int aCol)
Deprecated. Use get(int,int) instead |
int |
getRowDim()
|
int |
hashCode()
|
boolean |
isAbsolute(int aRow,
int aCol)
|
boolean |
isLowerLeftShaded()
The lower (left) triangle is shaded leaving an upper Hessenberg matrix. |
boolean |
isReal(int aRow,
int aCol)
|
boolean |
isShaded()
Either the lower (left) or the upper (right) triangles are shaded. |
boolean |
isUpperRightShaded()
The upper (right) triangle is shaded leaving a lower Hessenberg matrix. |
boolean |
isZero(int aRow,
int aCol)
|
MatrixStore<N> |
multiplyLeft(MatrixStore<N> aStore)
|
MatrixStore<N> |
multiplyRight(MatrixStore<N> aStore)
|
int |
size()
|
double[][] |
toRawCopy()
|
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 SelectedRowsStore(MatrixStore<N> aBase,
int... someRows)
| Method Detail |
|---|
public double doubleValue(int aRow,
int aCol)
Access2D.doubleValue(int, int)
public N getNumber(int aRow,
int aCol)
get(int,int) instead
public N get(int aRow,
int aCol)
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 Objectpublic N aggregateAll(ChainableAggregator aVisitor)
aggregateAll in interface MatrixStore<N extends Number>public N aggregateAll(CollectableAggregator 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 Objectpublic final int getColDim()
public int getMinDim()
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 final boolean isLowerLeftShaded()
MatrixStoreThe lower (left) triangle is shaded leaving an upper Hessenberg matrix.
isLowerLeftShaded in interface MatrixStore<N extends Number>MatrixStore.isUpperRightShaded(),
MatrixStore.isShaded(),
PhysicalStore.shadeLowerLeft(),
PhysicalStore.unshade()
public boolean isReal(int aRow,
int aCol)
isReal in interface MatrixStore<N extends Number>Scalar.isReal()public final boolean isShaded()
MatrixStoreEither the lower (left) or the upper (right) triangles are shaded.
Shading part of a MatrixStore causes that
part to be ignored (as if it had zero valued elements) when doing matrix
multiplication. It is possible to shade part of a
PhysicalStore even though the shaded
elements are not actually zero valued. Calling doubleValue(i, j),
getNumber(i, j) or toScalar(i, j) will return the actual
stored value.
isShaded in interface MatrixStore<N extends Number>MatrixStore.isLowerLeftShaded(),
MatrixStore.isUpperRightShaded(),
PhysicalStore.unshade()public final boolean isUpperRightShaded()
MatrixStoreThe upper (right) triangle is shaded leaving a lower Hessenberg matrix.
isUpperRightShaded in interface MatrixStore<N extends Number>MatrixStore.isLowerLeftShaded(),
MatrixStore.isShaded(),
PhysicalStore.shadeUpperRight(),
PhysicalStore.unshade()
public boolean isZero(int aRow,
int aCol)
isZero in interface MatrixStore<N extends Number>Scalar.isZero()public MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
multiplyLeft in interface MatrixStore<N extends Number>MatrixStore.multiplyLeft(org.ojalgo.matrix.store.MatrixStore)public int size()
public double[][] toRawCopy()
toRawCopy in interface MatrixStore<N extends Number>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 | ||||||||