Home | Develop | Download | Contact
FuncVectorPoly.hpp
1 /*
2  * FuncVectorPoly.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 
34 #ifndef __PDS_VECTORPOLY_HPP__
35 #define __PDS_VECTORPOLY_HPP__
36 
37 
57 #include <Pds/Vector>
58 #include <Pds/Matrix>
59 #include <Pds/RaDefines>
60 
61 namespace Pds{
62 
63 
64 
91  Pds::Vector PolyFit(Pds::Vector X, Pds::Vector Y, unsigned int N);
92 
117  Pds::Matrix PolyMat(Pds::Vector X, unsigned int N);
118 
131  Pds::Matrix PolyMat(double x, unsigned int N);
132 
147 
162 
177 
201  Pds::Vector PolyDer(Pds::Vector P,unsigned int N=1);
202 
203 
229 
252 }
257 #endif
258 
La clase tipo Pds::Matrix . Esta clase genera una matriz de Nlin lineas y Ncol columnas....
Definition: Matrix.hpp:86
La clase tipo Pds::Vector . Esta clase genera una matriz de Nlin lineas y 1 columna....
Definition: Vector.hpp:78
Pds::Vector PolyFit(Pds::Vector X, Pds::Vector Y, unsigned int N)
Retorna Un polinomio de grado N con el menor error cuadrático medio para el par X e Y.
Pds::Matrix PolyMat(Pds::Vector X, unsigned int N)
Retorna la Matriz de Vandermonde del vector X de M elementos.
Pds::Vector PolyMul(Pds::Vector &P, Pds::Vector &Q)
Retorna la multiplicación de los polinomio P(x) e Q(x).
Pds::Vector PolyVal(Pds::Vector P, Pds::Vector X)
Retorna El resultado de evaluar un polinomio P de grado N.
Pds::Vector PolyDer(Pds::Vector P, unsigned int N=1)
Retorna la derivada D del polinomio P(x).
Pds::Vector PolyAdd(Pds::Vector &P, Pds::Vector &Q)
Retorna la suma de los polinomio P(x) e Q(x).
Nombre de espacion para PDS (Procesamiento Digital de Senales)
Definition: RaFile.hpp:47

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed