IT++ Logo

misc.h File Reference

Miscellaneous functions - header file. More...

#include <itpp/config.h>
#include <complex>
#include <string>
#include <limits>

Go to the source code of this file.


Namespaces

namespace  std
 STL namespace.
namespace  itpp
 itpp namespace

Functions

template<class T >
std::ostream & std::operator<< (std::ostream &os, const std::complex< T > &x)
template<class T >
std::istream & std::operator>> (std::istream &is, std::complex< T > &x)
 Input stream operator for complex numbers.
bool itpp::is_int (double x)
 Return true if x is an integer.
bool itpp::is_even (int x)
 Return true if x is an even integer.
std::string itpp::itpp_version ()
 Returns IT++ library version number, e.g. "3.7.1".
bool itpp::check_big_endianness ()
 Returns machine endianness: big-endian = true; little-endian = false.

Variables

const double itpp::pi = 3.14159265358979323846
 Constant Pi.
const double itpp::m_2pi = 2 * pi
 Constant 2*Pi.
const double itpp::eps = std::numeric_limits<double>::epsilon()
 Constant eps.


Detailed Description

Miscellaneous functions - header file.

Author:
Tony Ottosson, Adam Piatyszek and Conrad Sanderson
-------------------------------------------------------------------------

IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions

Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

-------------------------------------------------------------------------

Definition in file misc.h.

SourceForge Logo

Generated on Thu Apr 23 20:06:48 2009 for IT++ by Doxygen 1.5.8