ReFRACtor
FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > > Class Template Reference

This is a specialization of LinearInterpolate2Point for AutoDerivative. More...

#include <linear_interpolate_ad.h>

+ Inheritance diagram for FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > >:
+ Collaboration diagram for FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > >:

Public Member Functions

 LinearInterpolate2Point (const AutoDerivative< double > &x0, const AutoDerivative< double > &y0, const AutoDerivative< double > &x1, const AutoDerivative< double > &y1)
 
virtual void interpolate (const AutoDerivative< double > &x, const AutoDerivativeRef< double > &res) const
 
void print (std::ostream &Os) const
 
std::string print_to_string () const
 Print to string. More...
 
const AutoDerivative< double > & x_max () const
 
const AutoDerivative< double > & x_min () const
 

Detailed Description

template<>
class FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > >

This is a specialization of LinearInterpolate2Point for AutoDerivative.

This specialization should run faster.

Definition at line 44 of file linear_interpolate_ad.h.

Constructor & Destructor Documentation

◆ LinearInterpolate2Point()

FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > >::LinearInterpolate2Point ( const AutoDerivative< double > &  x0,
const AutoDerivative< double > &  y0,
const AutoDerivative< double > &  x1,
const AutoDerivative< double > &  y1 
)
inline

Definition at line 49 of file linear_interpolate_ad.h.

Member Function Documentation

◆ interpolate()

virtual void FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > >::interpolate ( const AutoDerivative< double > &  x,
const AutoDerivativeRef< double > &  res 
) const
inlinevirtual

◆ print()

void FullPhysics::LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > >::print ( std::ostream &  Os) const
inline

Definition at line 76 of file linear_interpolate_ad.h.

◆ print_to_string()

std::string FullPhysics::Printable< LinearInterpolate2Point< AutoDerivative< double >, AutoDerivative< double > > >::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()

◆ x_min()


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