Definition of a cubic spline. More...
#include "MathDefs.h"
#include "curve_abc.h"
#include <iostream>
#include <algorithm>
#include <functional>
#include <stdexcept>
Go to the source code of this file.
Classes | |
class | ndcurves::polynomial< Time, Numeric, Safe, Point, T_Point > |
Represents a polynomial of an arbitrary order defined on the interval ![]() ![]() where N is the order and ![]() | |
Namespaces | |
ndcurves | |
Functions | |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator+ (const polynomial< T, N, S, P, TP > &p1, const polynomial< T, N, S, P, TP > &p2) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator+ (const polynomial< T, N, S, P, TP > &p1, const typename polynomial< T, N, S, P, TP >::point_t &point) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator+ (const typename polynomial< T, N, S, P, TP >::point_t &point, const polynomial< T, N, S, P, TP > &p1) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator- (const polynomial< T, N, S, P, TP > &p1, const typename polynomial< T, N, S, P, TP >::point_t &point) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator- (const typename polynomial< T, N, S, P, TP >::point_t &point, const polynomial< T, N, S, P, TP > &p1) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator- (const polynomial< T, N, S, P, TP > &p1) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator- (const polynomial< T, N, S, P, TP > &p1, const polynomial< T, N, S, P, TP > &p2) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator/ (const polynomial< T, N, S, P, TP > &p1, const double k) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator* (const polynomial< T, N, S, P, TP > &p1, const double k) |
template<typename T , typename N , bool S, typename P , typename TP > | |
polynomial< T, N, S, P, TP > | ndcurves::operator* (const double k, const polynomial< T, N, S, P, TP > &p1) |
Definition of a cubic spline.
This file contains definitions for the polynomial struct. It allows the creation and evaluation of natural smooth splines of arbitrary dimension and order