isce3  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
BMFS.h
1 // Copyright (c) 2017-, California Institute of Technology ("Caltech"). U.S.
2 // Government sponsorship acknowledged.
3 // All rights reserved.
4 //
5 // Author(s):
6 //
7 // file BMFS.h -- Basic Math FunctionS
8 // author Xiaoqing Wu
9 
10 #pragma once
11 
12 #include <math.h>
13 #include <stdlib.h>
14 #include "Point.h"
15 
16 long long i_pow(int base, int power);
17 int i_fftlength(int nr_pixels);
18 int nint(float val); // nearest integer
19 int nint(double val); // nearest integer
20 int nint(long double val); // nearest integer
21 int i_floor(double val); // floor integer
22 
23 double square(double x); // return x*x
24 double cube(double x); // return x*x*x
25 
26 int i_max(int a, int b);
27 int i_min(int a, int b);
28 double d_max(double d_a, double d_b);
29 double d_min(double d_a, double d_b);
30 
31 D2point mean_std(int items, double *input);
32 void moving_window_average(int items, double *input, int window_length, double ped = 0.08); // ped: 1 for uniform; 0.5 Hanning; 0.08
33 //double *moving_window_average(int items, double *input, int window_length);
34 
35 double *standard_deviation(int items, double *input, int window_length, double *mean = NULL);
36 
37 double sinc(double x);
Definition: Point.h:387

Generated for ISCE3.0 by doxygen 1.8.5.