ReFRACtor
FullPhysics::LogLogInterpolate< TX, TY > Class Template Reference

Wrapper around LinearInterpolate that uses log(x) and log(y) rather than x and y when interpolating. More...

#include <log_interpolate.h>

+ Inheritance diagram for FullPhysics::LogLogInterpolate< TX, TY >:
+ Collaboration diagram for FullPhysics::LogLogInterpolate< TX, TY >:

Public Types

typedef LinearInterpolate< TX, TY >::BehaviorOutOfRange BehaviorOutOfRange
 

Public Member Functions

 LogLogInterpolate ()
 
template<class I1 , class I2 >
 LogLogInterpolate (I1 xstart, I1 xend, I2 ystart, BehaviorOutOfRange Out_of_range=BehaviorOutOfRange(0))
 
TY operator() (const TX &x) const
 
void print (std::ostream &Os) const
 
std::string print_to_string () const
 Print to string. More...
 

Detailed Description

template<class TX, class TY>
class FullPhysics::LogLogInterpolate< TX, TY >

Wrapper around LinearInterpolate that uses log(x) and log(y) rather than x and y when interpolating.

Definition at line 53 of file log_interpolate.h.

Member Typedef Documentation

◆ BehaviorOutOfRange

template<class TX , class TY >
typedef LinearInterpolate<TX, TY>::BehaviorOutOfRange FullPhysics::LogLogInterpolate< TX, TY >::BehaviorOutOfRange

Definition at line 57 of file log_interpolate.h.

Constructor & Destructor Documentation

◆ LogLogInterpolate() [1/2]

template<class TX , class TY >
FullPhysics::LogLogInterpolate< TX, TY >::LogLogInterpolate ( )
inline

Definition at line 58 of file log_interpolate.h.

◆ LogLogInterpolate() [2/2]

template<class TX , class TY >
template<class I1 , class I2 >
FullPhysics::LogLogInterpolate< TX, TY >::LogLogInterpolate ( I1  xstart,
I1  xend,
I2  ystart,
BehaviorOutOfRange  Out_of_range = BehaviorOutOfRange(0) 
)
inline

Definition at line 64 of file log_interpolate.h.

Member Function Documentation

◆ operator()()

template<class TX , class TY >
TY FullPhysics::LogLogInterpolate< TX, TY >::operator() ( const TX &  x) const
inline

Definition at line 76 of file log_interpolate.h.

◆ print()

template<class TX , class TY >
void FullPhysics::LogLogInterpolate< TX, TY >::print ( std::ostream &  Os) const
inline

Definition at line 80 of file log_interpolate.h.

◆ print_to_string()

std::string FullPhysics::Printable< LogLogInterpolate< TX, TY > >::print_to_string ( ) const
inlineinherited

Print to string.

This is primarily useful for SWIG wrappers to this class, e.g. a to_s method in ruby.

Definition at line 31 of file printable.h.


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

Copyright © 2017, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
Generated Fri Aug 24 2018 15:44:13