WLJS LogoWLJS Notebook

ToNumberField

ToNumberField[a, θ] expresses the algebraic number a in the number field generated by θ.

  • ToNumberField[{a1, a2, ...}, θ] expresses the ai in the field generated by θ.
  • ToNumberField[{a1, a2, ...}] expresses the ai in a common extension field generated by a single algebraic number.

Examples

ToNumberField[Sqrt[2], Sqrt[2]]
ToNumberField[{Sqrt[2], Sqrt[3]}]

Please visit the official Wolfram Language Reference for more details.

On this page