from_string
Specification
Location | Author | Maintained by |
---|---|---|
isl/math/vector3.py | Kenny Erleben | DIKU |
Purpose & Params
Converts a string ot a numpy array
:param: string
:return: numpy array of numpy type float64
Example
test_vec_1 = vec3.from_string("[1,2,3]")
print(test_vec_1)
output:
[1.,2.,3.]