org.jcurl.math
Interface R1RNFunction

Package class diagram package R1RNFunction
All Known Implementing Classes:
CSplineInterpolator, CurveCombined, CurveFkt, CurveRock, CurveRockAnalytic, CurveStill, CurveTransformed, Distance2DSq, Polynome, PolynomeCurve, R1R1Function, R1RNFunctionImpl

public interface R1RNFunction

Interface for n-dimensional curves f : R^1 -> R^n.

Version:
$Id: R1RNFunction.java 1031 2009-07-23 15:06:05Z mro $
Author:
M. Rohrmoser

Method Summary
 double[] at(double t, int c, double[] ret)
          Compute the c'th derivative of all dimensions at t.
 float[] at(double t, int c, float[] ret)
          Compute the c'th derivative of all dimensions at t.
 double at(double t, int c, int dim)
          Compute the c'th derivative of the given dimension at t.
 int dim()
           
 

Method Detail

at

double[] at(double t,
            int c,
            double[] ret)
Compute the c'th derivative of all dimensions at t. Default implementation via iteration over at(double, int, int).

Parameters:
t - t-value (input)
c - derivative (0=location, 1:speed, ...)
ret - return value container
Returns:
the c'th derivative at t

at

float[] at(double t,
           int c,
           float[] ret)
Compute the c'th derivative of all dimensions at t.

Parameters:
t - t-value (input)
c - derivative (0=location, 1:speed, ...)
ret - return value container
Returns:
the c'th derivative at t

at

double at(double t,
          int c,
          int dim)
Compute the c'th derivative of the given dimension at t.

Parameters:
t - t-value
c - derivative (0=location, 1:speed, ...)
dim - dimension (0,1,2,...)
Returns:
the c'th derivative at t

dim

int dim()


Copyright © 2005-2009 jcurl.org. All Rights Reserved.