In Rhino.Geometry.Matrix and Rhino.Geometry.Vector3d I can’t find the operations for matrix*vector.
It is not that hard to implement
def m_matrix_vector3d(M, v):
assert M.ColumnCount == 3
res = M.RowCount*[0]
v_tmp = [v.X, v.Y, v.Z]
for i in range(M.RowCount):
for j in range(M.ColumnCount):
res[i] += M[i, j]*v_tmp[j]
return res
But are there not a build in function that I am missing?