mle_exactR: Sets up the call to the mle_exact() C language function...

Description Usage Arguments Value Author(s) Examples

Description

exact_mle demonstrates the R / C language interface

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
exact_mle(n,
		ncores,
		gpus,
		ts,
		p_grid,
		q_grid,
		x,
		y,
		z,
		clb,
		cub,
		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

dmetric

String - "dm" or "gcd"

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
#
# inline call at R command line or in another R function:
# Provides function arguments for and calls the R exageostat__gen_zR() function.
#
#mle_exact(n,
#               ncores,
#               gpus,
#               ts,
#               p_grid,
#		q_grid,
#		theta,
#		dmetric)

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