15 #ifndef BORNAGAIN_CORE_PARAMETRIZATION_PYFMT_H
16 #define BORNAGAIN_CORE_PARAMETRIZATION_PYFMT_H
34 std::string
printNm(
double input);
38 std::string
printValue(
double value,
const std::string& units =
"");
41 bool isSquare(
double length1,
double length2,
double angle);
42 bool isHexagonal(
double length1,
double length2,
double angle);
Defines basic vectors in R^3 and C^3.
Limits for a real fit parameter.
Utility functions for writing Python code snippets.
std::string printNm(double input)
std::string getSampleFunctionName()
std::string printNm2(double input)
std::string printDegrees(double input)
bool isSquare(double length1, double length2, double angle)
std::string printDouble(double input)
std::string printKvector(const kvector_t value)
std::string printScientificDouble(double input)
std::string printBool(double value)
std::string printString(const std::string &value)
std::string printInt(int value)
std::string indent(size_t width)
Returns a string of blanks with given width.
bool isHexagonal(double length1, double length2, double angle)
std::string printValue(double value, const std::string &units)
std::string scriptPreamble()