vspline 1.1.0
Generic C++11 Code for Uniform B-Splines
Public Member Functions | Public Attributes | List of all members
random_polynomial< dtype > Struct Template Reference

Public Member Functions

 random_polynomial (int _degree)
 
dtype operator() (dtype x)
 

Public Attributes

int degree
 
std::vector< dtypecoefficient
 

Detailed Description

template<class dtype>
struct random_polynomial< dtype >

Definition at line 70 of file verify.cc.

Constructor & Destructor Documentation

◆ random_polynomial()

template<class dtype >
random_polynomial< dtype >::random_polynomial ( int  _degree)
inline

Definition at line 77 of file verify.cc.

Member Function Documentation

◆ operator()()

template<class dtype >
dtype random_polynomial< dtype >::operator() ( dtype  x)
inline

Definition at line 90 of file verify.cc.

Member Data Documentation

◆ coefficient

template<class dtype >
std::vector< dtype > random_polynomial< dtype >::coefficient

Definition at line 73 of file verify.cc.

◆ degree

template<class dtype >
int random_polynomial< dtype >::degree

Definition at line 72 of file verify.cc.


The documentation for this struct was generated from the following file: