ReFRACtor
|
This is a AutoDerivative that also has units associated with it. More...
#include <auto_derivative_with_unit.h>
Public Member Functions | |
AutoDerivativeWithUnit () | |
AutoDerivativeWithUnit (const AutoDerivative< T > &V, const Unit &U) | |
AutoDerivativeWithUnit (const AutoDerivative< T > &V, const std::string &U) | |
AutoDerivativeWithUnit (const AutoDerivative< T > &V) | |
AutoDerivativeWithUnit (const T &V) | |
AutoDerivativeWithUnit (const DoubleWithUnit &V) | |
AutoDerivativeWithUnit< T > | convert (const Unit &R) const |
Convert to the given units. More... | |
AutoDerivativeWithUnit< T > & | operator*= (const AutoDerivativeWithUnit< T > &D) |
Basic math operators for class. More... | |
AutoDerivativeWithUnit< T > & | operator+= (const AutoDerivativeWithUnit< T > &D) |
AutoDerivativeWithUnit< T > & | operator-= (const AutoDerivativeWithUnit< T > &D) |
AutoDerivativeWithUnit< T > & | operator/= (const AutoDerivativeWithUnit< T > &D) |
void | print (std::ostream &Os) const |
std::string | print_to_string () const |
Print to string. More... | |
Public Attributes | |
Unit | units |
AutoDerivative< T > | value |
This is a AutoDerivative that also has units associated with it.
This is a simple structure that just keeps these two things together.
Definition at line 15 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 20 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 21 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 23 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 25 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 27 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 29 of file auto_derivative_with_unit.h.
|
inline |
Convert to the given units.
Definition at line 55 of file auto_derivative_with_unit.h.
|
inline |
Basic math operators for class.
Definition at line 39 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 45 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 48 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 42 of file auto_derivative_with_unit.h.
|
inline |
Definition at line 58 of file auto_derivative_with_unit.h.
|
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.
Unit FullPhysics::AutoDerivativeWithUnit< T >::units |
Definition at line 32 of file auto_derivative_with_unit.h.
AutoDerivative<T> FullPhysics::AutoDerivativeWithUnit< T >::value |
Definition at line 31 of file auto_derivative_with_unit.h.