carl
24.04
Computer ARithmetic Library
|
#include <carl-logging/carl-logging.h>
#include <carl-arith/numbers/numbers.h>
#include <functional>
#include <iostream>
Go to the source code of this file.
Namespaces | |
carl | |
carl is the main namespace for the library. | |
Enumerations | |
enum class | carl::Sign { carl::NEGATIVE = -1 , carl::ZERO = 0 , carl::POSITIVE = 1 } |
This class represents the sign of a number . More... | |
Functions | |
std::ostream & | carl::operator<< (std::ostream &os, const Sign &sign) |
template<typename Number > | |
Sign | carl::sgn (const Number &n) |
Obtain the sign of the given number. More... | |
template<typename InputIterator > | |
std::size_t | carl::sign_variations (InputIterator begin, InputIterator end) |
Counts the number of sign variations in the given object range. More... | |
template<typename InputIterator , typename Function > | |
std::size_t | carl::sign_variations (InputIterator begin, InputIterator end, const Function &f) |
Counts the number of sign variations in the given object range. More... | |
Definition in file Sign.h.