Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

e and pi: defined as functions but not as processes #14

@soxofaan

Description

@soxofaan

e and pi are defined as functions, but not as @process:

def e():
"""
The real number e is a mathematical constant that is the base of the natural logarithm such that ln(e) = 1.
The numerical value is approximately 2.71828.
Returns
-------
float :
The numerical value of Euler's number.
"""
return np.e
def pi():
"""
The real number Pi (π) is a mathematical constant that is the ratio of the circumference of a circle to its
diameter. The numerical value is approximately 3.14159.
Returns
-------
float :
The numerical value of Pi.
"""
return np.pi

which means they are bit harder to integrate with "lookup process by name" (e.g. #10/#13)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions