org.jcurl.math
Class R1R1Function
java.lang.Object
org.jcurl.math.R1RNFunctionImpl
org.jcurl.math.R1R1Function
- All Implemented Interfaces:
- Serializable, R1RNFunction
- Direct Known Subclasses:
- CSplineInterpolator, Distance2DSq, Polynome
public abstract class R1R1Function
- extends R1RNFunctionImpl
A one-dimensional function f : R^1 -> R^1. Because this is
the same as a 1-dimensional curve it extends
R1RNFunctionImpl.
- Version:
- $Id: R1R1Function.java 1031 2009-07-23 15:06:05Z mro $
- Author:
- M. Rohrmoser
- See Also:
- Serialized Form
|
Method Summary |
double |
at(double x)
Compute the value x. |
abstract double |
at(double x,
int c)
Compute the c'th derivative at x. |
double |
at(double x,
int c,
int dim)
Compute the c'th derivative at x. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
R1R1Function
protected R1R1Function()
at
public double at(double x)
- Compute the value
x.
- Parameters:
x - x-value
- Returns:
- the value at
x - See Also:
at(double, int)
at
public abstract double at(double x,
int c)
- Compute the c'th derivative at
x.
- Parameters:
x - x-valuec - derivative (0=location, 1:speed, ...)
- Returns:
- the c'th derivative at
x - See Also:
at(double, int, int)
at
public double at(double x,
int c,
int dim)
- Compute the c'th derivative at
x.
- Specified by:
at in interface R1RNFunction- Specified by:
at in class R1RNFunctionImpl
- Parameters:
c - derivative (0=location, 1:speed, ...)dim - must be 0x - x-value
- Returns:
- the c'th derivative at
x
- Throws:
IllegalArgumentException - if dim != 0- See Also:
at(double, int)
Copyright © 2005-2009 jcurl.org. All Rights Reserved.