public abstract class IndexFunction extends Object implements Function
Constructor and Description |
---|
IndexFunction() |
Modifier and Type | Method and Description |
---|---|
double |
f(double... x) |
double |
f(Vec x) |
abstract double |
indexFunc(double value,
int index)
An index function, meant to be applied to vectors where the
value to be computed may vary based on the position in the
vector of the value.
|
public abstract double indexFunc(double value, int index)
value
- the value at the specified indexindex
- the index the value is fromCopyright © 2017. All rights reserved.