Home | Develop | Download | Contact
FuncVector.hpp
1/*
2 * FuncVector.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_VECTORFUNC_HPP__
35#define __PDS_VECTORFUNC_HPP__
36
37
59#include <Pds/Vector>
60
61
62namespace Pds{
63
90 double DistancePointToPlane(const Pds::Vector &P,const Pds::Vector &W,bool Sign=false);
91
126 Vector LinSpace(double start,double end,unsigned int N);
127
128
171 Vector GeomSpace(double start,double end,unsigned int N);
172
173
190 Vector Range(int start,int end);
191
215 Vector X2D(void);
216
231 Vector Y2D(void);
256 Vector X3D(void);
257
273 Vector Y3D(void);
274
290 Vector Z3D(void);
296}
301#endif
302
La clase tipo Pds::Vector . Esta clase genera una matriz de Nlin lineas y 1 columna....
Definition: Vector.hpp:80
Vector Range(int start, int end)
Retorna un vector con elementos enteros desde start hasta end inclusive.
Vector X3D(void)
Retorna una matriz vector columna eje X en 3 dimensiones.
Vector GeomSpace(double start, double end, unsigned int N)
Retorna un vector con elementos desde start hasta end con N elementos.
Vector Y3D(void)
Retorna una matriz vector columna eje Y en 3 dimensiones.
Vector Y2D(void)
Retorna una matriz vector columna eje Y en 2 dimensiones.
Vector X2D(void)
Retorna una matriz vector columna eje X en 2 dimensiones.
Vector Z3D(void)
Retorna una matriz vector columna eje Z en 3 dimensiones.
double DistancePointToPlane(const Pds::Vector &P, const Pds::Vector &W, bool Sign=false)
Retorna la distancia de un punto hasta un plano .
Vector LinSpace(double start, double end, unsigned int N)
Retorna un vector con elementos desde start hasta end con N elementos.
double Sign(double x)
Retorna el resultado de evaluar la función Sign.
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