|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.store.IdentityStore<N>
public final class IdentityStore<N extends Number>
IdentityStore
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.ojalgo.matrix.store.MatrixStore |
|---|
MatrixStore.Builder<N extends Number> |
| Constructor Summary | |
|---|---|
IdentityStore(PhysicalStore.Factory<N> aFactory,
int aDim)
|
|
| 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. v29 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)
|
static IdentityStore<BigDecimal> |
makeBig(int aDim)
|
static IdentityStore<ComplexNumber> |
makeComplex(int aDim)
|
static IdentityStore<Double> |
makePrimitive(int aDim)
|
PhysicalStore<N> |
multiplyLeft(MatrixStore<N> aStore)
|
PhysicalStore<N> |
multiplyRight(MatrixStore<N> aStore)
|
int |
size()
|
double[][] |
toRawCopy()
|
Scalar<N> |
toScalar(int aRow,
int aCol)
|
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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdentityStore(PhysicalStore.Factory<N> aFactory,
int aDim)
| Method Detail |
|---|
public static IdentityStore<BigDecimal> makeBig(int aDim)
public static IdentityStore<ComplexNumber> makeComplex(int aDim)
public static IdentityStore<Double> makePrimitive(int aDim)
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 aRow,
int aCol)
public N get(int aRow,
int aCol)
@Deprecated
public N getNumber(int aRow,
int aCol)
get(int,int) instead
public PhysicalStore<N> multiplyLeft(MatrixStore<N> aStore)
multiplyLeft in interface MatrixStore<N extends Number>MatrixStore.multiplyLeft(org.ojalgo.matrix.store.MatrixStore)public PhysicalStore<N> multiplyRight(MatrixStore<N> aStore)
multiplyRight in interface MatrixStore<N extends Number>MatrixStore.multiplyRight(org.ojalgo.matrix.store.MatrixStore)public double[][] toRawCopy()
toRawCopy in interface MatrixStore<N extends Number>
public Scalar<N> toScalar(int aRow,
int aCol)
public PhysicalStore<N> transpose()
MatrixStore
transpose in interface MatrixStore<N extends Number>public final PhysicalStore.Factory<N> getFactory()
public 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 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 int size()
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 | ||||||||