Description Usage Arguments Value Author(s) Examples
simulate_obs_exact
demonstrates the R / C language interface
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)
|
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 |
Returned value: One vector represents: z_out.
globalvec |
Double vector observations z at (x,y) |
Sameh Abdulah, Postdoctoral Fellow, Extreme Computing and Research Center, KAUST sameh.abdulah@kaust.edu.sa
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.