Home | Develop | Download | Contact
FuncMatrixSampleBlock.hpp
1/*
2 * FuncMatrixSampleBlock.hpp
3 *
4 * Copyright 2018 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 *
21 */
22
31#ifndef __PDS_MATRIXFUNCSAMPLEBLOCK_HPP__
32#define __PDS_MATRIXFUNCSAMPLEBLOCK_HPP__
33
34
45#include <Pds/Matrix>
46
47
48namespace Pds{
49
50
63 Pds::SampleBlock RandN(unsigned int Nch, const Pds::Size &Sz);
64
72 Pds::SampleBlock Zeros(unsigned int Nch, const Pds::Size &Sz);
99
118
137
155
173
195 Pds::Matrix MixSampleBlock(const Pds::SampleBlock &A,const std::vector<double> &w);
196
209
230}
231
232
248 std::ostream& operator<<(std::ostream &out,const Pds::SampleBlock &A);
249
276
295
314
332
350
360#endif
361
La clase tipo Pds::Matrix . Esta clase genera una matriz de Nlin lineas y Ncol columnas....
Definition: Matrix.hpp:96
La clase tipo Pds::Size . Esta clase genera un objeto con dos parametros Nlin y Ncol....
Definition: Size.hpp:57
La clase tipo Pds::Vector . Esta clase genera una matriz de Nlin lineas y 1 columna....
Definition: Vector.hpp:80
Pds::Matrix RandN(unsigned int N)
Crea una matriz con datos aleatórios con distribución Normal de media cero 0.0 y desvío padrón 1....
Pds::Matrix Zeros(const Pds::Size &S)
Retorna una matriz con ceros.
Pds::Matrix MixSampleBlock(const Pds::SampleBlock &A, const std::vector< double > &w)
Retorna la suma ponderada todos los canales de una Pds::SampleBlock.
Pds::SampleBlock operator+(const Pds::SampleBlock &A, const Pds::SampleBlock &B)
Suma dos datos de tipo Pds::SampleBlock.
std::ostream & operator<<(std::ostream &out, const Pds::SampleBlock &A)
Retorna el contenido del Pds::SampleBlock por la salida estándar.
Pds::SampleBlock Add(const Pds::SampleBlock &A, const Pds::SampleBlock &B)
Suma dos datos de tipo Pds::SampleBlock.
std::vector< Pds::Matrix > SampleBlock
Definición de un tipo de dato Pds::SampleBlock.
Definition: Matrix.hpp:8147
Nombre de espacio para Pds (Procesamiento Digital de Senales)
Definition: AbstractRV.hpp:42

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed