IT++ Logo Newcom Logo

specmat.h File Reference

Definitions of special vectors and matrices. More...

#include <itpp/base/vec.h>
#include <itpp/base/mat.h>

Go to the source code of this file.

Namespaces

namespace  itpp

Functions

vec ones (int size)
 A float vector of ones.
bvec ones_b (int size)
 A Binary vector of ones.
ivec ones_i (int size)
 A Int vector of ones.
cvec ones_c (int size)
 A float Complex vector of ones.
mat ones (int rows, int cols)
 A float (rows,cols)-matrix of ones.
bmat ones_b (int rows, int cols)
 A Binary (rows,cols)-matrix of ones.
imat ones_i (int rows, int cols)
 A Int (rows,cols)-matrix of ones.
cmat ones_c (int rows, int cols)
 A Double Complex (rows,cols)-matrix of ones.
vec zeros (int size)
 A Double vector of zeros.
bvec zeros_b (int size)
 A Binary vector of zeros.
ivec zeros_i (int size)
 A Int vector of zeros.
cvec zeros_c (int size)
 A Double Complex vector of zeros.
mat zeros (int rows, int cols)
 A Double (rows,cols)-matrix of zeros.
bmat zeros_b (int rows, int cols)
 A Binary (rows,cols)-matrix of zeros.
imat zeros_i (int rows, int cols)
 A Int (rows,cols)-matrix of zeros.
cmat zeros_c (int rows, int cols)
 A Double Complex (rows,cols)-matrix of zeros.
mat eye (int size)
 A Double (size,size) unit matrix.
bmat eye_b (int size)
 A Binary (size,size) unit matrix.
imat eye_i (int size)
 A Int (size,size) unit matrix.
cmat eye_c (int size)
 A Double Complex (size,size) unit matrix.
template<class T>
void eye (int size, Mat< T > &m)
 A non-copying version of the eye function.


Detailed Description

Definitions 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.h.

SourceForge Logo

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