print

Function: exponential

Reference

Home

List of PyCrysFML08 Dictionaries

List of PyCrysFML08 Functions

USE

exponential returns the value of the exponential function:

f = alpha * exp(-alpha * x)

function call

r = exponential(x : float,alpha : float)

VariableTypeDescription
xfloatValue at which the function is evaluated.
alphafloatFunction parameter
rtuple

The tuple returned by the function.

r[0] : int, error code. If non-zero, an error has occurred.

r[1] : str, error message.

r[2]: float, value of the function at x.

examples