Class MLCArithmeticOperation


  • public final class MLCArithmeticOperation
    extends java.lang.Object
    [@enum] MLCArithmeticOperation The list of supported arithmetic operations.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int Acos
      An operation that calculates the elementwise inverse cosine of its inputs.
      static int Acosh
      An operation that calculates the elementwise inverse hyperbolic cosine of its inputs.
      static int Add
      An operation that calculates the elementwise sum of its two inputs.
      static int Asin
      An operation that calculates the elementwise inverse sine of its inputs.
      static int Asinh
      An operation that calculates the elementwise inverse hyperbolic sine of its inputs.
      static int Atan
      An operation that calculates the elementwise inverse tangent of its inputs.
      static int Atanh
      An operation that calculates the elementwise inverse hyperbolic tangent of its inputs.
      static int Ceil
      An operation that calculates the elementwise ceiling of its inputs.
      static int Cos
      An operation that calculates the elementwise cosine of its inputs.
      static int Cosh
      An operation that calculates the elementwise hyperbolic cosine of its inputs.
      static int Count
      Must be last
      static int Divide
      An operation that calculates the elementwise division of its two inputs.
      static int DivideNoNaN
      An operations that calculates the elementwise division of its two inputs.
      static int Exp
      An operation that calculates the elementwise result of e raised to the power of its input.
      static int Exp2
      An operation that calculates the elementwise result of 2 raised to the power of its input.
      static int Floor
      An operation that calculates the elementwise floor of its two inputs.
      static int Log
      An operation that calculates the elementwise natural logarithm of its input.
      static int Log2
      An operation that calculates the elementwise base 2 logarithm of its input.
      static int Max
      An operations that calculates the elementwise max of two inputs.
      static int Min
      An operation that calculates the elementwise min of two inputs.
      static int Multiply
      An operation that calculates the elementwise product of its two inputs.
      static int MultiplyNoNaN
      An operation that calculates the elementwise product of its two inputs.
      static int Pow
      An operation that calculates the elementwise first input raised to the power of its second input.
      static int Round
      An operation that calculates the elementwise round of its inputs.
      static int Rsqrt
      An operation that calculates the elementwise reciprocal of the square root of its inputs.
      static int Sin
      An operation that calculates the elementwise sine of its inputs.
      static int Sinh
      An operation that calculates the elementwise hyperbolic sine of its inputs.
      static int Sqrt
      An operation that calculates the elementwise square root of its inputs.
      static int Subtract
      An operation that calculates the elementwise difference of its two inputs.
      static int Tan
      An operation that calculates the elementwise tangent of its inputs.
      static int Tanh
      An operation that calculates the elementwise hyperbolic tangent of its inputs.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Add

        public static final int Add
        An operation that calculates the elementwise sum of its two inputs.
        See Also:
        Constant Field Values
      • Subtract

        public static final int Subtract
        An operation that calculates the elementwise difference of its two inputs.
        See Also:
        Constant Field Values
      • Multiply

        public static final int Multiply
        An operation that calculates the elementwise product of its two inputs.
        See Also:
        Constant Field Values
      • Divide

        public static final int Divide
        An operation that calculates the elementwise division of its two inputs.
        See Also:
        Constant Field Values
      • Floor

        public static final int Floor
        An operation that calculates the elementwise floor of its two inputs.
        See Also:
        Constant Field Values
      • Round

        public static final int Round
        An operation that calculates the elementwise round of its inputs.
        See Also:
        Constant Field Values
      • Ceil

        public static final int Ceil
        An operation that calculates the elementwise ceiling of its inputs.
        See Also:
        Constant Field Values
      • Sqrt

        public static final int Sqrt
        An operation that calculates the elementwise square root of its inputs.
        See Also:
        Constant Field Values
      • Rsqrt

        public static final int Rsqrt
        An operation that calculates the elementwise reciprocal of the square root of its inputs.
        See Also:
        Constant Field Values
      • Sin

        public static final int Sin
        An operation that calculates the elementwise sine of its inputs.
        See Also:
        Constant Field Values
      • Cos

        public static final int Cos
        An operation that calculates the elementwise cosine of its inputs.
        See Also:
        Constant Field Values
      • Tan

        public static final int Tan
        An operation that calculates the elementwise tangent of its inputs.
        See Also:
        Constant Field Values
      • Asin

        public static final int Asin
        An operation that calculates the elementwise inverse sine of its inputs.
        See Also:
        Constant Field Values
      • Acos

        public static final int Acos
        An operation that calculates the elementwise inverse cosine of its inputs.
        See Also:
        Constant Field Values
      • Atan

        public static final int Atan
        An operation that calculates the elementwise inverse tangent of its inputs.
        See Also:
        Constant Field Values
      • Sinh

        public static final int Sinh
        An operation that calculates the elementwise hyperbolic sine of its inputs.
        See Also:
        Constant Field Values
      • Cosh

        public static final int Cosh
        An operation that calculates the elementwise hyperbolic cosine of its inputs.
        See Also:
        Constant Field Values
      • Tanh

        public static final int Tanh
        An operation that calculates the elementwise hyperbolic tangent of its inputs.
        See Also:
        Constant Field Values
      • Asinh

        public static final int Asinh
        An operation that calculates the elementwise inverse hyperbolic sine of its inputs.
        See Also:
        Constant Field Values
      • Acosh

        public static final int Acosh
        An operation that calculates the elementwise inverse hyperbolic cosine of its inputs.
        See Also:
        Constant Field Values
      • Atanh

        public static final int Atanh
        An operation that calculates the elementwise inverse hyperbolic tangent of its inputs.
        See Also:
        Constant Field Values
      • Pow

        public static final int Pow
        An operation that calculates the elementwise first input raised to the power of its second input.
        See Also:
        Constant Field Values
      • Exp

        public static final int Exp
        An operation that calculates the elementwise result of e raised to the power of its input.
        See Also:
        Constant Field Values
      • Exp2

        public static final int Exp2
        An operation that calculates the elementwise result of 2 raised to the power of its input.
        See Also:
        Constant Field Values
      • Log

        public static final int Log
        An operation that calculates the elementwise natural logarithm of its input.
        See Also:
        Constant Field Values
      • Log2

        public static final int Log2
        An operation that calculates the elementwise base 2 logarithm of its input.
        See Also:
        Constant Field Values
      • MultiplyNoNaN

        public static final int MultiplyNoNaN
        An operation that calculates the elementwise product of its two inputs. Returns 0 if y in x * y is zero, even if x is NaN or INF API-Since: 14.5
        See Also:
        Constant Field Values
      • DivideNoNaN

        public static final int DivideNoNaN
        An operations that calculates the elementwise division of its two inputs. Returns 0 if the denominator is 0. API-Since: 14.5
        See Also:
        Constant Field Values
      • Min

        public static final int Min
        An operation that calculates the elementwise min of two inputs. API-Since: 14.5
        See Also:
        Constant Field Values
      • Max

        public static final int Max
        An operations that calculates the elementwise max of two inputs. API-Since: 14.5
        See Also:
        Constant Field Values