jsci.maths.vector.impl
Class AlgorithmsDenseDoubleArray1D

java.lang.Object
  extended by jsci.util.array.AbstractDoubleArray1D
      extended by jsci.util.array.DenseDoubleArray1D
          extended by jsci.maths.vector.impl.AlgorithmsDenseDoubleArray1D
All Implemented Interfaces:
Algorithms<java.lang.Double,AlgorithmsDoubleArray1D>, AlgorithmsDoubleArray1D, Array1D<java.lang.Double>, DoubleArray1D

public class AlgorithmsDenseDoubleArray1D
extends DenseDoubleArray1D
implements AlgorithmsDoubleArray1D


Field Summary
 
Fields inherited from class jsci.util.array.DenseDoubleArray1D
array
 
Constructor Summary
AlgorithmsDenseDoubleArray1D(double[] array)
           
AlgorithmsDenseDoubleArray1D(int size)
           
 
Method Summary
 AlgorithmsDenseDoubleArray1D actOp(AlgorithmsDenseDoubleArray2D a)
           
 AlgorithmsDoubleArray1D add(AlgorithmsDoubleArray1D b)
           
 AlgorithmsDoubleArray1D add(AlgorithmsDoubleArray1D a, AlgorithmsDoubleArray1D b)
           
 AlgorithmsDenseDoubleArray1D addOp(AlgorithmsDenseDoubleArray1D a)
           
 AlgorithmsDenseDoubleArray1D create(int size)
           
 AlgorithmsDoubleArray1D scalarMultiply(AlgorithmsDoubleArray1D a, java.lang.Double x)
           
 AlgorithmsDoubleArray1D scalarMultiply(double x)
           
 
Methods inherited from class jsci.util.array.DenseDoubleArray1D
contentEquals, contentEqualsOp, getDouble, setDouble, size
 
Methods inherited from class jsci.util.array.AbstractDoubleArray1D
contentEquals, contentEquals, 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.DoubleArray1D
getDouble, setDouble
 
Methods inherited from interface jsci.util.array.Array1D
contentEquals, get, set, size
 

Constructor Detail

AlgorithmsDenseDoubleArray1D

public AlgorithmsDenseDoubleArray1D(int size)

AlgorithmsDenseDoubleArray1D

public AlgorithmsDenseDoubleArray1D(double[] array)
Method Detail

create

public AlgorithmsDenseDoubleArray1D create(int size)
Specified by:
create in interface AlgorithmsDoubleArray1D
Specified by:
create in interface Array1D<java.lang.Double>
Specified by:
create in interface DoubleArray1D
Overrides:
create in class DenseDoubleArray1D

add

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

add

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

addOp

public AlgorithmsDenseDoubleArray1D addOp(AlgorithmsDenseDoubleArray1D a)
Specified by:
addOp in interface AlgorithmsDoubleArray1D

scalarMultiply

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

scalarMultiply

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

actOp

public AlgorithmsDenseDoubleArray1D actOp(AlgorithmsDenseDoubleArray2D a)
Specified by:
actOp in interface AlgorithmsDoubleArray1D