Newer
Older
def cos_to_be_finished(x):
# TODO: to be finished
return
# a function with a simple docstring
def _cos(x):
""" this is a cosine function """
return np.cos(x)
# a function with a complete docstring
def cos(x: float = 0.):
""" cosine function
Parameters
----------
x :
x values
Returns
-------
cos(x)
"""
return np.cos(x)