#include <itpp/base/vec.h>
#include <itpp/base/mat.h>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Functions | |
bvec | itpp::dec2bin (int length, int index) |
Convert a decimal int index to bvec using length bits in the representation. | |
void | itpp::dec2bin (int index, bvec &v) |
Convert a decimal int index to bvec. Value returned in v. | |
bvec | itpp::dec2bin (int index, bool msb_first=true) |
Convert a decimal int index to bvec with the first bit as MSB if msb_first == true. | |
int | itpp::bin2dec (const bvec &inbvec, bool msb_first=true) |
Convert a bvec to decimal int with the first bit as MSB if msb_first == true. | |
bvec | itpp::oct2bin (const ivec &octalindex, short keepzeros=0) |
Convert ivec of octal form to bvec. | |
ivec | itpp::bin2oct (const bvec &inbits) |
Convert bvec to octal ivec. | |
ivec | itpp::bin2pol (const bvec &inbvec) |
Convert bvec to polar binary representation as ivec. | |
bvec | itpp::pol2bin (const ivec &inpol) |
Convert binary polar ivec to bvec. | |
template<typename T> | |
std::string | itpp::to_str (const T &i) |
Convert anything to string. | |
std::string | itpp::to_str (const double &i, const int precision) |
Convert double to string. | |
template bvec | itpp::to_bvec (const svec &v) |
Template instantiation of to_bvec. | |
template bvec | itpp::to_bvec (const Vec< int > &v) |
Template instantiation of to_bvec. | |
template svec | itpp::to_svec (const bvec &v) |
Template instantiation of to_svec. | |
template svec | itpp::to_svec (const ivec &v) |
Template instantiation of to_svec. | |
template svec | itpp::to_svec (const svec &v) |
Template instantiation of to_svec. | |
template ivec | itpp::to_ivec (const bvec &v) |
Template instantiation of to_ivec. | |
template ivec | itpp::to_ivec (const svec &v) |
Template instantiation of to_ivec. | |
template ivec | itpp::to_ivec (const ivec &v) |
Template instantiation of to_ivec. | |
template ivec | itpp::to_ivec (const vec &v) |
Template instantiation of to_ivec. | |
template vec | itpp::to_vec (const bvec &v) |
Template instantiation of to_vec. | |
template vec | itpp::to_vec (const svec &v) |
Template instantiation of to_vec. | |
template vec | itpp::to_vec (const ivec &v) |
Template instantiation of to_vec. | |
template vec | itpp::to_vec (const vec &v) |
Template instantiation of to_vec. | |
template cvec | itpp::to_cvec (const svec &v) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const ivec &v) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const vec &v) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const cvec &v) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const bvec &real, const bvec &imag) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const svec &real, const svec &imag) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const ivec &real, const ivec &imag) |
Template instantiation of to_cvec. | |
template cvec | itpp::to_cvec (const vec &real, const vec &imag) |
Template instantiation of to_cvec. | |
template bmat | itpp::to_bmat (const smat &m) |
Template instantiation of to_bmat. | |
template bmat | itpp::to_bmat (const imat &m) |
Template instantiation of to_bmat. | |
template smat | itpp::to_smat (const bmat &m) |
Template instantiation of to_bmat. | |
template smat | itpp::to_smat (const imat &m) |
Template instantiation of to_bmat. | |
template imat | itpp::to_imat (const bmat &m) |
Template instantiation of to_imat. | |
template imat | itpp::to_imat (const smat &m) |
Template instantiation of to_imat. | |
template imat | itpp::to_imat (const imat &m) |
Template instantiation of to_imat. | |
template imat | itpp::to_imat (const mat &m) |
template mat | itpp::to_mat (const bmat &m) |
Template instantiation of to_mat. | |
template mat | itpp::to_mat (const smat &m) |
Template instantiation of to_mat. | |
template mat | itpp::to_mat (const imat &m) |
Template instantiation of to_mat. | |
template mat | itpp::to_mat (const mat &m) |
Template instantiation of to_mat. | |
template cmat | itpp::to_cmat (const smat &m) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const imat &m) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const mat &m) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const cmat &m) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const bmat &real, const bmat &imag) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const smat &real, const smat &imag) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const imat &real, const imat &imag) |
Template instantiation of to_cmat. | |
template cmat | itpp::to_cmat (const mat &real, const mat &imag) |
Template instantiation of to_cmat. |
-------------------------------------------------------------------------
IT++ - C++ library of mathematical, signal processing, speech processing, and communications classes and functions
Copyright (C) 1995-2006 (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 converters.h.
Generated on Thu Apr 19 14:18:32 2007 for IT++ by Doxygen 1.5.1