Coverage for docs\source\examples\external_function.py: 0%
3 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 16:57 -0500
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-03 16:57 -0500
1"""External function for GPkit to call. Can be found
2in gpkit/docs/source/examples/external_function.py"""
3import numpy as np
5def external_code(x):
6 "Returns sin(x)"
7 return np.sin(x)