jsci.util.array
Class TransposedDoubleArray2D<E extends DoubleArray2D>

java.lang.Object
  extended by jsci.util.array.AbstractDoubleArray2D
      extended by jsci.util.array.TransposedDoubleArray2D<E>
All Implemented Interfaces:
Array2D<java.lang.Double>, DoubleArray2D
Direct Known Subclasses:
AlgorithmsTransposedDoubleArray2D

public class TransposedDoubleArray2D<E extends DoubleArray2D>
extends AbstractDoubleArray2D


Field Summary
protected  E array
           
 
Constructor Summary
TransposedDoubleArray2D(E array)
           
 
Method Summary
 int columns()
           
 TransposedDoubleArray2D<E> create(int rows, int cols)
           
 double getDouble(int i, int j)
           
 int rows()
           
 void setDouble(int i, int j, double x)
           
 
Methods inherited from class jsci.util.array.AbstractDoubleArray2D
contentEquals, contentEquals, contentEquals, contentEqualsOp, contentEqualsOp, get, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

array

protected final E extends DoubleArray2D array
Constructor Detail

TransposedDoubleArray2D

public TransposedDoubleArray2D(E array)
Method Detail

getDouble

public double getDouble(int i,
                        int j)

setDouble

public void setDouble(int i,
                      int j,
                      double x)

create

public TransposedDoubleArray2D<E> create(int rows,
                                         int cols)

rows

public int rows()

columns

public int columns()