#include <qmp.hh>
|
| static symbol | sname () |
| |
| static qmp | make (std::istream &is) |
| | Build from the description in is. More...
|
| |
| static value_t | value (int num, unsigned den) |
| | Create rational weight from num and den. More...
|
| |
| static value_t | zero () |
| |
| static value_t | one () |
| |
| static value_t | min () |
| |
| static value_t | max () |
| |
| static value_t | add (const value_t &l, const value_t &r) |
| |
| static value_t | sub (const value_t &l, const value_t &r) |
| |
| static value_t | mul (const value_t &l, const value_t &r) |
| |
| static bool | is_special (const value_t &) |
| |
| static bool | is_zero (const value_t &v) |
| |
| static bool | is_one (const value_t &v) |
| |
| static int | compare (const value_t &l, const value_t &r) |
| | Three-way comparison between l and r. More...
|
| |
| static bool | equal (const value_t &l, const value_t &r) |
| | Whether l == r. More...
|
| |
| static bool | less (const value_t &l, const value_t &r) |
| | Whether < r. More...
|
| |
| static constexpr bool | is_commutative () |
| |
| static constexpr bool | has_lightening_weights () |
| |
| static constexpr bool | show_one () |
| |
| static constexpr star_status_t | star_status () |
| |
| static value_t | abs (const value_t &v) |
| |
| static value_t | transpose (const value_t &v) |
| |
| static size_t | hash (const value_t &v) |
| |
| static value_t | conv (self_t, const value_t &v) |
| |
| static value_t | conv (z, z::value_t v) |
| |
| static value_t | conv (b, b::value_t v) |
| |
| static value_t | conv (std::istream &i, bool=true) |
| |
| static std::ostream & | print (const value_t &v, std::ostream &o=std::cout, format fmt={}) |
| |
Definition at line 26 of file qmp.hh.
◆ self_t
◆ value_t
◆ abs()
◆ add()
◆ compare()
| static int vcsn::detail::qmp_impl::compare |
( |
const value_t & |
l, |
|
|
const value_t & |
r |
|
) |
| |
|
inlinestatic |
Three-way comparison between l and r.
Definition at line 132 of file qmp.hh.
◆ conv() [1/4]
◆ conv() [2/4]
◆ conv() [3/4]
◆ conv() [4/4]
| static value_t vcsn::detail::qmp_impl::conv |
( |
std::istream & |
i, |
|
|
bool |
= true |
|
) |
| |
|
inlinestatic |
◆ equal()
| static bool vcsn::detail::qmp_impl::equal |
( |
const value_t & |
l, |
|
|
const value_t & |
r |
|
) |
| |
|
inlinestatic |
Whether l == r.
Definition at line 138 of file qmp.hh.
◆ has_lightening_weights()
| static constexpr bool vcsn::detail::qmp_impl::has_lightening_weights |
( |
| ) |
|
|
inlinestatic |
◆ hash()
| static size_t vcsn::detail::qmp_impl::hash |
( |
const value_t & |
v | ) |
|
|
inlinestatic |
◆ is_commutative()
| static constexpr bool vcsn::detail::qmp_impl::is_commutative |
( |
| ) |
|
|
inlinestatic |
◆ is_one()
| static bool vcsn::detail::qmp_impl::is_one |
( |
const value_t & |
v | ) |
|
|
inlinestatic |
◆ is_special()
| static bool vcsn::detail::qmp_impl::is_special |
( |
const value_t & |
| ) |
|
|
inlinestatic |
◆ is_zero()
| static bool vcsn::detail::qmp_impl::is_zero |
( |
const value_t & |
v | ) |
|
|
inlinestatic |
◆ ldivide()
◆ less()
| static bool vcsn::detail::qmp_impl::less |
( |
const value_t & |
l, |
|
|
const value_t & |
r |
|
) |
| |
|
inlinestatic |
Whether < r.
Definition at line 144 of file qmp.hh.
◆ make()
| static qmp vcsn::detail::qmp_impl::make |
( |
std::istream & |
is | ) |
|
|
inlinestatic |
◆ max()
| static value_t vcsn::detail::qmp_impl::max |
( |
| ) |
|
|
inlinestatic |
◆ min()
| static value_t vcsn::detail::qmp_impl::min |
( |
| ) |
|
|
inlinestatic |
◆ mul()
◆ one()
| static value_t vcsn::detail::qmp_impl::one |
( |
| ) |
|
|
inlinestatic |
◆ print()
| static std::ostream& vcsn::detail::qmp_impl::print |
( |
const value_t & |
v, |
|
|
std::ostream & |
o = std::cout, |
|
|
format |
fmt = {} |
|
) |
| |
|
inlinestatic |
◆ print_set()
| std::ostream& vcsn::detail::qmp_impl::print_set |
( |
std::ostream & |
o, |
|
|
format |
fmt = {} |
|
) |
| const |
|
inline |
◆ rdivide()
◆ show_one()
| static constexpr bool vcsn::detail::qmp_impl::show_one |
( |
| ) |
|
|
inlinestatic |
◆ sname()
| static symbol vcsn::detail::qmp_impl::sname |
( |
| ) |
|
|
inlinestatic |
◆ star()
◆ star_status()
| static constexpr star_status_t vcsn::detail::qmp_impl::star_status |
( |
| ) |
|
|
inlinestatic |
◆ sub()
◆ transpose()
◆ value()
| static value_t vcsn::detail::qmp_impl::value |
( |
int |
num, |
|
|
unsigned |
den |
|
) |
| |
|
inlinestatic |
Create rational weight from num and den.
Definition at line 47 of file qmp.hh.
◆ zero()
| static value_t vcsn::detail::qmp_impl::zero |
( |
| ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: