Skip to main content

r83vec_normalize

Function r83vec_normalize 

Source
pub unsafe extern "C" fn r83vec_normalize(
    n: *const c_int,
    x: *mut c_double,
    y: *mut c_double,
    z: *mut c_double,
)
Expand description

Normalizes each R83 in an R83Vec to have unit norm.

ยงArguments

  • n - Input. The number of nodes in the triangulation.
  • x[n], y[n], z[n] - Input/output. On input, the unnormalized coordinates of the triangulation. On output, the normalized coordinates of the triangulation (unit vectors).