MCPcopy Create free account
hub / github.com/bgrimstad/splinter / list_to_c_array_of_doubles

Function list_to_c_array_of_doubles

python/splinter/utilities.py:41–42  ·  view source on GitHub ↗
(py_list)

Source from the content-addressed store, hash-verified

39
40
41def list_to_c_array_of_doubles(py_list):
42 return (c_double * len(py_list))(*py_list)
43
44
45def list_to_c_array_of_of_ints(py_list):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected