struct Secp256k1::ECPoint
- Secp256k1::ECPoint
- Struct
- Value
- Object
Overview
A point in the two-dimensional space of an elliptic curve.
Properties:
p = ECPoint.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)
#