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

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

Deprecated. v28 Use SuperimposedStore instead.

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

SuperimposedMatrixStore

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
SuperimposedMatrixStore(MatrixStore<N> aBase, int aRow, int aCol, MatrixStore<N> aDiff)
          Deprecated.  
 
Method Summary
 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)
          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
<N extends Number>
SuperimposedMatrixStore<N>
makeSingleDiff(MatrixStore<N> aBase, int aRow, int aCol, N aDiff)
          Deprecated.  
 MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
          Deprecated.  
 MatrixStore<N> multiplyRight(MatrixStore<N> aStore)
          Deprecated.  
 int size()
           
 Scalar<N> toScalar(int aRow, int aCol)
          Deprecated.  
 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

SuperimposedMatrixStore

public SuperimposedMatrixStore(MatrixStore<N> aBase,
                               int aRow,
                               int aCol,
                               MatrixStore<N> aDiff)
Deprecated. 
Method Detail

makeSingleDiff

public static <N extends Number> SuperimposedMatrixStore<N> makeSingleDiff(MatrixStore<N> aBase,
                                                                           int aRow,
                                                                           int aCol,
                                                                           N aDiff)
Deprecated. 

doubleValue

public double doubleValue(int aRow,
                          int aCol)
Deprecated. 
See Also:
MatrixStore.doubleValue(int, int)

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.

Specified by:
isLowerLeftShaded in interface MatrixStore<N extends Number>
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.

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

multiplyLeft

public MatrixStore<N> multiplyLeft(MatrixStore<N> aStore)
Deprecated. 
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)
Deprecated. 
Specified by:
multiplyRight in interface MatrixStore<N extends Number>
See Also:
MatrixStore.multiplyRight(org.ojalgo.matrix.store.MatrixStore)

toScalar

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

getFactory

public final PhysicalStore.Factory<N> getFactory()

toString

public final String toString()
Overrides:
toString in class Object

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.

copy

public PhysicalStore<N> copy()
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.

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>

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.

visitAll

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

visitColumn

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

visitDiagonal

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

visitRow

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