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

This just returns the same y value, always. More...

#include <linear_interpolate.h>

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

Public Member Functions

 Return1Point (const TX &x0, const TY &y0)
 
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::Return1Point< TX, TY >

This just returns the same y value, always.

Definition at line 30 of file linear_interpolate.h.

Constructor & Destructor Documentation

◆ Return1Point()

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

Definition at line 37 of file linear_interpolate.h.

Member Function Documentation

◆ operator()()

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

Implements FullPhysics::InterpolatePoint< TX, TY >.

Definition at line 42 of file linear_interpolate.h.

◆ print()

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

Definition at line 43 of file linear_interpolate.h.

◆ print_to_string()

std::string FullPhysics::Printable< Return1Point< 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::Return1Point< TX, TY >::x_max ( ) const
inlinevirtual

Implements FullPhysics::InterpolatePoint< TX, TY >.

Definition at line 41 of file linear_interpolate.h.

◆ x_min()

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

Implements FullPhysics::InterpolatePoint< TX, TY >.

Definition at line 40 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