25#ifndef LSST_MODELFIT_PARAMETERS_TRANSFORM_H
26#define LSST_MODELFIT_PARAMETERS_TRANSFORM_H
35namespace lsst::modelfit::parameters {
63 std::string
description()
const override {
return "Unit transform"; }
68 std::string
repr(
bool =
false,
const std::string_view& namespace_separator
70 return type_name_str<UnitTransform<T>>(
false, namespace_separator) +
"()";
72 std::string
str()
const override {
return type_name_str<UnitTransform<T>>(
true) +
"()"; }
75 inline T
forward(T x)
const override {
return x; }
76 inline T
reverse(T x)
const override {
return x; }
static constexpr std::string_view CC_NAMESPACE_SEPARATOR
The C++ namespace separator.
Definition object.h:42