struct Secp256k1::EC_Point
- Secp256k1::EC_Point
- Struct
- Value
- Object
Overview
A point in the two-dimensional space of an elliptic curve.
Properties:
p = EC_Point.new BigInt.new(0), BigInt.new(0)
p.x
# => 0
p.y
# => 0
Defined in:
structs.crConstructors
Instance Method Summary
-
#x : BigInt
The position on the x-axis.
-
#x=(x : BigInt)
The position on the x-axis.
-
#y : BigInt
The position on the y-axis.
-
#y=(y : BigInt)
The position on the y-axis.
Constructor Detail
def self.new(x : BigInt, y : BigInt)
#