Documentation of 'jnumeric.UnaryUfunc' Java class
UnaryUfunc
jnumeric

Class UnaryUfunc

  • All Implemented Interfaces:
    java.io.Serializable


    public class UnaryUfunc
    extends PyObject
    Function that accepts one PyMultiarray.
    See Also:
    Serialized Form
    • Field Detail

      • arccos

        public static final jnumeric.UnaryFunction arccos
        Returns arccos(a) and stores the result in r if supplied.
      • arccosh

        public static final jnumeric.UnaryFunction arccosh
        Returns arccosh(a) and stores the result in r if supplied.
      • arcsin

        public static final jnumeric.UnaryFunction arcsin
        Returns arcsin(a) and stores the result in r if supplied.
      • arcsinh

        public static final jnumeric.UnaryFunction arcsinh
        Returns arcsinh(a) and stores the result in r if supplied.
      • arctan

        public static final jnumeric.UnaryFunction arctan
        Returns arctan(a) and stores the result in r if supplied.
      • arctanh

        public static final jnumeric.UnaryFunction arctanh
        Returns arctanh(a) and stores the result in r if supplied.
      • ceil

        public static final jnumeric.UnaryFunction ceil
        Returns ceil(a) and stores the result in r if supplied.
      • conjugate

        public static final jnumeric.UnaryFunction conjugate
        Returns conjugate(a) and stores the result in r if supplied.
      • cos

        public static final jnumeric.UnaryFunction cos
        Returns cos(a) and stores the result in r if supplied.
      • cosh

        public static final jnumeric.UnaryFunction cosh
        Returns cosh(a) and stores the result in r if supplied.
      • exp

        public static final jnumeric.UnaryFunction exp
        Returns exp(a) and stores the result in r if supplied.
      • floor

        public static final jnumeric.UnaryFunction floor
        Returns floor(a) and stores the result in r if supplied.
      • imaginary

        public static final jnumeric.UnaryFunction imaginary
        Returns imaginary(a) and stores the result in r if supplied.
      • log

        public static final jnumeric.UnaryFunction log
        Returns log(a) and stores the result in r if supplied.
      • log10

        public static final jnumeric.UnaryFunction log10
        Returns log10(a) and stores the result in r if supplied.
      • logicalNot

        public static final jnumeric.UnaryFunction logicalNot
        Returns the logical inverse of a and stores the result in r if supplied.
      • real

        public static final jnumeric.UnaryFunction real
        Returns real(a) and stores the result in r if supplied.
      • sin

        public static final jnumeric.UnaryFunction sin
        Returns sin(a) and stores the result in r if supplied.
      • sinh

        public static final jnumeric.UnaryFunction sinh
        Returns sinh(a) and stores the result in r if supplied.
      • sqrt

        public static final jnumeric.UnaryFunction sqrt
        Returns sqrt(a) and stores the result in r if supplied.
      • tan

        public static final jnumeric.UnaryFunction tan
        Returns tan(a) and stores the result in r if supplied.
      • tanh

        public static final jnumeric.UnaryFunction tanh
        Returns tanh(a) and stores the result in r if supplied.
    • Constructor Detail

      • UnaryUfunc

        public UnaryUfunc(jnumeric.UnaryFunction function)
        Wraps a UnaryFunction into a universal function.
        Parameters:
        function - The function to wrap
    • Method Detail

      • __findattr_ex__

        public PyObject __findattr_ex__(java.lang.String name)
        Description copied from class: PyObject
        Attribute lookup hook. If the attribute is not found, null may be returned or a Py.AttributeError can be thrown, whatever is more correct, efficient and/or convenient for the implementing class. Client code should use PyObject.__getattr__(String) or PyObject.__findattr__(String). Both methods have a clear policy for failed lookups.
        Overrides:
        __findattr_ex__ in class PyObject
        Returns:
        The looked up value. May return null if the attribute is not found
      • __call__

        public PyObject __call__(PyObject o)
        Description copied from class: PyObject
        A variant of the __call__ method with one argument. The default behavior is to invoke __call__(args, keywords) with the appropriate arguments. The only reason to override this function would be for improved performance.
        Overrides:
        __call__ in class PyObject
        Parameters:
        o - the single argument to the function.
      • __call__

        public PyObject __call__(PyObject o,
                                 PyMultiarray result)
        Two argument unary functions are provided for compatibility with CNumeric. As implemented, they are no more efficient in memory usage or speed than one argument unary functions (and perhaps less so).
        Parameters:
        o - Input array
        result - Array to store the result
        Returns:
        The result, which is the same as result

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.