smat.h File Reference

Sparse Matrix Class Definitions. More...

`#include <itpp/base/svec.h>`
`#include <itpp/itexports.h>`

Go to the source code of this file.

## Classes

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

## Namespaces

| 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 More...
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 More...
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 More...
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 More...
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 More...
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 More...
template<class T >
Mat< T > | itpp::trans_mult (const Sparse_Mat< T > &m)
| m'*m where m is a sparse matrix More...
template<class T >
Sparse_Mat< T > | itpp::trans_mult_s (const Sparse_Mat< T > &m)
| m'*m where m is a sparse matrix More...
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 More...
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 More...
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 More...
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

Copyright (C) 1995-2010 (see AUTHORS file for a list of contributors)

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ 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 3 of the License, or (at your option) any later version.

IT++ 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 IT++. If not, see http://www.gnu.org/licenses/.

Definition in file smat.h.

Generated on Tue Aug 17 2021 10:59:15 for IT++ by Doxygen 1.9.1