Libbarrett  1.2.4
Classes | Functions | Variables
src/cdlbt/interp.c File Reference
#include <gsl/gsl_interp.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_linalg.h>
#include <barrett/cdlbt/interp.h>

Classes

struct  state_2p
struct  state_3p
struct  state_t

Functions

int bt_interp_set_type (gsl_interp *interp, enum bt_interp_type ltype, enum bt_interp_type rtype)
int bt_interp_set_slopes (gsl_interp *interp, double lslope, double rslope)

Variables

const gsl_interp_type * bt_interp = &bt_interp_type

Detailed Description

Implementation of bt_interp, GSL interpolator type with support for 2-point trajectories, as well as natural or slope-drive endpoints.

Author:
Christopher Dellin
Date:
2008-2009

Function Documentation

int bt_interp_set_slopes ( gsl_interp *  interp,
double  lslope,
double  rslope 
)

This function is used to set the explicit slopes of the two endpoints before the interpolator is initialized.

Note:
The values specified here will only be used if the endpoint is also of type BT_INTERP_SLOPE.
int bt_interp_set_type ( gsl_interp *  interp,
enum bt_interp_type  ltype,
enum bt_interp_type  rtype 
)

This function is used to set the types of the two endpoints before the interpolator is initialized.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines