make_from_cols
Specification
Location | Author | Maintained by |
---|---|---|
isl/math/matrix3.py | Kenny Erleben | DIKU |
Purpose & Params
Converts an 3 numpy arrays of length 3 each to a 3 by 3 matrix. Every array are used as columns.
Example
a,d,h = (np.array([1,4,7]),
np.array([2,5,8]),
np.array([3,6,9])
)
print(mat3.make_from_cols(a,d,h))
output:
array([[1., 2., 3.],
[4., 5., 6.],
[7., 8., 9.]])