specmat.cpp File Reference

Implementation of special vectors and matrices. More...

#include <itpp/base/specmat.h>
#include <itpp/base/math/elem_math.h>
#include <itpp/base/math/log_exp.h>
#include <itpp/base/matfunc.h>

Functions

ivec itpp::find (const bvec &invector)
 Return a integer vector with indicies where bvec == 1.
vec itpp::impulse (int size)
 Impulse vector.
vec itpp::linspace (double from, double to, int length=100)
 Linspace (works in the same way as the matlab version).
vec itpp::zigzag_space (double t0, double t1, int K=5)
 Zig-zag space function (variation on linspace).
imat itpp::hadamard (int size)
 Hadamard matrix.
imat itpp::jacobsthal (int p)
 Jacobsthal matrix.
imat itpp::conference (int n)
 Conference matrix.
template<>
const cmat itpp::toeplitz (const cvec &c)
 Generate symmetric Toeplitz matrix from vector c (complex valued).
mat itpp::rotation_matrix (int dim, int plane1, int plane2, double angle)
 Create a rotation matrix that rotates the given plane angle radians. Note that the order of the planes are important!
void itpp::house (const vec &x, vec &v, double &beta)
 Calcualte the Householder vector.
void itpp::givens (double a, double b, double &c, double &s)
 Calculate the Givens rotation values.
void itpp::givens (double a, double b, mat &m)
 Calculate the Givens rotation matrix.
mat itpp::givens (double a, double b)
 Calculate the Givens rotation matrix.
void itpp::givens_t (double a, double b, mat &m)
 Calculate the transposed Givens rotation matrix.
mat itpp::givens_t (double a, double b)
 Calculate the transposed Givens rotation matrix.
template void itpp::eye (int, mat &)
 Template instantiation of eye.
template void itpp::eye (int, bmat &)
 Template instantiation of eye.
template void itpp::eye (int, imat &)
 Template instantiation of eye.
template void itpp::eye (int, cmat &)
 Template instantiation of eye.


Detailed Description

Implementation of special vectors and matrices.

Author:
Tony Ottosson, Tobias Ringstrom, Pal Frenger, Adam Piatyszek and Erik G. Larsson
-------------------------------------------------------------------------

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

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ 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 3 of the License, or (at your option) any later version.

IT++ 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 IT++. If not, see <http://www.gnu.org/licenses/>.

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


Generated on Tue Jun 2 10:02:14 2009 for mixpp by  doxygen 1.5.8