codac 2.0.0
Loading...
Searching...
No Matches
codac2_analytic_constants_impl.h
Go to the documentation of this file.
1
9
10#pragma once
11
12namespace codac2
13{
14 template<typename T>
15 std::string ConstValueExpr<T>::str(bool in_parentheses) const
16 {
17 std::ostringstream s;
18 if(_x.is_degenerated()) s << _x.mid();
19 else s << _x;
20 return in_parentheses ? "(" + s.str() + ")" : s.str();
21 }
22}
Definition codac2_OctaSym.h:21