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

Class which performs linear interpolation on a log-log scale. More...

#include <interpolators.h>

Collaboration diagram for Interpolator::LogLogLinear:

Public Member Functions

 LogLogLinear (const Eigen::Matrix< double, Eigen::Dynamic, 2 > &data)
 Constructor for the LogLogLinear class.
 
double operator() (double x) const override
 Performs linear interpolation on a log-log scale.
 
- Public Member Functions inherited from Interpolator::Linear
 Linear (const Eigen::Matrix< double, Eigen::Dynamic, 2 > &data)
 Constructor for the Linear class.
 

Detailed Description

Class which performs linear interpolation on a log-log scale.

Definition at line 109 of file interpolators.h.

Constructor & Destructor Documentation

◆ LogLogLinear()

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

Constructor for the LogLogLinear class.

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

Member Function Documentation

◆ operator()()

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

Performs linear interpolation on a log-log scale.

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

Reimplemented from Interpolator::Linear.


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