take_parallel_to

PlasmaCalcs.quantities.patterns.vector_arithmetic.take_parallel_to(B, A)

return the component of A parallel to B. Equivalent: (A dot Bhat) Bhat.

Note that B is the first argument.