Jpp  15.0.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Functions | Variables
JPolint.hh File Reference
#include <cmath>
#include <iterator>
#include <algorithm>
#include "JLang/JException.hh"
#include "JLang/JAssert.hh"
#include "JLang/JBool.hh"
#include "JTools/JFunctional.hh"
#include "JTools/JDistance.hh"
#include "JTools/JResult.hh"
#include "JTools/JElement.hh"
#include "JTools/JMapCollection.hh"
#include "JTools/JQuadrature.hh"

Go to the source code of this file.

Classes

class  JTOOLS::JPolintFunction< N, JElement_t, JCollection_t, JResult_t, JDistance_t >
 Template definition for functional collection with polynomial interpolation. More...
 
class  JTOOLS::JPolintFunction< N, JElement_t, JCollection_t, typename JResultType< typename JElement_t::ordinate_type >::result_type, JDistance_t >
 Template specialisation for functional collection with polynomial interpolation. More...
 
class  JTOOLS::JPolintFunction< 0, JElement_t, JCollection_t, typename JResultType< typename JElement_t::ordinate_type >::result_type, JDistance_t >
 Template specialisation for zero-degree polynomial interpolation method. More...
 
class  JTOOLS::JPolintFunction< 1, JElement_t, JCollection_t, typename JResultType< typename JElement_t::ordinate_type >::result_type, JDistance_t >
 Template specialisation for first-degree polynomial interpolation method. More...
 
class  JTOOLS::JPolintFunction< N, JElement_t, JCollection_t, JResultPDF< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >
 Template specialisation for polynomial interpolation method with returning JResultPDF data structure. More...
 
class  JTOOLS::JPolintCollection< N, JElement_t, JCollection_t, JResult_t, JDistance_t >
 Template definition of base class for polynomial interpolations with polynomial result. More...
 
class  JTOOLS::JPolintFunction< N, JElement_t, JCollection_t, JResultPolynome< M, typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >
 Template specialisation for polynomial interpolation method with returning JResultPolynome data structure. More...
 
class  JTOOLS::JPolintFunction< N, JElement_t, JCollection_t, JResultDerivative< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >
 Template specialisation for polynomial interpolation method with returning JResultDerivative data structure. More...
 
class  JTOOLS::JPolintFunction< N, JElement_t, JCollection_t, JResultHesse< typename JResultType< typename JElement_t::ordinate_type >::result_type >, JDistance_t >
 Template specialisation for polynomial interpolation method with returning JResultHesse data structure. More...
 
class  JTOOLS::JPolintFunction1D< N, JElement_t, JCollection_t, JResult_t, JDistance_t >
 Template class for polynomial interpolation in 1D. More...
 
struct  JTOOLS::JElement2D< JAbscissa_t, JOrdinate_t >
 2D Element. More...
 
struct  JTOOLS::JMapCollection< JMap_t >
 Template class to define the corresponding JCollection for a given template JMap. More...
 
class  JTOOLS::JPolintMap< N, JKey_t, JValue_t, JMap_t, JResult_t, JDistance_t >
 Functional map with polynomial interpolation. More...
 

Namespaces

 JTOOLS
 Auxiliary classes and methods for multi-dimensional interpolations and histograms.
 
 JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<unsigned int N, class JElement_t , template< class, class > class JCollection_t, class JDistance_t , unsigned int M>
 JTOOLS::if ((p==this->begin()&&this->getDistance(x,(p++) ->getX()) > distance_type::precision)||(p==this->end()&&this->getDistance((--p) ->getX(), x) > distance_type::precision))
 Template base class for polynomial interpolations with polynomial result. More...
 
 JTOOLS::for (int i=n/2;i!=0 &&p!=this->end();--i,++p)
 
 JTOOLS::for (int i=n;i!=0 &&p!=this->begin();--i,--p)
 
 JTOOLS::for (unsigned int k=0;k!=M+1;++k)
 
 JTOOLS::for (int m=1;m!=n;++m)
 
virtual void JTOOLS::do_compile () override
 Function compilation. More...
 
template<unsigned int N, class JElement_t , template< class, class > class JCollection_t, class JResult_t , class JDistance_t >
JElement_t::ordinate_type JTOOLS::integrate (const JPolintFunction1D< N, JElement_t, JCollection_t, JResult_t, JDistance_t > &input, typename JMappable< JElement_t >::map_type &output)
 Conversion of data points to integral values. More...
 
template<unsigned int N, class JElement_t , template< class, class > class JCollection_t, class JResult_t , class JDistance_t >
JElement_t::ordinate_type JTOOLS::integrate (const JPolintFunction1D< N, JElement_t, JCollection_t, JResult_t, JDistance_t > &input, typename JMappable< JElement_t >::map_type &output, const JLANG::JBool< false > &option)
 Conversion of data points to integral values. More...
 
template<class JElement_t , template< class, class > class JCollection_t, class JResult_t , class JDistance_t >
JElement_t::ordinate_type JTOOLS::integrate (const JPolintFunction1D< 0, JElement_t, JCollection_t, JResult_t, JDistance_t > &input, typename JMappable< JElement_t >::map_type &output, const JLANG::JBool< true > &option)
 Conversion of data points to integral values. More...
 
template<class JElement_t , template< class, class > class JCollection_t, class JResult_t , class JDistance_t >
JElement_t::ordinate_type JTOOLS::integrate (const JPolintFunction1D< 1, JElement_t, JCollection_t, JResult_t, JDistance_t > &input, typename JMappable< JElement_t >::map_type &output, const JLANG::JBool< true > &option)
 Conversion of data points to integral values. More...
 

Variables

 JTOOLS::pX
 
const int JTOOLS::n = std::min((int) (N + 1), (int) this->size())
 
int JTOOLS::j = 0
 
return JTOOLS::result
 
double JTOOLS::u [N+1]
 
data_type JTOOLS::v [N+1][M+1]
 
data_type JTOOLS::w [N+1][M+1]
 
data_type JTOOLS::r [M+1]