#include <latex.hpp>
Public Types | |
using | Self = Number< T > |
Public Member Functions | |
Number (T val) | |
auto | solve () |
std::string | latex () const |
Self | operator- () |
template<typename Pow > | |
Power< Self, Pow > | pow (const Pow &power) |
template<typename Base > | |
Log< Self, Base > | log (Base base) |
NaturalLog< Self > | ln () |
Root< Self, int > | sqrt () |
Protected Attributes | |
T | val |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Number &num) |
Helper class for "entering the LaTeX context" using a constant numeric.
Most commonly used to then access the overloaded operators.