IT++ Logo Newcom Logo

smat.h File Reference

Sparse Matrix Class Definitions. More...

#include <itpp/base/svec.h>

Go to the source code of this file.

Namespaces

namespace  itpp

Classes

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

Functions

template<class T>
Sparse_Mat< T > itpp::operator+ (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 Addition 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)
 Multiplication 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)
 Multiplication 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)
 Multiplication 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)
 Multiplication 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)
 Multiplication 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)
 Multiplication m'*m where m is a sparse matrix. Returns a full, dense matrix.
template<class T>
Sparse_Mat< T > itpp::trans_mult_s (const Sparse_Mat< T > &m)
 Multiplication m'*m where m is a sparse matrix, Returns a sparse matrix.
template<class T>
Sparse_Mat< T > itpp::trans_mult (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 Multiplication 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)
 Multiplication 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)
 Multiplication m1*m2' where m1 and m2 are sparse matrices.
template<class T>
Sparse_Mat< T > itpp::sparse (const Mat< T > &m, T epsilon)
template<class T>
Mat< T > itpp::full (const Sparse_Mat< T > &s)
template<class T>
Sparse_Mat< T > itpp::transpose (const Sparse_Mat< T > &s)
template sparse_imat itpp::operator+ (const sparse_imat &, const sparse_imat &)
 Template instantiation of operator+.
template sparse_mat itpp::operator+ (const sparse_mat &, const sparse_mat &)
 Template instantiation of operator+.
template sparse_cmat itpp::operator+ (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of operator+.
template sparse_imat itpp::operator * (const sparse_imat &, const sparse_imat &)
 Template instantiation of operator*.
template sparse_mat itpp::operator * (const sparse_mat &, const sparse_mat &)
 Template instantiation of operator*.
template sparse_cmat itpp::operator * (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of operator*.
template ivec itpp::operator * (const ivec &, const sparse_imat &)
 Template instantiation of operator*.
template vec itpp::operator * (const vec &, const sparse_mat &)
 Template instantiation of operator*.
template cvec itpp::operator * (const cvec &, const sparse_cmat &)
 Template instantiation of operator*.
template ivec itpp::operator * (const sparse_imat &, const ivec &)
 Template instantiation of operator*.
template vec itpp::operator * (const sparse_mat &, const vec &)
 Template instantiation of operator*.
template cvec itpp::operator * (const sparse_cmat &, const cvec &)
 Template instantiation of operator*.
template imat itpp::trans_mult (const sparse_imat &)
 Template instantiation of trans_mult.
template mat itpp::trans_mult (const sparse_mat &)
 Template instantiation of trans_mult.
template cmat itpp::trans_mult (const sparse_cmat &)
 Template instantiation of trans_mult.
template sparse_imat itpp::trans_mult_s (const sparse_imat &)
 Template instantiation of trans_mult_s.
template sparse_mat itpp::trans_mult_s (const sparse_mat &)
 Template instantiation of trans_mult_s.
template sparse_cmat itpp::trans_mult_s (const sparse_cmat &)
 Template instantiation of trans_mult_s.
template sparse_imat itpp::trans_mult (const sparse_imat &, const sparse_imat &)
 Template instantiation of trans_mult.
template sparse_mat itpp::trans_mult (const sparse_mat &, const sparse_mat &)
 Template instantiation of trans_mult.
template sparse_cmat itpp::trans_mult (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of trans_mult.
template ivec itpp::trans_mult (const sparse_imat &, const ivec &)
 Template instantiation of trans_mult.
template vec itpp::trans_mult (const sparse_mat &, const vec &)
 Template instantiation of trans_mult.
template cvec itpp::trans_mult (const sparse_cmat &, const cvec &)
 Template instantiation of trans_mult.
template sparse_imat itpp::mult_trans (const sparse_imat &, const sparse_imat &)
 Template instantiation of mult_trans.
template sparse_mat itpp::mult_trans (const sparse_mat &, const sparse_mat &)
 Template instantiation of mult_trans.
template sparse_cmat itpp::mult_trans (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of mult_trans.


Detailed Description

Sparse Matrix Class Definitions.

Author:
Tony Ottosson and Tobias Ringstrom
Date
2006-07-12 11:31:45 +0200 (śro, 12 lip 2006)
Revision
523

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

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

SourceForge Logo

Generated on Wed Apr 18 11:23:35 2007 for IT++ by Doxygen 1.5.2