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
59#include <Pds/Vector>
60#include <Pds/Matrix>
61#include <Pds/RaDefines>
62
63namespace Pds{
64
65
66
113 Pds::Vector PolyFit(const Pds::Vector &X,const Pds::Vector &Y, unsigned int N);
114
153 Pds::Matrix PolyMat(const Pds::Vector &X, unsigned int N);
154
178 Pds::Matrix PolyMat(double x, unsigned int N);
179
205
236
261 double PolyVal(const Pds::Vector &P,double x);
262
296 Pds::Vector PolyDer(const Pds::Vector &P,unsigned int N=1);
297
298
335
336
365
395 bool PolyAcc(Pds::Vector &Acc,const Pds::Vector &P);
396
431}
436#endif
437
La clase tipo Pds::Matrix . Esta clase genera una matriz de Nlin lineas y Ncol columnas....
Definition: Matrix.hpp:96
La clase tipo Pds::Vector . Esta clase genera una matriz de Nlin lineas y 1 columna....
Definition: Vector.hpp:80
Pds::Matrix PolyMat(const Pds::Vector &X, unsigned int N)
Retorna la Matriz de Vandermonde del vector X de M elementos.
Pds::Vector PolyAdd(const Pds::Vector &P, const Pds::Vector &Q)
Retorna la suma de los polinomio P(x) e Q(x).
Pds::Vector PolyVal(const Pds::Vector &P, const Pds::Vector &X)
Retorna El resultado de evaluar un polinomio P de grado N.
Pds::Vector PolyFit(const Pds::Vector &X, const 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::Vector PolyDer(const Pds::Vector &P, unsigned int N=1)
Retorna la derivada D del polinomio P(x).
Pds::Vector PolyPoly(const Pds::Vector &P, const Pds::Vector &Q)
Dados los polinomios P(x) y P(x), la función retorna la evaluación de P(Q(x)).
bool PolyAcc(Pds::Vector &Acc, const Pds::Vector &P)
Retorna la suma de los polinomio Acc(x) e P(x).
Pds::Vector PolyMul(const Pds::Vector &P, const Pds::Vector &Q)
Retorna la multiplicación de los polinomio P(x) e Q(x).
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