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

This does linear interpolate between two points. More...

#include <linear_interpolate.h>

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

Public Member Functions

 LinearInterpolate2Point (const TX &x0, const TY &y0, const TX &x1, const TY &y1)
 
TY operator() (const TX &x) const
 
void print (std::ostream &Os) const
 
std::string print_to_string () const
 Print to string. More...
 
const TX & x_max () const
 
const TX & x_min () const
 

Detailed Description

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

This does linear interpolate between two points.

Definition at line 50 of file linear_interpolate.h.

Constructor & Destructor Documentation

◆ LinearInterpolate2Point()

template<class TX, class TY>
FullPhysics::LinearInterpolate2Point< TX, TY >::LinearInterpolate2Point ( const TX &  x0,
const TY &  y0,
const TX &  x1,
const TY &  y1 
)
inline

Definition at line 62 of file linear_interpolate.h.

Member Function Documentation

◆ operator()()

template<class TX, class TY>
TY FullPhysics::LinearInterpolate2Point< TX, TY >::operator() ( const TX &  x) const
inlinevirtual

Implements FullPhysics::InterpolatePoint< TX, TY >.

Definition at line 70 of file linear_interpolate.h.

◆ print()

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

Definition at line 71 of file linear_interpolate.h.

◆ print_to_string()

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

◆ x_max()

template<class TX, class TY>
const TX& FullPhysics::LinearInterpolate2Point< TX, TY >::x_max ( ) const
inlinevirtual

Implements FullPhysics::InterpolatePoint< TX, TY >.

Definition at line 69 of file linear_interpolate.h.

◆ x_min()

template<class TX, class TY>
const TX& FullPhysics::LinearInterpolate2Point< TX, TY >::x_min ( ) const
inlinevirtual

Implements FullPhysics::InterpolatePoint< TX, TY >.

Definition at line 68 of file linear_interpolate.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