20 typedef void (*
fn_ptr)(
const double&,
double&);
28 const double& x1,
const double& x2,
29 const unsigned& num_of_regions);
37 const double& x1,
const double& x2,
47 double Gauss(
const int& n);
Specification for a templated DenseVector class – a dense, dynamic, vector object.
An DenseVector class – a dense vector object.
A quadrature class that takes a function pointer.
double sub_Gauss(const int &n)
Evaluate the integral by applying an n-point Gauss rule on each of N sub-intervals.
void set_subintervals(const unsigned &n)
A set method to define a UNIFORM number of sub intervals.
double Gauss(const int &n)
n-point Gauss rule inefficiently written!
void(* fn_ptr)(const double &, double &)
The function pointer associated with this instance.
double trapezium()
Quick trapezium summation again for sanity checking.
An object to block copying.
A collection of OO numerical routines aimed at simple (typical) applied problems in continuum mechani...