Type aliases
AffinePoint
AffinePoint<
T
,TValidity
> =NominalType
<"affinePoint"
,TValidity
> &T
Use this to produce a new type that satisfies the original type, but adds extra type information that marks the type as being an affine point over a field that either lies on a given curve (is valid) or does not (is invalid).
Type Parameters
Type Parameter | Description |
---|---|
T | The underlying type |
TValidity extends AffinePointValidity | Whether the point is valid or invalid |