IT++ Logo Newcom Logo

specmat.cpp File Reference

Implementation of special vectors and matrices. More...

#include <itpp/base/specmat.h>
#include <itpp/base/elmatfunc.h>
#include <itpp/base/matfunc.h>
#include <itpp/base/stat.h>

Go to the source code of this file.

Namespaces

namespace  itpp

Functions

ivec find (const bvec &invector)
 Return a integer vector with indicies where bvec == 1.
vec impulse (int size)
 Impulse vector.
vec linspace (double from, double to, int points)
 Linspace (works in the same way as the matlab version).
imat hadamard (int size)
 Hadamard matrix.
imat jacobsthal (int p)
 Jacobsthal matrix.
imat conference (int n)
 Conference matrix.
cmat toeplitz (const cvec &c, const cvec &r)
 Computes the Hermitian Toeplitz matrix.
cmat toeplitz (const cvec &c)
 Computes the Hermitian Toeplitz matrix.
mat toeplitz (const vec &c, const vec &r)
 Computes the Hermitian Toeplitz matrix.
mat toeplitz (const vec &c)
 Computes the Hermitian Toeplitz matrix.
mat 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 house (const vec &x, vec &v, double &beta)
 Calcualte the Householder vector.
void givens (double a, double b, double &c, double &s)
 Calculate the Givens rotation values.
void givens (double a, double b, mat &m)
 Calculate the Givens rotation matrix.
mat givens (double a, double b)
 Calculate the Givens rotation matrix.
void givens_t (double a, double b, mat &m)
 Calculate the transposed Givens rotation matrix.
mat givens_t (double a, double b)
 Calculate the transposed Givens rotation matrix.
template void eye (int, mat &)
 Template instantiation of eye.
template void eye (int, bmat &)
 Template instantiation of eye.
template void eye (int, imat &)
 Template instantiation of eye.
template void eye (int, cmat &)
 Template instantiation of eye.


Detailed Description

Implementation of special vectors and matrices.

Author:
Tony Ottosson, Tobias Ringstrom, Pal Frenger and Adam Piatyszek
Date
2007-06-19 10:10:39 +0200 (Tue, 19 Jun 2007)
Revision
1067

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

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

Copyright (C) 1995-2007 (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 specmat.cpp.


Function Documentation

template void eye int  ,
mat & 
 

Template instantiation of eye.

template void eye int  ,
bmat & 
 

Template instantiation of eye.

template void eye int  ,
imat & 
 

Template instantiation of eye.

template void eye int  ,
cmat & 
 

Template instantiation of eye.

SourceForge Logo

Generated on Fri Jan 11 08:51:39 2008 for IT++ by Doxygen 1.3.9.1