mle_dstR: Sets up the call to the mle_dst() C language function...

Description Usage Arguments Value Author(s) Examples

Description

dst_mle demonstrates the R / C language interface

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
dst_mle(n,
		ncores,
		gpus,
		ts,
		p_grid,
		q_grid,
		x,
		y,
		z,
		clb,
		cub,
		dst_thick,
		dmetric)

Arguments

n

Integer - number of locations in the incoming data (real mode) or generated data (test mode)

ncores

Integer - CPU threads

gpus

Integer - GPU threads

ts

Integer - tile size

p_grid

Integer - (p,q) 2-D block-cyclic distribution grid

q_grid

Integer - (p,q) 2-D block-cyclic distribution grid

x

Double vector - x locations

y

Double vector - y locations

z

Double vector - z observations at (x, y)

clb

Double vector - optimizer lower bounds theta values

cub

Double vector - optimizer upper bounds theta values

dst_thick

Integer - Diagonal Super-Tile (DST) diagonal thick

dmetric

String - "dm" or "gcd"

opt_tol

Double - optimizer termination tolerance

opt_max_iters

Double - optimizer maximum number of iterations

Value

Returned value: vector of three values (theta1, theta2, theta3)

theta_out

Double vector - theta_out

Author(s)

Sameh Abdulah, Postdoctoral Fellow, Extreme Computing and Research Center, KAUST sameh.abdulah@kaust.edu.sa

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
#
# inline call at R command line or in another R function:
# Provides function arguments for and calls the R exageostat__gen_zR() function.
#
#mle_dst(n,
#               ncores,
#               gpus,
#               ts,
#               p_grid,
#		q_grid,
#		theta,
#		dst_thick,
#		dmetric)
#               opt_tol,
#               opt_max_iters)

ecrc/exageostatR-dev documentation built on May 14, 2019, 3:06 a.m.