WLJS LogoWLJS Notebook

NumberFieldDiscriminant

NumberFieldDiscriminant[a] gives the discriminant of the field ℚ[a] generated by the algebraic number a.

Examples

NumberFieldDiscriminant[Sqrt[5]]
(* 5 *)
NumberFieldDiscriminant[2^(1/3)]
(* -108 *)

Please visit the official Wolfram Language Reference for more details.

On this page