Class ScalarOperator

    • Constructor Detail

      • ScalarOperator

        public ScalarOperator​(ValueFunction p,
                              double cst)
    • Method Detail

      • getConstant

        public double getConstant()
      • setConstant

        public abstract ScalarOperator setConstant​(double cst)
      • setConstant

        public abstract ScalarOperator setConstant​(double cst,
                                                   int numThreads)
      • executeScalar

        public abstract double executeScalar​(double in)
        Apply the scalar operator over a given input value.
        Parameters:
        in - input value
        Returns:
        result