MIDSX 0.1
A x-ray transport code system for dosimetry
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Interpolator::LogLogSpline Class Reference

Class which performs 3rd order spline interpolation on a log-log scale. More...

#include <interpolators.h>

Collaboration diagram for Interpolator::LogLogSpline:

Public Member Functions

 LogLogSpline (const Eigen::Matrix< double, Eigen::Dynamic, 2 > &data)
 Constructor for the LogLogSpline class.
 
double operator() (double x) const override
 Performs 3rd order spline interpolation on a log-log scale.
 
- Public Member Functions inherited from Interpolator::Spline
 Spline (const Eigen::MatrixXd &data)
 Constructor for the Spline class.
 
double operator() (double x) const override
 Performs 3rd order spline interpolation.
 

Detailed Description

Class which performs 3rd order spline interpolation on a log-log scale.

Definition at line 57 of file interpolators.h.

Constructor & Destructor Documentation

◆ LogLogSpline()

Interpolator::LogLogSpline::LogLogSpline ( const Eigen::Matrix< double, Eigen::Dynamic, 2 > & data)
explicit

Constructor for the LogLogSpline class.

Parameters
dataA 2 column matrix containing the x and y values to be interpolated.

Member Function Documentation

◆ operator()()

double Interpolator::LogLogSpline::operator() ( double x) const
overridevirtual

Performs 3rd order spline interpolation on a log-log scale.

Parameters
xThe x value to be interpolated.
Returns
The interpolated y value.

Implements Interpolator::Interpolator.


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