/** * @import { Point2, Point3 } from "../../index.js" * @import { Field, FieldWithOps, ShortProjected, ShortProjectedCurve } from "../../internal.js" */ /** * Short weierstrass in extended form. * If we denote the affine coordinates using apostrophes we get * x' = x/z and y' = y/z * z*y^2 = x^3 + b*z^3 (ignoring `a` which will be zero in all relevant cases for Cardano) * @template {bigint | [bigint, bigint]} T * @extends {CurveWithOpsImpl, ShortProjectedCurve>} * @implements {ShortProjected} */ export class ShortProjectedImpl extends CurveWithOpsImpl, ShortProjectedCurve> { /** * @param {Field} F * @param {T} b */ constructor(F: Field, b: T); /** * @param {Point2} point * @returns {Point3} */ fromAffine(point: Point2): Point3; /** * @param {Point3} point * @returns {Point2} */ toAffine(point: Point3): Point2; } import type { Point3 } from "../../index.js"; import type { ShortProjectedCurve } from "../../internal.js"; import { CurveWithOpsImpl } from "./CurveWithOps.js"; import type { Point2 } from "../../index.js"; import type { Field } from "../../internal.js"; //# sourceMappingURL=ShortProjected.d.ts.map