#include <itpp/config.h>
#include <string>
#include <complex>
#include <itpp/itconfig.h>
#include <itpp/base/itassert.h>
#include <itpp/base/factory.h>
#include <itpp/base/vec.h>
Go to the source code of this file.
Namespaces | |
namespace | itpp |
Classes | |
class | itpp::Mat< Num_T > |
Templated Matrix Class. More... | |
Typedefs | |
typedef Mat< double > | mat |
Default Matrix Type. | |
typedef Mat< std::complex< double > > | cmat |
Default Complex Matrix Type. | |
typedef Mat< int > | imat |
Integer matrix. | |
typedef Mat< short int > | smat |
short int matrix | |
typedef Mat< bin > | bmat |
bin matrix | |
Functions | |
template<class Num_T> | |
const Mat< Num_T > | concat_horizontal (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Concatenate the matrices m1 and m2 horizontally. | |
template<class Num_T> | |
const Mat< Num_T > | concat_vertical (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Concatenate the matrices m1 and m2 vertically. | |
template<class Num_T> | |
const Mat< Num_T > | operator+ (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Addition of two matrices. | |
template<class Num_T> | |
const Mat< Num_T > | operator+ (const Mat< Num_T > &m, Num_T t) |
Addition of matrix and scalar. | |
template<class Num_T> | |
const Mat< Num_T > | operator+ (Num_T t, const Mat< Num_T > &m) |
Addition of scalar and matrix. | |
template<class Num_T> | |
const Mat< Num_T > | operator- (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Subtraction of m2 from m1 . | |
template<class Num_T> | |
const Mat< Num_T > | operator- (const Mat< Num_T > &m, Num_T t) |
Subraction of scalar from matrix. | |
template<class Num_T> | |
const Mat< Num_T > | operator- (Num_T t, const Mat< Num_T > &m) |
Subtract matrix from scalar. | |
template<class Num_T> | |
const Mat< Num_T > | operator- (const Mat< Num_T > &m) |
Subraction of matrix. | |
template<class Num_T> | |
const Mat< Num_T > | operator * (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Multiplication of two matrices. | |
template<class Num_T> | |
const Vec< Num_T > | operator * (const Mat< Num_T > &m, const Vec< Num_T > &v) |
Multiplication of matrix m and vector v (column vector). | |
template<class Num_T> | |
const Mat< Num_T > | operator * (const Vec< Num_T > &v, const Mat< Num_T > &m) |
Multiplication of transposed vector v and matrix m . | |
template<class Num_T> | |
const Mat< Num_T > | operator * (const Mat< Num_T > &m, Num_T t) |
Multiplication of matrix and scalar. | |
template<class Num_T> | |
const Mat< Num_T > | operator * (Num_T t, const Mat< Num_T > &m) |
Multiplication of scalar and matrix. | |
template<class Num_T> | |
const Mat< Num_T > | elem_mult (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Elementwise multiplication of two matrices. | |
template<class Num_T> | |
const Mat< Num_T > | operator/ (const Mat< Num_T > &m, Num_T t) |
Division of matrix with scalar. | |
template<class Num_T> | |
const Mat< Num_T > | elem_div (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
Elementwise division of matrix m1 with matrix m2 . | |
template<> | |
const vec | operator * (const mat &m, const vec &v) |
template<> | |
const cvec | operator * (const cmat &m, const cvec &v) |
template<class Num_T> | |
std::ostream & | operator<< (std::ostream &os, const Mat< Num_T > &m) |
template<class Num_T> | |
std::istream & | operator>> (std::istream &is, Mat< Num_T > &m) |
-------------------------------------------------------------------------
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 mat.h.
|
Default Matrix Type.
|
|
Default Complex Matrix Type.
|
|
Integer matrix.
|
|
short int matrix
|
|
bin matrix
|
|
Concatenate the matrices
|
|
Concatenate the matrices
|
|
Addition of two matrices.
|
|
Addition of matrix and scalar.
|
|
Addition of scalar and matrix.
|
|
Subtraction of
|
|
Subraction of scalar from matrix.
|
|
Subtract matrix from scalar.
|
|
Subraction of matrix.
|
|
Multiplication of two matrices.
|
|
Multiplication of matrix
|
|
Multiplication of transposed vector
|
|
Multiplication of matrix and scalar.
|
|
Multiplication of scalar and matrix.
|
|
Elementwise multiplication of two matrices.
|
|
Division of matrix with scalar.
|
|
Elementwise division of matrix
|
Generated on Fri Jan 11 08:51:39 2008 for IT++ by Doxygen 1.3.9.1