org.ojalgo.series.primitive
Class UnaryFunctionSeries

java.lang.Object
  extended by org.ojalgo.series.primitive.PrimitiveSeries
      extended by org.ojalgo.series.primitive.UnaryFunctionSeries
All Implemented Interfaces:
Access1D<Double>

public final class UnaryFunctionSeries
extends PrimitiveSeries


Constructor Summary
UnaryFunctionSeries(PrimitiveSeries aSeries, UnaryFunction<Double> aFunction)
           
 
Method Summary
 int size()
           
 double value(int index)
           
 
Methods inherited from class org.ojalgo.series.primitive.PrimitiveSeries
add, add, copy, differences, divide, divide, doubleValue, exp, get, iterator, log, multiply, multiply, quotients, runningProduct, runningSum, subtract, subtract, toDataSeries, values
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnaryFunctionSeries

public UnaryFunctionSeries(PrimitiveSeries aSeries,
                           UnaryFunction<Double> aFunction)
Method Detail

size

public final int size()
Returns:
The total number of elements contained in this structure

value

public final double value(int index)
Specified by:
value in class PrimitiveSeries