ExaGeoStat
ExaGeoStat is a parallel high performance unified framework for geostatistics on manycore systems.
core_dcmg.c File Reference

Go to the source code of this file.

Functions

void core_dcmg (double *A, int m, int n, int m0, int n0, location *l1, location *l2, double *localtheta, int distance_metric)
 

Detailed Description

Copyright (c) 2017-2018 King Abdullah University of Science and Technology All rights reserved.

ExaGeoStat is a software package provided by KAUST

Generate covariance matrix of a set of locations in 2D using Matern kernel.

Version
1.0.0
Author
Sameh Abdulah
Date
2018-11-11

Definition in file core_dcmg.c.

Function Documentation

void core_dcmg ( double *  A,
int  m,
int  n,
int  m0,
int  n0,
location l1,
location l2,
double *  localtheta,
int  distance_metric 
)

core_dcmg - Generate covariance matrix A in dense format between two sets of locations (l1, l2) (Matern Kernel). The routine makes only one pass through the tile A. One tile operation.

Parameters
[out]AThe m-by-n matrix on which to compute the covariance matrix.
[in]mThe number of rows in the tile A.
[in]nThe number of cols in the tile A.
[in]m0Global row index of the tile A.
[in]n0Global col index of the tile A.
[in]l1Location struct of the first input.
[in]l2Location struct of the second input.
[in]localthetaParameter vector that is used to generate the output covariance matrix.
[in]distance_metricDistance metric "euclidean Distance (ED) ->0" or "Great Circle Distance (GCD) ->1"

Definition at line 95 of file core_dcmg.c.