corehydro
  • Examples
  • Porting Status
  • Python Reference
  • R Reference

On this page

  • link
    • Parameters
    • Returns
    • Examples

link

link(l, x)

Evaluate a link function: real-space to link-space.

Parameters

Name Type Description Default
l Link From :func:link_function. required
x array_like Values on the data scale. required

Returns

Name Type Description
numpy.ndarray

Examples

>>> from corehydropy import link_function, link
>>> l = link_function("Logit")
>>> link(l, [0.1, 0.5, 0.9])
array([-2.19722458,  0.        ,  2.19722458])
 

corehydro is an independent open-source port of the USACE-RMC Numerics and RMC-BestFit libraries. 0BSD licensed.