jsci.maths.matrix.impl
Class AlgorithmsTransposedDoubleArray2D<E extends AlgorithmsDoubleArray2D>

java.lang.Object
  extended by jsci.util.array.AbstractDoubleArray2D
      extended by jsci.util.array.TransposedDoubleArray2D<E>
          extended by jsci.maths.matrix.impl.AlgorithmsTransposedDoubleArray2D<E>
All Implemented Interfaces:
Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>, AlgorithmsDoubleArray2D, Array2D<java.lang.Double>, DoubleArray2D

public class AlgorithmsTransposedDoubleArray2D<E extends AlgorithmsDoubleArray2D>
extends TransposedDoubleArray2D<E>
implements AlgorithmsDoubleArray2D


Field Summary
 
Fields inherited from class jsci.util.array.TransposedDoubleArray2D
array
 
Constructor Summary
AlgorithmsTransposedDoubleArray2D(E arr)
           
 
Method Summary
 AlgorithmsDoubleArray1D act(AlgorithmsDoubleArray1D v)
           
 AlgorithmsDoubleArray1D act(AlgorithmsDoubleArray2D a, AlgorithmsDoubleArray1D v)
           
 AlgorithmsDoubleArray2D add(AlgorithmsDoubleArray2D b)
           
 AlgorithmsDoubleArray2D add(AlgorithmsDoubleArray2D a, AlgorithmsDoubleArray2D b)
           
 AlgorithmsDenseDoubleArray2D addOp(AlgorithmsDenseDoubleArray2D a)
           
 AlgorithmsTransposedDoubleArray2D create(int rows, int cols)
           
 AlgorithmsDoubleArray2D multiply(AlgorithmsDoubleArray2D b)
           
 AlgorithmsDoubleArray2D multiply(AlgorithmsDoubleArray2D a, AlgorithmsDoubleArray2D b)
           
 AlgorithmsDenseDoubleArray2D multiplyOp(AlgorithmsDenseDoubleArray2D a)
           
 AlgorithmsDoubleArray2D scalarMultiply(AlgorithmsDoubleArray2D a, java.lang.Double r)
           
 AlgorithmsDoubleArray2D scalarMultiply(double x)
           
 AlgorithmsDoubleArray2D subtract(AlgorithmsDoubleArray2D b)
           
 AlgorithmsDoubleArray2D subtract(AlgorithmsDoubleArray2D a, AlgorithmsDoubleArray2D b)
           
 AlgorithmsDenseDoubleArray2D subtractOp(AlgorithmsDenseDoubleArray2D a)
           
 double trace()
           
 java.lang.Double trace(AlgorithmsDoubleArray2D a)
           
 E transpose()
           
 AlgorithmsDoubleArray2D transpose(AlgorithmsDoubleArray2D a)
           
 
Methods inherited from class jsci.util.array.TransposedDoubleArray2D
columns, getDouble, rows, setDouble
 
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
 
Methods inherited from interface jsci.util.array.DoubleArray2D
getDouble, setDouble
 
Methods inherited from interface jsci.util.array.Array2D
columns, contentEquals, get, rows, set
 

Constructor Detail

AlgorithmsTransposedDoubleArray2D

public AlgorithmsTransposedDoubleArray2D(E arr)
Method Detail

create

public AlgorithmsTransposedDoubleArray2D create(int rows,
                                                int cols)
Specified by:
create in interface AlgorithmsDoubleArray2D
Specified by:
create in interface Array2D<java.lang.Double>
Specified by:
create in interface DoubleArray2D
Overrides:
create in class TransposedDoubleArray2D<E extends AlgorithmsDoubleArray2D>

trace

public java.lang.Double trace(AlgorithmsDoubleArray2D a)
Specified by:
trace in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

trace

public double trace()
Specified by:
trace in interface AlgorithmsDoubleArray2D

transpose

public AlgorithmsDoubleArray2D transpose(AlgorithmsDoubleArray2D a)
Specified by:
transpose in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

transpose

public E transpose()
Specified by:
transpose in interface AlgorithmsDoubleArray2D

add

public AlgorithmsDoubleArray2D add(AlgorithmsDoubleArray2D a,
                                   AlgorithmsDoubleArray2D b)
Specified by:
add in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

add

public AlgorithmsDoubleArray2D add(AlgorithmsDoubleArray2D b)
Specified by:
add in interface AlgorithmsDoubleArray2D

addOp

public AlgorithmsDenseDoubleArray2D addOp(AlgorithmsDenseDoubleArray2D a)
Specified by:
addOp in interface AlgorithmsDoubleArray2D

subtract

public AlgorithmsDoubleArray2D subtract(AlgorithmsDoubleArray2D a,
                                        AlgorithmsDoubleArray2D b)
Specified by:
subtract in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

subtract

public AlgorithmsDoubleArray2D subtract(AlgorithmsDoubleArray2D b)
Specified by:
subtract in interface AlgorithmsDoubleArray2D

subtractOp

public AlgorithmsDenseDoubleArray2D subtractOp(AlgorithmsDenseDoubleArray2D a)
Specified by:
subtractOp in interface AlgorithmsDoubleArray2D

multiply

public AlgorithmsDoubleArray2D multiply(AlgorithmsDoubleArray2D a,
                                        AlgorithmsDoubleArray2D b)
Specified by:
multiply in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

multiply

public AlgorithmsDoubleArray2D multiply(AlgorithmsDoubleArray2D b)
Specified by:
multiply in interface AlgorithmsDoubleArray2D

multiplyOp

public AlgorithmsDenseDoubleArray2D multiplyOp(AlgorithmsDenseDoubleArray2D a)
Specified by:
multiplyOp in interface AlgorithmsDoubleArray2D

act

public AlgorithmsDoubleArray1D act(AlgorithmsDoubleArray2D a,
                                   AlgorithmsDoubleArray1D v)
Specified by:
act in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

act

public AlgorithmsDoubleArray1D act(AlgorithmsDoubleArray1D v)
Specified by:
act in interface AlgorithmsDoubleArray2D

scalarMultiply

public AlgorithmsDoubleArray2D scalarMultiply(AlgorithmsDoubleArray2D a,
                                              java.lang.Double r)
Specified by:
scalarMultiply in interface Algorithms<java.lang.Double,AlgorithmsDoubleArray2D,AlgorithmsDoubleArray1D>

scalarMultiply

public AlgorithmsDoubleArray2D scalarMultiply(double x)
Specified by:
scalarMultiply in interface AlgorithmsDoubleArray2D