#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... | |
Typedefs | |
typedef Sparse_Mat< int > | sparse_imat |
Sparse integer matrix. | |
typedef Sparse_Mat< double > | sparse_mat |
Sparse double matrix. | |
typedef Sparse_Mat< std::complex< double > > | sparse_cmat |
Sparse complex<double> matrix. | |
Functions | |
template<class T> | |
Sparse_Mat< T > | 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 > | 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 > | 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 > | 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 > | 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 > | 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 > | 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 > | 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 > | 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 > | 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 > | 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 > | sparse (const Mat< T > &m, T epsilon) |
template<class T> | |
Mat< T > | full (const Sparse_Mat< T > &s) |
template<class T> | |
Sparse_Mat< T > | transpose (const Sparse_Mat< T > &s) |
-------------------------------------------------------------------------
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 smat.h.
|
Sparse integer matrix.
|
|
Sparse double matrix.
|
|
Sparse complex<double> matrix.
|
|
Addition m1+m2 where m1 and m2 are sparse matrices.
|
|
Multiplication c*m where c is a scalar and m is a sparse matrix.
|
|
Multiplication m1*m2 where m1 and m2 are sparse matrices.
|
|
Multiplication m*v where m is a sparse matrix and v is a sparse vector.
|
|
Multiplication m*v where m is a sparse matrix and v is a full column vector.
|
|
Multiplication v'*m where m is a sparse matrix and v is a full column vector.
|
|
Multiplication m'*m where m is a sparse matrix. Returns a full, dense matrix.
|
|
Multiplication m'*m where m is a sparse matrix, Returns a sparse matrix.
|
|
Multiplication m1'*m2 where m1 and m2 are sparse matrices.
|
|
Multiplication m'*v where m is a sparse matrix and v is a full column vector.
|
|
Multiplication m1*m2' where m1 and m2 are sparse matrices.
|
Generated on Fri Jan 11 08:51:39 2008 for IT++ by Doxygen 1.3.9.1