STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
spatial.c File Reference
#include "common.h"
#include "starsh.h"
#include "starsh-spatial.h"
Include dependency graph for spatial.c:

Macros

#define PI   3.14159265358979323846264338327950288
 
#define earthRadiusKm   6371.0
 

Functions

int starsh_ssdata_new (STARSH_ssdata **data, STARSH_int count, int ndim)
 Allocate memory for STARSH_ssdata object. More...
 
int starsh_ssdata_init (STARSH_ssdata **data, STARSH_int count, int ndim, double *point, double beta, double nu, double noise, double sigma)
 Initialize STARSH_ssdata object by given data. More...
 
int starsh_ssdata_init_parsimonious (STARSH_ssdata **data, STARSH_int count, int ndim, double *point, double sigma1, double sigma2, double beta, double nu1, double nu2, double corr, double noise)
 Initialize STARSH_ssdata object by given data. More...
 
int starsh_ssdata_generate (STARSH_ssdata **data, STARSH_int count, int ndim, double beta, double nu, double noise, enum STARSH_PARTICLES_PLACEMENT place, double sigma)
 Generate STARSH_ssdata object by given distribution. More...
 
int starsh_ssdata_generate_parsimonious (STARSH_ssdata **data, STARSH_int count, int ndim, double beta, double nu, double noise, enum STARSH_PARTICLES_PLACEMENT place, double sigma, double sigma2, double nu2, double corr)
 Generate STARSH_ssdata object by given distribution. More...
 
int starsh_ssdata_generate_va (STARSH_ssdata **data, STARSH_int count, va_list args)
 Generate STARSH_ssdata object with incomplete set of parameters. More...
 
int starsh_ssdata_generate_el (STARSH_ssdata **data, STARSH_int count,...)
 Generate STARSH_ssdata object with incomplete set of parameters. More...
 
void starsh_ssdata_free (STARSH_ssdata *data)
 Free memory of STARSH_ssdata object. More...
 
int starsh_ssdata_get_kernel (STARSH_kernel **kernel, STARSH_ssdata *data, enum STARSH_SPATIAL_KERNEL type)
 Get kernel for spatial statistics problem. More...
 
void starsh_ssdata_block_exp_kernel_2d_simd_gcd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Exponential kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_sqrexp_kernel_2d_simd_gcd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Square exponential kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_matern_kernel_2d_simd_gcd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Matérn kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_matern2_kernel_2d_simd_gcd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Matérn kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_parsimonious_kernel_2d_simd_gcd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Matérn kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_parsimonious_kernel_2d_simd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Matérn kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_parsimonious2_kernel_2d_simd_gcd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Matérn kernel for -dimensional spatial statistics problem. More...
 
void starsh_ssdata_block_parsimonious2_kernel_2d_simd (int nrows, int ncols, STARSH_int *irow, STARSH_int *icol, void *row_data, void *col_data, void *result, int ld)
 Matérn kernel for -dimensional spatial statistics problem. More...
 

Detailed Description

STARS-H is a software package, provided by King Abdullah University of Science and Technology (KAUST)

Version
0.1.1
Author
Sameh Abdulah
Aleksandr Mikhalev
Date
2020-06-04