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

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

#include <log_interpolate.h>

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

Public Types

typedef LinearInterpolate< TX, TY >::BehaviorOutOfRange BehaviorOutOfRange
 

Public Member Functions

 LinearLogInterpolate ()
 
template<class I1 , class I2 >
 LinearLogInterpolate (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::LinearLogInterpolate< TX, TY >

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

Definition at line 131 of file log_interpolate.h.

Member Typedef Documentation

◆ BehaviorOutOfRange

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

Definition at line 135 of file log_interpolate.h.

Constructor & Destructor Documentation

◆ LinearLogInterpolate() [1/2]

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

Definition at line 136 of file log_interpolate.h.

◆ LinearLogInterpolate() [2/2]

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

Definition at line 142 of file log_interpolate.h.

Member Function Documentation

◆ operator()()

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

Definition at line 154 of file log_interpolate.h.

◆ print()

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

Definition at line 158 of file log_interpolate.h.

◆ print_to_string()

std::string FullPhysics::Printable< LinearLogInterpolate< 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