• WeierstrassInvariants 是WeierstrassHalfPeriods的逆。
From two complex numbers and that are not linearly dependent over the reals, we can form the two Weierstrass invariants and , where both sums are over the nonzero elements of the lattice generated by and . The quotient of the complex plane by this lattice is equivalent, as a complex curve, to the elliptic curve with equation .
WeierstrassInvariants returns and , given and .
The Weierstrass invariants depend only on the lattice, not on the particular generators.
同时参见 the Further Examples for WeierstrassP.