Coverage for docs/source/examples/external_function.py: 100%
3 statements
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-23 21:12 -0400
« prev ^ index » next coverage.py v7.3.1, created at 2023-09-23 21:12 -0400
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)