MCPcopy Create free account
hub / github.com/LiangliangNan/PolyFit / from_integer

Function from_integer

code/math/linear_program.cpp:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31*/
32template <class Int>
33inline std::string from_integer(Int v, int width, char fill) {
34 std::ostringstream string_stream;
35 string_stream << std::setfill(fill) << std::setw(width) << v;
36 return string_stream.str();
37}
38
39
40//double Bound::infinity_ = std::numeric_limits<double>::max();

Callers 2

create_variableMethod · 0.85
create_constraintMethod · 0.85

Calls 1

strMethod · 0.45

Tested by

no test coverage detected