parmod
- PlasmaCalcs.quantities.patterns.vector_arithmetic.parmod(A, B, *, signed=False)
return the magnitude of the component of A parallel to B. Equivalent: |(A dot Bhat) Bhat|
signed: bool; whether to return signed result instead, i.e. (A dot Bhat), without taking abs.