Package pal.math

Class OrthogonalHints.Utils

  • Enclosing interface:
    OrthogonalHints

    public static class OrthogonalHints.Utils
    extends java.lang.Object
    • Constructor Detail

      • Utils

        public Utils()
    • Method Detail

      • getAdjusted

        public static final OrthogonalHints getAdjusted​(OrthogonalHints toAdjust,
                                                        int adjustmentFactor)
        Returns:
        a new OrthogonalHints object base on toAdjust that works with parameters from adjustmentFactor + what toAdjust worked with That is if the value x is the parameter will be passed toAdjust as x-adjustmentFactor, and the suggested OrderEnumerator adjusts input x by adding adjustment factor before returning to the sub toAdjust Enumerator (if you know what I mean)
      • getCombined

        public static final OrthogonalHints getCombined​(OrthogonalHints first,
                                                        int numberOfFirstParameters,
                                                        OrthogonalHints second,
                                                        int numberOfSecondParameters)
        Returns:
        a new OrthogonalHints object that combines two sub OrthogonalHints objects so that all parameter information between 0 upto (but not including) numberOfFirstParameters is passed to first, and everything else is passed to second
      • getInternalParameterBoundaries

        public static final double[] getInternalParameterBoundaries​(OrthogonalHints base,
                                                                    int parameter)
      • getNull

        public static final OrthogonalHints getNull()
        Returns:
        an OrthogonalHints object that doesn't provide any hints