Class OctaveFunctionHandle

  • All Implemented Interfaces:
    OctaveObject

    public final class OctaveFunctionHandle
    extends Object
    implements OctaveObject
    A function handle.

    This does for some reason not work with octave 3.0, but it works with octave 3.2.

    • Field Detail

      • function

        private final String function
    • Constructor Detail

      • OctaveFunctionHandle

        public OctaveFunctionHandle​(String function)
        Parameters:
        function - A single line string like "@(x) x ** 2" or "@(a,b) a + b"
    • Method Detail

      • getFunction

        public String getFunction()
        Returns:
        the function