org.ojalgo.series.primitive
Class UnaryFunctionSeries
java.lang.Object
org.ojalgo.series.primitive.PrimitiveSeries
org.ojalgo.series.primitive.UnaryFunctionSeries
- All Implemented Interfaces:
- Access1D<Double>
public final class UnaryFunctionSeries
- extends PrimitiveSeries
|
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 |
UnaryFunctionSeries
public UnaryFunctionSeries(PrimitiveSeries aSeries,
UnaryFunction<Double> aFunction)
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