Class HilbertMatrix

    • Constructor Detail

      • HilbertMatrix

        public HilbertMatrix​(int n)
        Constructs a Hilbert matrix.
        Parameters:
        n - the Hilbert matrix dimension
    • Method Detail

      • invdet

        public BigInteger invdet()
        One over the determinant of H: 1/|H|, which is an integer.
        Returns:
        one over the determinant of H, which is an integer
      • det

        public double det()
        The determinant of a Hilbert matrix is the reciprocal of an integer.
        Returns:
        the determinant
        See Also:
        OEIS: sequence A005249