ExaGeoStat
ExaGeoStat is a parallel high performance unified framework for geostatistics on manycore systems.
|
#include "../include/exageostatcore.h"
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) |
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.
Definition in file core_dcmg.c.
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.
[out] | A | The m-by-n matrix on which to compute the covariance matrix. |
[in] | m | The number of rows in the tile A. |
[in] | n | The number of cols in the tile A. |
[in] | m0 | Global row index of the tile A. |
[in] | n0 | Global col index of the tile A. |
[in] | l1 | Location struct of the first input. |
[in] | l2 | Location struct of the second input. |
[in] | localtheta | Parameter vector that is used to generate the output covariance matrix. |
[in] | distance_metric | Distance metric "euclidean Distance (ED) ->0" or "Great Circle Distance (GCD) ->1" |
Definition at line 95 of file core_dcmg.c.