Class Bern2D

    • Constructor Detail

      • Bern2D

        public Bern2D​(int xord,
                      int yord)
    • Method Detail

      • setCoeff

        public final void setCoeff​(int i,
                                   int j,
                                   double coeff)
      • addCoeff

        public final void addCoeff​(int i,
                                   int j,
                                   double val)
      • ele2D

        public final double ele2D​(int i,
                                  int j)
      • allOneSign

        public short allOneSign()
        Test if all coefficient are strictly the same sign.
        Returns:
        tree if all positive or all negative false otherwise
      • fromPolyCoeffs

        public static Bern2D fromPolyCoeffs​(double[][] aa,
                                            Range2D range)
        Note the order of x,y is reversed here.
        Parameters:
        aa -
        range -
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • evalbern2D

        public double evalbern2D​(double[] vec)