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

Function c_array_to_list

python/splinter/utilities.py:50–51  ·  view source on GitHub ↗
(CArray, size)

Source from the content-addressed store, hash-verified

48
49
50def c_array_to_list(CArray, size):
51 return [CArray[i] for i in range(size)]
52
53
54# http://stackoverflow.com/questions/952914/making-a-flat-list-out-of-list-of-lists-in-python

Callers 5

evalMethod · 0.85
get_knot_vectorsMethod · 0.85
get_coefficientsMethod · 0.85
get_control_pointsMethod · 0.85
get_basis_degreesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected