lsst.modelfit.parameters g35bb328faa+b0138be388
 
Loading...
Searching...
No Matches
lsst::modelfit::parameters::UnitTransform< T > Class Template Reference
Inheritance diagram for lsst::modelfit::parameters::UnitTransform< T >:
lsst::modelfit::parameters::Transform< T > lsst::modelfit::parameters::Object

Public Member Functions

std::string description () const override
 Return a description of this transform.
 
std::string repr (bool=false, const std::string_view &namespace_separator=Object::CC_NAMESPACE_SEPARATOR) const override
 
std::string str () const override
 Return a brief, human-readable string representation of this.
 
derivative (T) const override
 Return the derivative of this tranform at the value x.
 
forward (T x) const override
 Return the transformed value of x.
 
reverse (T x) const override
 Return the original value of x given a transformed value.
 

Static Public Member Functions

static const UnitTransform< T > & get ()
 

Additional Inherited Members

- Static Public Attributes inherited from lsst::modelfit::parameters::Object
static constexpr std::string_view CC_NAMESPACE_SEPARATOR = "::"
 The C++ namespace separator.
 

Member Function Documentation

◆ derivative()

template<class T>
T lsst::modelfit::parameters::UnitTransform< T >::derivative ( T x) const
inlineoverridevirtual

Return the derivative of this tranform at the value x.

Implements lsst::modelfit::parameters::Transform< T >.

◆ description()

template<class T>
std::string lsst::modelfit::parameters::UnitTransform< T >::description ( ) const
inlineoverridevirtual

Return a description of this transform.

Implements lsst::modelfit::parameters::Transform< T >.

◆ forward()

template<class T>
T lsst::modelfit::parameters::UnitTransform< T >::forward ( T x) const
inlineoverridevirtual

Return the transformed value of x.

Implements lsst::modelfit::parameters::Transform< T >.

◆ repr()

template<class T>
std::string lsst::modelfit::parameters::UnitTransform< T >::repr ( bool name_keywords = false,
const std::string_view & namespace_separator = Object::CC_NAMESPACE_SEPARATOR ) const
inlineoverridevirtual

Return a full, callable string representation of this.

Parameters
name_keywordsWhether to prefix arguments with "{name}=", where name is the arg name in the header (as with keyword arguments in Python).
namespace_separatorThe string to use to delimit namespaces, i.e. :: in C++ and . in Python.
Returns
A callable string representation of this, which should return an an identical object to this.
Note
The representation with name_keywords=false must be callable in C++. The representation with name_keywords=true should be callable in Python, if there are any bindings.

Implements lsst::modelfit::parameters::Object.

◆ reverse()

template<class T>
T lsst::modelfit::parameters::UnitTransform< T >::reverse ( T x) const
inlineoverridevirtual

Return the original value of x given a transformed value.

Implements lsst::modelfit::parameters::Transform< T >.

◆ str()

template<class T>
std::string lsst::modelfit::parameters::UnitTransform< T >::str ( ) const
inlineoverridevirtual

Return a brief, human-readable string representation of this.

Implements lsst::modelfit::parameters::Object.


The documentation for this class was generated from the following file: