cpplatex
 All Classes Functions Pages
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
latex::math::Number< T > Class Template Reference

#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< Selfln ()
 
Root< Self, int > sqrt ()
 

Protected Attributes

val
 

Friends

std::ostream & operator<< (std::ostream &os, const Number &num)
 

Detailed Description

template<typename T>
class latex::math::Number< T >

Helper class for "entering the LaTeX context" using a constant numeric.

Most commonly used to then access the overloaded operators.


The documentation for this class was generated from the following file: