gen_z_givenlocs_exactR: Sets up the call to the gen_z_givenlocs_exact() C language...

Description Usage Arguments Value Author(s) Examples

Description

simulate_obs_exact demonstrates the R / C language interface

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
simulate_data_exact(n,
		ncores,
		gpus,
		ts,
		p_grid,
		q_grid,
		x,
		y,
		theta1,
		theta2,
		theta3,
		dmetric,
		globalveclen)

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

theta1

Double - initial theta1 values to generate z

theta2

Double - initial theta2 values to generate z

theta3

Double - initial theta3 values to generate z

dmetric

Integer - "0:dm" or "1:gcd"

globalveclen

Integer - output vector length

Value

Returned value: One vector represents: z_out.

globalvec

Double vector observations z at (x,y)

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

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