UQTk: Uncertainty Quantification Toolkit 3.1.5
|
Command-line utility for KDE given samples. More...
#include <cstdio>
#include <stddef.h>
#include <fstream>
#include <string>
#include <math.h>
#include <iostream>
#include <getopt.h>
#include "Array1D.h"
#include "Array2D.h"
#include "assert.h"
#include "tools.h"
#include "arrayio.h"
#include "arraytools.h"
Macros | |
#define | FILE_IN "data_in.dat" |
default input file | |
#define | GRID 100 |
default number of grid pts in each dimension | |
#define | N_CL 1 |
default number of clusters | |
#define | BFAC 1.0 |
default bandwidth scale factor | |
Functions | |
int | usage () |
Displays information about this program. | |
int | main (int argc, char *argv[]) |
Program to compute PDF via KDE given samples. | |
Command-line utility for KDE given samples.
#define BFAC 1.0 |
default bandwidth scale factor
#define FILE_IN "data_in.dat" |
default input file
#define GRID 100 |
default number of grid pts in each dimension
#define N_CL 1 |
default number of clusters
int main | ( | int | argc, |
char * | argv[] ) |
Program to compute PDF via KDE given samples.
Read the user input
Input checks
Prepare grid
Compute densities
Write PDF to file
int usage | ( | ) |
Displays information about this program.