---
title: "Lattices over Number Fields"
canonical: "https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/index-lattices-over-number-fields.html"
source: "https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/index-lattices-over-number-fields.md"
part: "Lattices and Quadratic Forms"
chapter: "Lattices over Number Fields"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Lattices and Quadratic Forms", "source": "https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/index-lattices-quadratic-forms.md"}
prev: {"title": "Bibliography", "source": "https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/Lattices/bibliography.md"}
next: {"title": "Introduction", "source": "https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/introduction.md"}
---

<a id="lattice-nf"></a>
<a id="chaplatnf"></a>
# Lattices over Number Fields

- [Introduction](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/introduction.md)
- [Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md)
  - [Creation of Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#creation-of-number-field-lattices)
    - [`NumberFieldLattice(K, d): FldNum, RngIntElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberfieldlattice-fldnum-rngintelt)
    - [`NumberFieldLattice(S): [ModTupFldElt] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberfieldlattice-modtupfldelt)
    - [`NumberFieldLattice(D): ModDed → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberfieldlattice-modded)
    - [`NumberFieldLattice(L): Lat → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberfieldlattice-lat)
    - [`NumberFieldLatticeWithGram(F): Mtrx → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberfieldlatticewithgram-mtrx)
    - [`StandardLattice(V): SpcPlr → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-standardlattice-spcplr)
    - [`StandardLattice(V): SpcPlr → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-standardlattice-spcplr-2)
    - [`LatticeWithBasis(V, B): SpcPlr, Mtrx[RngOrd] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-mtrx-rngord)
    - [`LatticeWithBasis(V, B): SpcPlr, Mtrx[FldAlg] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-mtrx-fldalg)
    - [`LatticeWithBasis(V, B): SpcPlr, Mtrx[RngInt] → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-mtrx-rngint)
    - [`LatticeWithBasis(V, B): SpcPlr, Mtrx[FldRat] → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-mtrx-fldrat)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[RngOrd], [ RngOrdFracIdl ] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-rngord-rngordfracidl)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[FldAlg], [ RngOrdFracIdl ] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-fldalg-rngordfracidl)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[FldQuad], [ RngOrdFracIdl ] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-fldquad-rngordfracidl)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[RngInt], [ RngIntFracIdl ] → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-rngint-rngintfracidl)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[RngInt], [ RngInt ] → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-rngint-rngint)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[FldRat], [ RngIntFracIdl ] → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-fldrat-rngintfracidl)
    - [`LatticeWithBasis(V, B, J): SpcPlr, AlgMatElt[FldRat], [ RngInt ] → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithbasis-spcplr-algmatelt-fldrat-rngint)
    - [`LatticeWithPseudobasis(V, P): SpcPlr, PMat → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-latticewithpseudobasis-spcplr-pmat)
    - [`Lattice(V, L): SpcPlr, ModDed → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-lattice-spcplr-modded)
    - [`Lattice(V, L): SpcPlr, Lat → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-lattice-spcplr-lat)
    - [`Module(L): LatNF → ModDed`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-module-latnf)
    - [`ChangeRing(L, R): LatNF, Rng → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-changering-latnf-rng)
    - [`sub<L | RHS>: LatNF, Any → LatNF, Map`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#constructor-constructor-sub-latnf-any-latnf-map)
    - [`ext<L | RHS>: LatNF, Any → LatNF, Map`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#constructor-constructor-ext-latnf-any-latnf-map)
    - [`A + B: LatNF, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-plus-latnf-latnf)
    - [`A meet B: LatNF, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-meet-latnf-latnf)
    - [`r * L: RngElt, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-rngelt-latnf)
    - [`L * r: Lat NF, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-lat-nf-latnf)
    - [`L / r: Lat NF, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-div-lat-nf-latnf)
    - [`BasisScaling(L, r): LatNF, RngElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-basisscaling-latnf-rngelt)
    - [`InnerProductScaling(L, r): LatNF, RngElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-innerproductscaling-latnf-rngelt)
    - [`ScaledLattice(L, r): LatNF, FldElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-scaledlattice-latnf-fldelt)
    - [`J * L: RngOrdFracIdl, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-rngordfracidl-latnf)
    - [`L * J: LatNF, RngOrdFracIdl → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-latnf-rngordfracidl)
    - [`L / J: LatNF, RngOrdFracIdl → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-div-latnf-rngordfracidl)
    - [`T * L: Mtrx, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-mtrx-latnf)
    - [`TJ * L: PMat, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-pmat-latnf)
    - [`L * T: LatNF, Mtrx → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-times-latnf-mtrx)
    - [`DirectSum(A, B): LatNF, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-directsum-latnf-latnf)
    - [`DirectSum(A): SeqEnum[LatNF] → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-directsum-seqenum-latnf)
    - [`OrthogonalComplement(L, v): LatNF, LatNFElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-orthogonalcomplement-latnf-latnfelt)
    - [`OrthogonalComplement(L, S): LatNF, LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-orthogonalcomplement-latnf-latnf)
    - [`Dual(L): LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-dual-latnf)
    - [`SimpleLattice(L): LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-simplelattice-latnf)
    - [`ZLattice(L): LatNF → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-zlattice-latnf)
    - [`RestrictionOfScalarsToZ(L): LatNF → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-restrictionofscalarstoz-latnf)
    - [`MaximalSublattices(L, p): LatNF, RngOrdIdl → [LatNF], [RngIntElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalsublattices-latnf-rngordidl)
    - [`MinimalSuperlattices(L, p): LatNF, RngOrdIdl → [LatNF], [RngIntElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-minimalsuperlattices-latnf-rngordidl)
    - [`MaximalIntegralLattice(Q): Mtrx → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-mtrx)
    - [`MaximalIntegralLattice(L): LatNF → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-latnf)
    - [`MaximalIntegralLattice(L): Lat → Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-lat)
    - [`MaximalIntegralLattice(L, p): LatNF, RngOrdIdl → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-latnf-rngordidl)
    - [`MaximalIntegralLattice(L, p): Lat, RngInt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-lat-rngint)
    - [`MaximalIntegralLattice(L, p): Lat, RngIntElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-lat-rngintelt)
    - [`MaximalIntegralLattice(V): SpcPlr → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalintegrallattice-spcplr)
    - [Example: Creating Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#example-ex-d20734)
  - [Attributes of Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#attributes-of-number-field-lattices)
    - [`Basis(L): LatNF → [ModTupFldElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-basis-latnf)
    - [`BasisMatrix(L): LatNF → Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-basismatrix-latnf)
    - [`FreeBasis(L): LatNF → [ModTupFldElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-freebasis-latnf)
    - [`LocalBasis(L, p): LatNF, RngOrdIdl → [ ModTupFldElt ]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-localbasis-latnf-rngordidl)
    - [`LocalBasis(L, p): Lat, RngInt → [ ModTupFldElt ]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-localbasis-lat-rngint)
    - [`PseudoBasis(L): LatNF → [ModTupFldElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-pseudobasis-latnf)
    - [`PseudoBasisMatrix(L): LatNF → Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-pseudobasismatrix-latnf)
    - [`PseudoMatrix(L): LatNF → PMat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-pseudomatrix-latnf)
    - [`CoefficientIdeals(L): LatNF → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-coefficientideals-latnf)
    - [`Involution(L): LatNF → FldAut`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-involution-latnf)
    - [`Generators(L): LatNF → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-generators-latnf)
    - [`GeneratorMatrix(L): LatNF → Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-generatormatrix-latnf)
    - [`InnerProductMatrix(L): LatNF → Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-innerproductmatrix-latnf)
    - [`AmbientSpace(L): LatNF → SpcPlr`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ambientspace-latnf)
    - [`EmbeddingSpace(L): LatNF → Mod`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-embeddingspace-latnf)
    - [`MakeAmbientInnerProduct(~L, IP): LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#procedure-makeambientinnerproduct-latnf-ref)
    - [`GramMatrix(L): LatNF → Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-grammatrix-latnf)
    - [`PseudoGramMatrix(L): LatNF → Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-pseudogrammatrix-latnf)
    - [`GramMatrix(L, S): LatNF, [ ModTupFldElt ] → AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-grammatrix-latnf-modtupfldelt)
    - [`GramMatrix(S): [ LatNFElt ] → AlgMatElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-grammatrix-latnfelt)
    - [`Rank(L): LatNF → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-rank-latnf)
    - [`Dimension(L): LatNF → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-dimension-latnf)
    - [`Degree(L): LatNF → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-degree-latnf)
    - [`BaseRing(L): LatNF → FldNum`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-basering-latnf)
    - [`CoordinateRing(L): LatNF → RngOrd`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-coordinatering-latnf)
    - [`Order(L): LatNF → RngOrd`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-order-latnf)
    - [`Determinant(L): LatNF → FldNumElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-determinant-latnf)
    - [`Discriminant(L): LatNF → RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-discriminant-latnf)
    - [`Volume(L): LatNF → RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-volume-latnf)
    - [`Norm(L): LatNF → RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-norm-latnf)
    - [`Scale(L): LatNF → RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-scale-latnf)
    - [`BadPrimes(L): LatNF → Set`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-badprimes-latnf)
    - [`AuxiliaryForms(L): LatNF → [ AlgMatElt ]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-auxiliaryforms-latnf)
    - [`ElementaryDivisors(A, B): LatNF, LatNF → [ RngOrdFracIdl ]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-elementarydivisors-latnf-latnf)
    - [`Discriminant(A, B): LatNF, LatNF → RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-discriminant-latnf-latnf)
    - [`Index(A, B): LatNF, LatNF → RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-index-latnf-latnf)
    - [`JordanDecomposition(L, p): LatNF, RndOrdIdl → List, List, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-jordandecomposition-latnf-rndordidl)
    - [`MaximalNormSplitting(L, p): LatNF, RngOrdIdl → SeqEnum, List`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-maximalnormsplitting-latnf-rngordidl)
    - [`GoodBasisOfNormGenerators(L, p): LatNF, RngOrdIdl → SeqEnum, SeqEnum`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-goodbasisofnormgenerators-latnf-rngordidl)
    - [`GenusSymbol(L, p): LatNF, RngOrdIdl → SeqEnum, Any`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-genussymbol-latnf-rngordidl)
    - [`LocalGenus(L, p): LatNF, RngOrdIdl → SymGenLoc`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-localgenus-latnf-rngordidl)
    - [`Genus(L): LatNF → SymGen`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-genus-latnf)
    - [`HasseInvariant(M, p): AlgMatElt, RngOrdIdl → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-hasseinvariant-algmatelt-rngordidl)
    - [`HasseInvariant(L, p): LatNF, RngOrdIdl → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-hasseinvariant-latnf-rngordidl)
    - [`WittInvariant(M, p): AlgMatElt, RngOrdIdl → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-wittinvariant-algmatelt-rngordidl)
    - [`WittInvariant(L, p): LatNF, RngOrdIdl → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-wittinvariant-latnf-rngordidl)
    - [`SpinorNorm(L, p): LatNF, RngOrdIdl → ModTupFld, Map, BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-spinornorm-latnf-rngordidl)
    - [`Mass(L): LatNF → FldRatElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-mass-latnf)
    - [`Mass(L): Lat → FldRatElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-mass-lat)
    - [`LocalFactor(L, p): LatNF, RngOrdIdl → FldRatElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-localfactor-latnf-rngordidl)
    - [`Neighbours(L, p): LatNF, RngOrdIdl → [LatNF], [RngIntElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-neighbours-latnf-rngordidl)
    - [`IteratedNeighbours(L, p): LatNF, RngOrdIdl → [LatNF]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-iteratedneighbours-latnf-rngordidl)
    - [`GenusRepresentatives(L): LatNF → [LatNF], Assoc`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-genusrepresentatives-latnf)
    - [Example: Attributes of Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#example-ex-58cb4b)
    - [`NumberOfIsotropicSubspaces(L, P, k): LatNF, RngOrdIdl, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberofisotropicsubspaces-latnf-rngordidl-rngintelt)
    - [`NumberOfIsotropicSubspaces(L, P, k): Lat, RngInt, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberofisotropicsubspaces-lat-rngint-rngintelt)
    - [`NumberOfIsotropicSubspaces(L, P, k): Lat, RngIntElt, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberofisotropicsubspaces-lat-rngintelt-rngintelt)
    - [`NumberOfNeighbors(L, P, k): LatNF, RngOrdIdl, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberofneighbors-latnf-rngordidl-rngintelt)
    - [`NumberOfNeighbors(L, P, k): Lat, RngInt, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberofneighbors-lat-rngint-rngintelt)
    - [`NumberOfNeighbors(L, P, k): Lat, RngIntElt, RngIntElt → RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-numberofneighbors-lat-rngintelt-rngintelt)
    - [`NeighborProcess(L, P, k): LatNF, RngOrdIdl, RngIntElt → NeighborProc`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-neighborprocess-latnf-rngordidl-rngintelt)
    - [`NeighborProcess(L, P, k): Lat, RngInt, RngIntElt → NeighborProc`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-neighborprocess-lat-rngint-rngintelt)
    - [`Neighbor(nProc): NeighborProc → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-neighbor-neighborproc)
    - [`Advance(nProc): NeighborProc`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#procedure-advance-neighborproc)
    - [`SkipTo(nProc, V, S): NeighborProc, SeqEnum[ModTupFldElt[FldFin]], AlgMatElt[FldFin]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#procedure-skipto-neighborproc-seqenum-modtupfldelt-fldfin-algmatelt-fldfin)
  - [Predicates on Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#predicates-on-number-field-lattices)
    - [`IsSimple(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-issimple-latnf)
    - [`IsFree(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isfree-latnf)
    - [`IsZero(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-iszero-latnf)
    - [`IsFull(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isfull-latnf)
    - [`IsHermitian(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ishermitian-latnf)
    - [`IsQuadratic(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isquadratic-latnf)
    - [`IsTotallyPositiveDefinite(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-istotallypositivedefinite-latnf)
    - [`IsDefinite(L): LatNF → BoolElt, RngOrdElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isdefinite-latnf)
    - [`Signature(F): Mtrx[FldAlg] → ModTupRngElt[RngInt], ModTupRngElt[RngInt], RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-signature-mtrx-fldalg)
    - [`A eq B: LatNF, LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-eq-latnf-latnf)
    - [`A ne B: LatNF, LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-ne-latnf-latnf)
    - [`IsIdentical(A, B): LatNF, LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isidentical-latnf-latnf)
    - [`IsSublattice(S, L): LatNF, LatNF → BoolElt, Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-issublattice-latnf-latnf)
    - [`S subset L: LatNF, LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#operation-op-subset-latnf-latnf)
    - [`IsMaximal(L): LatNF → BoolElt, LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximal-latnf)
    - [`IsMaximal(L, p): LatNF → BoolElt, LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximal-latnf-2)
    - [`IsIntegral(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isintegral-latnf)
    - [`IsIntegral(L): Lat → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isintegral-lat)
    - [`IsIntegral(L, p): LatNF, RngOrdIdl → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isintegral-latnf-rngordidl)
    - [`IsIntegral(L, p): Lat, RngInt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isintegral-lat-rngint)
    - [`IsIntegral(L, p): Lat, RngIntElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isintegral-lat-rngintelt)
    - [`IsEven(L): LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-iseven-latnf)
    - [`IsMaximalIntegral(L): LatNF → BoolElt, LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximalintegral-latnf)
    - [`IsMaximalIntegral(L): Lat → BoolElt, Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximalintegral-lat)
    - [`IsMaximalIntegral(L, p): LatNF, RngOrdIdl → BoolElt, LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximalintegral-latnf-rngordidl)
    - [`IsMaximalIntegral(L, p): Lat, RngInt → BoolElt, LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximalintegral-lat-rngint)
    - [`IsMaximalIntegral(L, p): Lat, RngIntElt → BoolElt, Lat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismaximalintegral-lat-rngintelt)
    - [`IsModular(L): LatNF → BoolElt, RngOrdFracIdl`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismodular-latnf)
    - [`IsModular(L, p): LatNF, RngOrdIdl → BoolElt, RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-ismodular-latnf-rngordidl)
    - [`IsIsotropic(L, p): LatNF, RngOrdIdl → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isisotropic-latnf-rngordidl)
    - [`IsIsotropic(L, p): LatNF, PlcNumElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isisotropic-latnf-plcnumelt)
    - [`IsLocallyIsometric(L1, L2, p): LatNF, LatNF, RngOrdIdl → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-islocallyisometric-latnf-latnf-rngordidl)
    - [`IsSameGenus(L1, L2): LatNF, LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-issamegenus-latnf-latnf)
    - [`IsRationallyEquivalent(L1, L2, p): LatNF, LatNF, RngOrdIdl → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isrationallyequivalent-latnf-latnf-rngordidl)
    - [`IsRationallyEquivalent(L1, L2, p): LatNF, LatNF, PlcNumElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isrationallyequivalent-latnf-latnf-plcnumelt)
    - [`IsRationallyEquivalent(L1, L2): LatNF, LatNF → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isrationallyequivalent-latnf-latnf)
  - [Totally Positive Definite Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#totally-positive-definite-lattices)
    - [`AutomorphismGroup(L): LatNF → GrpMat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-automorphismgroup-latnf)
    - [`ProperAutomorphismGroup(L): LatNF → GrpMat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-properautomorphismgroup-latnf)
    - [`IsIsometric(A, B): LatNF, LatNF → BoolElt, Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isisometric-latnf-latnf)
    - [`IsProperlyIsometric(A, B): LatNF, LatNF → BoolElt, Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isproperlyisometric-latnf-latnf)
    - [`IsSimilar(A, B): LatNF, LatNF → BoolElt, Mtrx, FldNumElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-issimilar-latnf-latnf)
    - [`Sphere(L, e): LatNF, RngElt → Setq`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-sphere-latnf-rngelt)
    - [`IsRepresented(L, e): LatNF, RngElt → BoolElt, LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlattices.md#function-isrepresented-latnf-rngelt)
- [Number Field Lattice Elements](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md)
  - [Creation](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#creation)
    - [`Zero(L): LatNF → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-zero-latnf)
    - [`L ! e: LatNF, Any → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-latnf-any)
    - [`L . i: LatNF, RngIntElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-operation-latnf-rngintelt-latnfelt)
    - [`CoordinatesToLattice(L, S): LatNF, SeqEnum → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-coordinatestolattice-latnf-seqenum)
    - [`CoordinatesToLattice(L, v): LatNF, ModTupFldElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-coordinatestolattice-latnf-modtupfldelt)
  - [Parent and Element Relations](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#parent-and-element-relations)
    - [`v in L: ModTupRngElt, LatNF → BoolElt, ModTupFldElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-in-modtuprngelt-latnf)
    - [`v in L: LatNFElt, LatNF → BoolElt, ModTupFldElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-in-latnfelt-latnf)
    - [`Parent(v): LatNFElt → LatNF`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-parent-latnfelt)
  - [Arithmetic](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#arithmetic)
    - [`v + w: LatNFElt, LatNFElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-plus-latnfelt-latnfelt)
    - [`v - w: LatNFElt, LatNFElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-minus-latnfelt-latnfelt)
    - [`- v: LatNFElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-operation-latnfelt-latnfelt)
    - [`v eq w: LatNFElt, LatNFElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-eq-latnfelt-latnfelt)
    - [`v ne w: LatNFElt, LatNFElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-ne-latnfelt-latnfelt)
    - [`IsZero(v): LatNFElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-iszero-latnfelt)
    - [`s * v: RngElt, LatNFElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-times-rngelt-latnfelt)
    - [`v * s: LatNFElt, RngElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-times-latnfelt-rngelt)
    - [`v / s: LatNFElt, RngElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-div-latnfelt-rngelt)
    - [`T * v: Mtrx, LatNFElt → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-times-mtrx-latnfelt)
    - [`v * T: LatNFElt, Mtrx → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-times-latnfelt-mtrx)
    - [`v ^ M: LatNFElt, Mtrx → LatNFElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-pow-latnfelt-mtrx)
    - [`v ^ G: LatNFElt, GrpMat → Setq[LatNFElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#operation-op-pow-latnfelt-grpmat)
    - [`Orbit(G, v): GrpMat, LatNFElt → Setq[LatNFElt]`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-orbit-grpmat-latnfelt)
    - [`Stabilizer(G, v): GrpMat, LatNFElt → GrpMat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-stabilizer-grpmat-latnfelt)
    - [`Norm(v): LatNFElt → FldNumElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-norm-latnfelt)
    - [`InnerProduct(v, w): LatNFElt, LatNFElt → FldNumElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-innerproduct-latnfelt-latnfelt)
    - [Example: Arithmetic of Number Field Lattice Elements](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#example-ex-9da2f4)
  - [Access Functions](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#access-functions)
    - [`Vector(v): LatNFElt → ModTupFldElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-vector-latnfelt)
    - [`Eltseq(v): LatNFElt → SeqEnum`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-eltseq-latnfelt)
    - [`Coordinates(v): LatNFElt → ModTupFldElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/numberfieldlatticeelements.md#function-coordinates-latnfelt)
- [Examples](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/examples.md)
  - [Example: Basic Number Field Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/examples.md#example-ex-3a8daf)
  - [Example: Gram Matrices and Transformations](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/examples.md#example-ex-22b211)
  - [Example: Lattices Related to the Icosahedron](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/examples.md#example-ex-dda13e)
  - [Example: Nontrivial Coefficient Ideals](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/examples.md#example-ex-077d76)
  - [Example: The Maass Unimodular Lattice](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/examples.md#example-ex-4a3ec7)
- [Lorentzian Lattices](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md)
  - [Special Intrinsics](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#special-intrinsics)
    - [`IsLorentzian(L): LatNF → BoolElt, ModTupFldElt, RngIntElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#function-islorentzian-latnf)
    - [`IsTimelike(v): LatNFElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#function-istimelike-latnfelt)
    - [`IsSpacelike(v): LatNFElt → BoolElt`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#function-isspacelike-latnfelt)
    - [`AutomorphismGroup(L, v): LatNF, LatNFElt → GrpMat, GrpMat`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#function-automorphismgroup-latnf-latnfelt)
    - [`IsIsometric(L, v, w): LatNF, LatNFElt, LatNFElt → BoolElt, Mtrx`](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#function-isisometric-latnf-latnfelt-latnfelt)
    - [Example: Isometries of a Lorentzian Lattice](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/lorentzian-lattices.md#example-ex-ac8528)
- [Bibliography](https://docs.magma-maths.org/v2.30-1/LatticesQuadraticForms/LatticesOverNumberFields/bibliography.md)
