RootUtil
edu.jas.root

Class RootUtil



  • public class RootUtilextends Object
    Real root utilities. For example real root count.
    • Constructor Detail

      • RootUtil

        public RootUtil()
    • Method Detail

      • signVar

        public static <C extends RingElem<C>> long signVar(List<C> L)
        Count changes in sign.
        Type Parameters:
        C - coefficient type.
        Parameters:
        L - list of coefficients.
        Returns:
        number of sign changes in L.
      • parseInterval

        public static <C extends RingElem<C> & RationalInterval<C> parseInterval(RingFactory<C> fac,                                                          String s)
        Parse interval for a real root from String.
        Parameters:
        s - String, syntax: [left, right] or [mid].
        Returns:
        Interval from s.
      • parseRectangle

        public static <C extends RingElem<C> & RationalRectangle<C> parseRectangle(RingFactory<Complex<C>> fac,                                                            String s)
        Parse rectangle for a complex root from String.
        Parameters:
        s - String, syntax: [south-west, north-east] or [mid].
        Returns:
        Interval from s.

SCaVis 2.1 © jWork.ORG