The partial velocities of each velocity vector with respect to the
generalized speeds, as SymPy's partial_velocity().
Arguments
- vel_vecs
A list of velocity vectors.
- gen_speeds
A list of generalized speeds.
- frame
The
ReferenceFrame()the velocities are in.
Examples
N <- ReferenceFrame("N")
u <- dynamicsymbols("u1 u2")
partial_velocity(list(u[[1]] * N$x + u[[2]] * N$y), u, N)
#> [[1]]
#> [[1]][[1]]
#> N.x
#>
#> [[1]][[2]]
#> N.y
#>
#>