Function neg [src]

Flip the sign of the X coordinate.

Prototype

pub fn neg(p: Secp256k1) Secp256k1

Parameters

p: Secp256k1

Source

pub fn neg(p: Secp256k1) Secp256k1 { return .{ .x = p.x, .y = p.y.neg(), .z = p.z }; }