<commit_before>// $Id: pPCurve.h,v 1.1 2000/07/13 11:48:41 anker Exp $

#ifndef BALL_MATHS_PPCURVE_H
#define BALL_MATHS_PPCURVE_H

#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif

namespace BALL {

	/** Piecewise polynomial curve object.
		This class provides a trivial implementation of piecewise polynomial
		curves. More useful spline/B-spline implementations might follow in the
		future. The PPCurves are of the form 
		$\sum_{i=0}^{d} a_i^{(k)} (x - x_0^{(k)})^i$, where $k$ is the index of
		the interval and $d$ is the overall degree of the PPCurve. Note that
		there is no checking of <differnzierbarkeit, stetigkeit>.
		{\bf Definition:} |URL{BALL/MATHS/pPCurve.h}
	 */

	class PPCurve
	{
		public:

		/**	@name	Constructors and Destructors
		*/
		//@{

		/// Default constructor
		PPCurve();

		/// Copy constructor
		PPCurve(const PPCurve& ppcurve);

		/// Detailed Constructor
		PPCurve(Size degree, Size number_of_intervals, vector<float>& intervals,
				vector< vector<float> >& coefficients);

		/// Destructor
		virtual ~PPCurve();

		/// 
		void clear();

		///
		void destroy();<commit_msg>fixed: doc<commit_after>// $Id: pPCurve.h,v 1.2 2000/07/13 11:56:54 anker Exp $

#ifndef BALL_MATHS_PPCURVE_H
#define BALL_MATHS_PPCURVE_H

#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif

namespace BALL {

	/** Piecewise polynomial curve object.
		This class provides a trivial implementation of piecewise polynomial
		curves. More useful spline/B-spline implementations might follow in the
		future. The PPCurves are of the form 
		$\sum_{i=0}^{d} a_i^{(k)} (x - x_0^{(k)})^i$, where $k$ is the index of
		the interval and $d$ is the overall degree of the PPCurve. Note that
		there is no warranty that the defined curve ist continuously
		differentiable or even continuous.
		{\bf Definition:} |URL{BALL/MATHS/pPCurve.h}
	 */

	class PPCurve
	{
		public:

		/**	@name	Constructors and Destructors
		*/
		//@{

		/// Default constructor
		PPCurve();

		/// Copy constructor
		PPCurve(const PPCurve& ppcurve);

		/// Detailed Constructor
		PPCurve(Size degree, Size number_of_intervals, vector<float>& intervals,
				vector< vector<float> >& coefficients);

		/// Destructor
		virtual ~PPCurve();

		/// 
		void clear();

		///
		void destroy();
{'fraction_non_alphanumeric': 0.12163948876156898, 'fraction_numerical': 0.015866020273248127, 'mean_word_length': 3.5490981963927855, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 12, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7363425', 'n_tokens_mistral': 907, 'n_tokens_neox': 782, 'n_words': 235}