vector_projection

sknano.core.math.vector_projection(a, b)[source] [edit on github][source]

Compute the vector projection of \(\mathbf{a}\) onto \(\mathbf{b}\).

Parameters:b (a,) –
Returns:
Return type:Vector