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

On this page

  • link_derivative
    • Parameters
    • Returns
    • Examples

link_derivative

link_derivative(l, x)

Evaluate a link function’s derivative with respect to x.

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_derivative
>>> l = link_function("Log")
>>> link_derivative(l, [1, 10, 100])
array([1.  , 0.1 , 0.01])
 

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