Return dy/dx given dy/dln(x), dln(y)/dx or dln(y)/dln(x). More...
#include <RemoveLogDeriv.h>
Public Member Functions | |
RemoveLogDeriv (double age, bool log_quantity, const FunctionDerivatives *log_deriv, bool delete_deriv) | |
Create a linear derivative from a log one. More... | |
~RemoveLogDeriv () | |
Deletes the input logarithmic derivative if so specified on creation. More... | |
Public Member Functions inherited from StellarEvolution::LogDerivatives | |
LogDerivatives (double x=NaN, bool log_y=false) | |
Create a derivative for possibly log(functions) of possibly log(arg). More... | |
double | order (unsigned deriv_order=1) const |
Returns the deriv_order-th derivative of the quantity. More... | |
Public Member Functions inherited from Core::FunctionDerivatives | |
virtual | ~FunctionDerivatives () |
Clean up. More... | |
Protected Member Functions | |
double | calc_deriv (unsigned deriv_order) const |
Returns the deriv_order-th derivative of the quantity. More... | |
Private Attributes | |
const FunctionDerivatives * | __log_deriv |
The original logarithmic derivative. More... | |
bool | __delete_deriv |
Whether to delete the underlying log-derivative on destruction. More... | |
Return dy/dx given dy/dln(x), dln(y)/dx or dln(y)/dln(x).
Definition at line 17 of file RemoveLogDeriv.h.
|
inline |
Create a linear derivative from a log one.
Definition at line 30 of file RemoveLogDeriv.h.
|
inline |
Deletes the input logarithmic derivative if so specified on creation.
Definition at line 43 of file RemoveLogDeriv.h.
|
inlineprotectedvirtual |
Returns the deriv_order-th derivative of the quantity.
Implements StellarEvolution::LogDerivatives.
Definition at line 26 of file RemoveLogDeriv.h.
|
private |
Whether to delete the underlying log-derivative on destruction.
Definition at line 23 of file RemoveLogDeriv.h.
|
private |
The original logarithmic derivative.
Definition at line 20 of file RemoveLogDeriv.h.