|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ojalgo.matrix.store.RawStore<N>
public final class RawStore<N extends Number>
RawStore
| Method Summary | |
|---|---|
LUDecomposition.Pivot |
computeLU()
|
double |
doubleValue(int aRow,
int aCol)
|
int |
getColDim()
|
int |
getMinDim()
|
N |
getNumber(int aRow,
int aCol)
|
PhysicalFactory<N> |
getPhysicalFactory()
|
int |
getRowDim()
|
boolean |
isLowerLeftShaded()
The lower (left) triangle is shaded leaving an upper Hessenberg matrix. |
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. |
static RawStore<BigDecimal> |
makeBig(double[][] aRaw)
|
static RawStore<ComplexNumber> |
makeComplex(double[][] aRaw)
|
static RawStore<Double> |
makePrimitive(double[][] aRaw)
|
N |
multiplyBothSides(MatrixStore<N> aStore)
Calculates [aStore]T[this][aStore] as in a quadratic function [x]T[Q][x]. |
MatrixStore<N> |
multiplyLeft(MatrixStore<N> aStore)
|
MatrixStore<N> |
multiplyRight(MatrixStore<N> aStore)
|
void |
substituteBackwards(MatrixStore<N> aBody,
boolean assumeOne)
|
void |
substituteForwards(MatrixStore<N> aBody,
boolean assumeOne)
|
PhysicalStore<N> |
toPhysicalStore()
May (probably will) return the same instance with every call. |
Scalar<N> |
toScalar(int aRow,
int aCol)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.ojalgo.matrix.store.MatrixStore |
|---|
getMinDim, getPhysicalFactory, isShaded |
| Methods inherited from interface org.ojalgo.matrix.store.MatrixStore |
|---|
getMinDim, getPhysicalFactory, isShaded |
| Method Detail |
|---|
public static RawStore<BigDecimal> makeBig(double[][] aRaw)
public static RawStore<ComplexNumber> makeComplex(double[][] aRaw)
public static RawStore<Double> makePrimitive(double[][] aRaw)
public LUDecomposition.Pivot computeLU()
computeLU in interface LUDecomposition.LUStore<N extends Number>LUDecomposition.LUStore.computeLU()
public double doubleValue(int aRow,
int aCol)
doubleValue in interface MatrixStore<N extends Number>public int getColDim()
getColDim in interface MatrixStore<N extends Number>
public N getNumber(int aRow,
int aCol)
getNumber in interface MatrixStore<N extends Number>public int getRowDim()
getRowDim in interface MatrixStore<N extends Number>public 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 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 N multiplyBothSides(MatrixStore<N> aStore)
MatrixStore
multiplyBothSides in interface MatrixStore<N extends Number>public MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
multiplyLeft in interface MatrixStore<N extends Number>public MatrixStore<N> multiplyRight(MatrixStore<N> aStore)
multiplyRight in interface MatrixStore<N extends Number>
public void substituteBackwards(MatrixStore<N> aBody,
boolean assumeOne)
public void substituteForwards(MatrixStore<N> aBody,
boolean assumeOne)
public PhysicalStore<N> toPhysicalStore()
MatrixStorePhysicalStore instances are mutable.
If you plan to modify it you should make a copy first. Depending on what
you do with the PhysicalStore you may
have to unshade it.
toPhysicalStore in interface MatrixStore<N extends Number>PhysicalStore representation
of this MatrixStore.PhysicalStore.copy(),
PhysicalStore.unshade()
public Scalar<N> toScalar(int aRow,
int aCol)
toScalar in interface MatrixStore<N extends Number>public final PhysicalFactory<N> getPhysicalFactory()
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.
MatrixStore.isLowerLeftShaded(),
MatrixStore.isUpperRightShaded(),
PhysicalStore.unshade()public final int getMinDim()
getMinDim in interface MatrixStore<N extends Number>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||