ji-lattice
    Preparing search index...

    Function align

    • Rotate coordinates to make one of the primes horizontal.

      Parameters

      • options: LatticeOptions

        Lattice options with coordinates to modify in-place.

      • horizontalIndex: number

        Index of prime to make horizontal.

      • OptionaltonnetzIndex: number

        Index of another prime to align with the up-left direction of a triangular lattice. Coordinates are sheared as necessary.

      Returns void