Skip to contents

Smooth elementwise functions of a single expression. Each returns an expression of the same shape as its argument.

Arguments

child, c

an expression handle (the argument).

p

exponent for sd_power.

Value

An expression handle.

Details

sd_exp, sd_log

exponential and natural logarithm.

sd_sin, sd_cos, sd_tan

trigonometric functions.

sd_sinh, sd_tanh, sd_asinh, sd_atanh

hyperbolic and inverse-hyperbolic functions.

sd_logistic

the logistic \(\log(1 + e^x)\).

sd_xexp

\(x e^x\).

sd_normal_cdf

the standard normal CDF.

sd_entr

the elementwise entropy \(-x \log x\).

sd_power

the power \(x^p\).

sd_neg

negation \(-x\).