PastaAffinePoint<SCALAR extends PastaFieldElement<SCALAR>, BASE extends PastaFieldElement<BASE>, P extends PastaPoint<SCALAR, BASE, P>> class abstract

A Pasta point in affine coordinates.

Inheritance
Mixed-in types
Implementers

Constructors

PastaAffinePoint({required BASE x, required BASE y})
const

Properties

curveParams → PastaCurveParams<BASE>
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
variables → List
no setteroverride
x → BASE
final
y → BASE
final

Methods

affineFrom({required BASE x, required BASE y}) → PastaAffinePoint<SCALAR, BASE, P>
cast<T extends ECPoint<SCALAR, POINT>>() → T
Casts this point to T, throwing CastFailedException on mismatch.
inherited
conditionalSelectFrom({required P a, required P b, required bool choice}) → P
coordinates() → Coordinates<BASE>
from({required BASE x, required BASE y, required BASE z}) → P
generator() → PastaAffinePoint<SCALAR, BASE, P>
identity() → P
isIdentity() → bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() → BuBytes
override
toCurve() → P
toString() → String
A string representation of this object.
inherited

Operators

operator *(SCALAR rhs) → P
override
operator +(BasePastaPoint<SCALAR, BASE> rhs) → P
override
operator -(BasePastaPoint<SCALAR, BASE> other) → P
operator ==(Object other) → bool
The equality operator.
inherited
operator unary-() → BasePastaPoint<SCALAR, BASE>