org.ojalgo.matrix.store
Class RawStore<N extends Number>

java.lang.Object
  extended by org.ojalgo.matrix.store.RawStore<N>
All Implemented Interfaces:
Serializable, MatrixStore<N>

Deprecated. v28 Use JamaMatrix or some other MatrixStore instead.

@Deprecated
public final class RawStore<N extends Number>
extends Object

RawStore

Author:
apete
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ojalgo.matrix.store.MatrixStore
MatrixStore.Builder<N extends Number>
 
Constructor Summary
RawStore(PhysicalStore.Factory<N> aFactory, double[][] aRaw)
          Deprecated.  
 
Method Summary
 PhysicalStore<N> conjugate()
          Each call must produce a new instance.
 PhysicalStore<N> copy()
          Deprecated. Each call must produce a new instance.
 double doubleValue(int aRow, int aCol)
          Deprecated.  
 boolean equals(MatrixStore<N> aStore, NumberContext aCntxt)
           
 boolean equals(Object someObj)
           
 int getColDim()
           
 PhysicalStore.Factory<N> getFactory()
           
 int getMinDim()
           
 N getNumber(int aRow, int aCol)
          Deprecated.  
 int getRowDim()
           
 int hashCode()
           
 boolean isAbsolute(int aRow, int aCol)
           
 boolean isLowerLeftShaded()
          Deprecated.  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()
          Deprecated.  The upper (right) triangle is shaded leaving a lower Hessenberg matrix.
 boolean isZero(int aRow, int aCol)
           
static RawStore<BigDecimal> makeBig(double[][] aRaw)
          Deprecated.  
static RawStore<ComplexNumber> makeComplex(double[][] aRaw)
          Deprecated.  
static RawStore<Double> makePrimitive(double[][] aRaw)
          Deprecated.  
 MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
           
 MatrixStore<N> multiplyRight(MatrixStore<N> aStore)
           
 int size()
           
 Scalar<N> toScalar(int aRow, int aCol)
          Deprecated.  
 PhysicalStore<N> transpose()
          Each call must produce a new instance.
 void visitAll(AggregatorFunction<N> aVisitor)
          Deprecated.  
 void visitColumn(int aRow, int aCol, AggregatorFunction<N> aVisitor)
          Deprecated.  
 void visitDiagonal(int aRow, int aCol, AggregatorFunction<N> aVisitor)
          Deprecated.  
 void visitRow(int aRow, int aCol, AggregatorFunction<N> aVisitor)
          Deprecated.  
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RawStore

public RawStore(PhysicalStore.Factory<N> aFactory,
                double[][] aRaw)
Deprecated. 
Method Detail

makeBig

public static RawStore<BigDecimal> makeBig(double[][] aRaw)
Deprecated. 

makeComplex

public static RawStore<ComplexNumber> makeComplex(double[][] aRaw)
Deprecated. 

makePrimitive

public static RawStore<Double> makePrimitive(double[][] aRaw)
Deprecated. 

copy

public PhysicalStore<N> copy()
Deprecated. 
Description copied from interface: MatrixStore
Each call must produce a new instance.

Specified by:
copy in interface MatrixStore<N extends Number>
Returns:
A new PhysicalStore copy.

doubleValue

public double doubleValue(int aRow,
                          int aCol)
Deprecated. 

getNumber

public N getNumber(int aRow,
                   int aCol)
Deprecated. 

isLowerLeftShaded

public boolean isLowerLeftShaded()
Deprecated. 
Description copied from interface: MatrixStore

The lower (left) triangle is shaded leaving an upper Hessenberg matrix.

See Also:
MatrixStore.isUpperRightShaded(), MatrixStore.isShaded(), PhysicalStore.shadeLowerLeft(), PhysicalStore.unshade()

isUpperRightShaded

public boolean isUpperRightShaded()
Deprecated. 
Description copied from interface: MatrixStore

The upper (right) triangle is shaded leaving a lower Hessenberg matrix.

See Also:
MatrixStore.isLowerLeftShaded(), MatrixStore.isShaded(), PhysicalStore.shadeUpperRight(), PhysicalStore.unshade()

toScalar

public Scalar<N> toScalar(int aRow,
                          int aCol)
Deprecated. 

visitAll

public void visitAll(AggregatorFunction<N> aVisitor)
Deprecated. 
Specified by:
visitAll in interface MatrixStore<N extends Number>

visitColumn

public void visitColumn(int aRow,
                        int aCol,
                        AggregatorFunction<N> aVisitor)
Deprecated. 
Specified by:
visitColumn in interface MatrixStore<N extends Number>

visitDiagonal

public void visitDiagonal(int aRow,
                          int aCol,
                          AggregatorFunction<N> aVisitor)
Deprecated. 
Specified by:
visitDiagonal in interface MatrixStore<N extends Number>

visitRow

public void visitRow(int aRow,
                     int aCol,
                     AggregatorFunction<N> aVisitor)
Deprecated. 
Specified by:
visitRow in interface MatrixStore<N extends Number>

getFactory

public final PhysicalStore.Factory<N> getFactory()

conjugate

public PhysicalStore<N> conjugate()
Description copied from interface: MatrixStore
Each call must produce a new instance.

Specified by:
conjugate in interface MatrixStore<N extends Number>
Returns:
A new conjugated PhysicalStore copy.

equals

public final boolean equals(MatrixStore<N> aStore,
                            NumberContext aCntxt)
Specified by:
equals in interface MatrixStore<N extends Number>

equals

public final boolean equals(Object someObj)
Overrides:
equals in class Object

getColDim

public final int getColDim()
Specified by:
getColDim in interface MatrixStore<N extends Number>

getMinDim

public int getMinDim()
Specified by:
getMinDim in interface MatrixStore<N extends Number>

getRowDim

public final int getRowDim()
Specified by:
getRowDim in interface MatrixStore<N extends Number>

hashCode

public final int hashCode()
Overrides:
hashCode in class Object

isAbsolute

public boolean isAbsolute(int aRow,
                          int aCol)
Specified by:
isAbsolute in interface MatrixStore<N extends Number>

isReal

public boolean isReal(int aRow,
                      int aCol)
Specified by:
isReal in interface MatrixStore<N extends Number>

isShaded

public boolean isShaded()
Description copied from interface: MatrixStore

Either 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.

Specified by:
isShaded in interface MatrixStore<N extends Number>
See Also:
MatrixStore.isLowerLeftShaded(), MatrixStore.isUpperRightShaded(), PhysicalStore.unshade()

isZero

public boolean isZero(int aRow,
                      int aCol)
Specified by:
isZero in interface MatrixStore<N extends Number>

multiplyLeft

public MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
Specified by:
multiplyLeft in interface MatrixStore<N extends Number>
See Also:
MatrixStore.multiplyLeft(org.ojalgo.matrix.store.MatrixStore)

multiplyRight

public MatrixStore<N> multiplyRight(MatrixStore<N> aStore)
Specified by:
multiplyRight in interface MatrixStore<N extends Number>
See Also:
MatrixStore.multiplyRight(org.ojalgo.matrix.store.MatrixStore)

size

public int size()
Specified by:
size in interface MatrixStore<N extends Number>

transpose

public PhysicalStore<N> transpose()
Description copied from interface: MatrixStore
Each call must produce a new instance.

Specified by:
transpose in interface MatrixStore<N extends Number>
Returns:
A new transposed PhysicalStore copy.