Table of Contents

Enum UnaryOp

Namespace
NumSharp.Backends.Kernels
Assembly
NumSharp.dll

Unary operations supported by kernel providers.

public enum UnaryOp
Extension Methods

Fields

Negate = 0
Abs = 1
Sqrt = 2
Exp = 3
Log = 4
Sin = 5
Cos = 6
Tan = 7
Exp2 = 8
Expm1 = 9
Log2 = 10
Log10 = 11
Log1p = 12
Sinh = 13
Cosh = 14
Tanh = 15
ASin = 16
ACos = 17
ATan = 18
Sign = 19
Ceil = 20
Floor = 21
Round = 22
Truncate = 23
Reciprocal = 24
Square = 25
Cbrt = 26
Deg2Rad = 27
Rad2Deg = 28
BitwiseNot = 29
LogicalNot = 30

Logical NOT for boolean arrays (! operator, not ~ bitwise)

IsFinite = 31

Test element-wise for finiteness (not infinity and not NaN)

IsNan = 32

Test element-wise for NaN

IsInf = 33

Test element-wise for positive or negative infinity