#include <limits>
#include <Eigen/Core>
Go to the source code of this file.
Namespaces | |
namespace | QuCoSi |
Typedefs | |
typedef double | QuCoSi::fptype |
typedef std::complex< fptype > | QuCoSi::field |
typedef Eigen::Matrix< field, Eigen::Dynamic, 1 > | QuCoSi::VectorXc |
typedef Eigen::Matrix< field, Eigen::Dynamic, Eigen::Dynamic > | QuCoSi::MatrixXc |
Functions | |
bool | QuCoSi::is_zero (const fptype x) |
Checks if x is approximately zero. | |
bool | QuCoSi::is_one (const fptype x) |
Checks if x is approximately one. | |
int | QuCoSi::log2 (const unsigned value) |
Computes the binary logarithm of the integer value . | |
int | QuCoSi::bwise_bin_dot (const long x, const long y) |
Computes the modulo-2 sum of the products of corresponding bits of the integers x and y . | |
Variables | |
const double | QuCoSi::c_pi |
const double | QuCoSi::c_sqrt1_2 |