parameters `P``n`procedureComputes the scalar product of point

`P`with the integer`n`on the elliptic curve specified by the given`parameters`, but does so much more efficiently than iteratively summing up copies of`P`.If

`n`is negative, the additive inverse of`P`is multiplied by`(abs n)`.