#include <itpp/config.h>
#include <itpp/base/itassert.h>
#include <itpp/base/math/misc.h>
#include <itpp/base/factory.h>
#include <itpp/base/vec.h>
Go to the source code of this file.
Classes | |
| class | itpp::Mat< Num_T > |
| Matrix Class (Templated). More... | |
Typedefs | |
| typedef Mat< bin > | bmat |
| bin matrix | |
Functions | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::concat_horizontal (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Horizontal concatenation of two matrices. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::concat_vertical (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Vertical concatenation of two matrices. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator+ (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Addition of two matrices. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator+ (const Mat< Num_T > &m, Num_T t) |
| Addition of a matrix and a scalar. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator+ (Num_T t, const Mat< Num_T > &m) |
| Addition of a scalar and a matrix. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator- (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Subtraction of two matrices. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator- (const Mat< Num_T > &m, Num_T t) |
| Subtraction of matrix and scalar. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator- (Num_T t, const Mat< Num_T > &m) |
| Subtraction of scalar and matrix. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator- (const Mat< Num_T > &m) |
| Negation of matrix. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator* (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Multiplication of two matrices. | |
| template<class Num_T > | |
| Vec< Num_T > | itpp::operator* (const Mat< Num_T > &m, const Vec< Num_T > &v) |
| Multiplication of matrix and vector. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator* (const Mat< Num_T > &m, Num_T t) |
| Multiplication of matrix and scalar. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator* (Num_T t, const Mat< Num_T > &m) |
| Multiplication of scalar and matrix. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::elem_mult (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Element wise multiplication of two matrices. | |
| template<class Num_T > | |
| void | itpp::elem_mult_out (const Mat< Num_T > &m1, const Mat< Num_T > &m2, Mat< Num_T > &out) |
Element wise multiplication of two matrices, storing the result in matrix out. | |
| template<class Num_T > | |
| void | itpp::elem_mult_out (const Mat< Num_T > &m1, const Mat< Num_T > &m2, const Mat< Num_T > &m3, Mat< Num_T > &out) |
Element wise multiplication of three matrices, storing the result in matrix out. | |
| template<class Num_T > | |
| void | itpp::elem_mult_out (const Mat< Num_T > &m1, const Mat< Num_T > &m2, const Mat< Num_T > &m3, const Mat< Num_T > &m4, Mat< Num_T > &out) |
Element wise multiplication of four matrices, storing the result in matrix out. | |
| template<class Num_T > | |
| void | itpp::elem_mult_inplace (const Mat< Num_T > &m1, Mat< Num_T > &m2) |
| In-place element wise multiplication of two matrices. Fast version of B = elem_mult(A, B). | |
| template<class Num_T > | |
| Num_T | itpp::elem_mult_sum (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Element wise multiplication of two matrices, followed by summation of the resultant elements. Fast version of sumsum(elem_mult(A, B)). | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator/ (const Mat< Num_T > &m, Num_T t) |
| Element-wise division by a scalar. | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::operator/ (Num_T t, const Mat< Num_T > &m) |
Element-wise division (t is the dividend, elements of m are divisors). | |
| template<class Num_T > | |
| Mat< Num_T > | itpp::elem_div (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Element wise division of two matrices. | |
| template<class Num_T > | |
| void | itpp::elem_div_out (const Mat< Num_T > &m1, const Mat< Num_T > &m2, Mat< Num_T > &out) |
Element wise division of two matrices, storing the result in matrix out. | |
| template<class Num_T > | |
| Num_T | itpp::elem_div_sum (const Mat< Num_T > &m1, const Mat< Num_T > &m2) |
| Element wise division of two matrices, followed by summation of the resultant elements. Fast version of sumsum(elem_div(A, B)). | |
| template<class Num_T > | |
| std::ostream & | itpp::operator<< (std::ostream &os, const Mat< Num_T > &m) |
| Output stream for matrices. | |
| template<class Num_T > | |
| std::istream & | itpp::operator>> (std::istream &is, Mat< Num_T > &m) |
| Input stream for matrices. | |
-------------------------------------------------------------------------
Copyright (C) 1995-2008 (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/>.
-------------------------------------------------------------------------
1.5.8