public final class FunctionOnLine
extends java.lang.Object
| Constructor and Description |
|---|
FunctionOnLine(DatanVector x0,
DatanVector xdir,
DatanUserFunction function) |
| Modifier and Type | Method and Description |
|---|---|
double |
getFunctionOnLine(double a) |
public FunctionOnLine(DatanVector x0, DatanVector xdir, DatanUserFunction function)
x0 - point in n-spacexdir - direction in n-space. Straight line is given by x = x0 + a * xdir, where a is a running scalar variable.function - user function which must be an extension of the abstract class DatanUserFunction.