Description Usage Arguments Value Author(s) Examples
simulate_data_exact
demonstrates the R / C language interface
1 2 3 4 5 6 7 8 9 10 11 12 | simulate_data_exact(n,
ncores,
gpus,
ts,
p_grid,
q_grid,
theta1,
theta2,
theta3,
dmetric,
seed,
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 |
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" |
seed |
Integer - initial seed |
globalveclen |
Integer - output vector length |
Returned value: One vector represents: x_out, y_out, and z_out.
globalvec |
Double vector - locations x, locations y, 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 | #
# inline call at R command line or in another R function:
# Provides function arguments for and calls the R exageostat__gen_zR() function.
#
#simulate_data_exact(n,
# ncores,
# gpus,
# ts,
# p_grid,
# q_grid,
# theta,
# dmetric)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.