scalar_projection

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

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

Parameters:b (a,) –
Returns:
Return type:numpy.number