IT++ Logo

smat.h File Reference

Sparse Matrix Class Definitions. More...

#include <itpp/config.h>
#include <itpp/base/svec.h>

Go to the source code of this file.


Classes

class  itpp::Sparse_Mat< T >
 Templated Sparse Matrix Class. More...

Namespaces

namespace  itpp
 itpp namespace

Functions

template<class T >
Sparse_Mat< T > itpp::operator+ (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 m1+m2 where m1 and m2 are sparse matrices
template<class T >
Sparse_Mat< T > itpp::operator* (const T &c, const Sparse_Mat< T > &m)
 c*m where c is a scalar and m is a sparse matrix
template<class T >
Sparse_Mat< T > itpp::operator* (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 m1*m2 where m1 and m2 are sparse matrices
template<class T >
Sparse_Vec< T > itpp::operator* (const Sparse_Mat< T > &m, const Sparse_Vec< T > &v)
 m*v where m is a sparse matrix and v is a sparse vector
template<class T >
Vec< T > itpp::operator* (const Sparse_Mat< T > &m, const Vec< T > &v)
 m*v where m is a sparse matrix and v is a full column vector
template<class T >
Vec< T > itpp::operator* (const Vec< T > &v, const Sparse_Mat< T > &m)
 v'*m where m is a sparse matrix and v is a full column vector
template<class T >
Mat< T > itpp::trans_mult (const Sparse_Mat< T > &m)
 m'*m where m is a sparse matrix
template<class T >
Sparse_Mat< T > itpp::trans_mult_s (const Sparse_Mat< T > &m)
 m'*m where m is a sparse matrix
template<class T >
Sparse_Mat< T > itpp::trans_mult (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 m1'*m2 where m1 and m2 are sparse matrices
template<class T >
Vec< T > itpp::trans_mult (const Sparse_Mat< T > &m, const Vec< T > &v)
 m'*v where m is a sparse matrix and v is a full column vector
template<class T >
Sparse_Mat< T > itpp::mult_trans (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 m1*m2' where m1 and m2 are sparse matrices
template<class T >
Sparse_Mat< T > itpp::sparse (const Mat< T > &m, T epsilon)
 Convert a dense matrix m into its sparse representation.
template<class T >
Mat< T > itpp::full (const Sparse_Mat< T > &s)
 Convert a sparse matrix s into its dense representation.
template<class T >
Sparse_Mat< T > itpp::transpose (const Sparse_Mat< T > &s)
 Transpose a sparse matrix s.


Detailed Description

Sparse Matrix Class Definitions.

Author:
Tony Ottosson and Tobias Ringstrom
-------------------------------------------------------------------------

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

SourceForge Logo

Generated on Sun Jul 26 08:54:59 2009 for IT++ by Doxygen 1.5.9