NAME

fit_parametric_cubic_known_time - Returns a pair of parametric equations in t which most closely fit a set

SYNOPSIS

#include "curv/curv_lib.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int fit_parametric_cubic_known_time
(
	const Vector *t_vp,
	const Matrix *data_mp,
	const Vector *weight_vp,
	Matrix **new_c_mpp,
	double *error_ptr
);

DESCRIPTION

of specified points. The time values for the set of points must be known. For a set of points whose times are not known, see fit_parametric_cubic.

RETURNS

An integer indicating whether the function executed successfully. Returns ERROR if a problem was encountered.

PARAMETERS

t_vp: a pointer to a set of time values corresponding to the input points in data_mp. data_mp: a pointer to a set of points. weight_vp: a pointer to a set of weight values for points in data_mp. new_c_mpp: a pointer to a pointer to a set of parametric cubic coefficients. error_ptr: a pointer to a fitting error value.

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

fit_parametric_cubic