Compute Owen-like Function TOwen1(h, a)
TOwen1.RdTOwen1 computes an Owen's \(T\)-function variant (or a related
special function) for vectors h and a based on the tha function in https://people.sc.fsu.edu/~jburkardt/c_src/owen/owen.html. Non-finite inputs in h or a
yield NA at the corresponding positions.
Value
A numeric vector of length length(h) with the computed values. Elements
where either h or a is non-finite are NA. The returned
vector is given class "snreg" for downstream compatibility.
Details
Owen's T Function Variant via C Backend
This is a thin R wrapper around a native routine with signature:
void TOwen1(int *n, double *h, double *a, double *out, int *threads)