def points_in_each_seg(path, tvals):
A = np.array([[-<NUM_LIT:1>,  <NUM_LIT:3>, -<NUM_LIT:3>,  <NUM_LIT:1>], <EOL>[ <NUM_LIT:3>, -<NUM_LIT:6>,  <NUM_LIT:3>,  <NUM_LIT:0>],<EOL>[-<NUM_LIT:3>,  <NUM_LIT:3>,  <NUM_LIT:0>,  <NUM_LIT:0>],<EOL>[ <NUM_LIT:1>,  <NUM_LIT:0>,  <NUM_LIT:0>,  <NUM_LIT:0>]])<EOL>B = [seg.bpoints() for seg in path]<EOL>return np.dot(B, np.dot(A, np.power(tvals, [[<NUM_LIT:3>],[<NUM_LIT:2>],[<NUM_LIT:1>],[<NUM_LIT:0>]])))<EOL>
Compute seg.point(t) for each seg in path and each t in tvals.