Coverage for docs/source/examples/external_function.py: 100%
3 statements
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-05 22:09 -0500
« prev ^ index » next coverage.py v7.4.0, created at 2024-01-05 22:09 -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)