aux_x_log_y {SLEMI} | R Documentation |
Calculation of expression x\cdot \log y
Description
Internal, auxiliary functions
Usage
aux_x_log_y(x, y)
Arguments
x |
is a numeric vector |
y |
is a numeric vector (the same length of x) |
Value
Function calculates the value of expression x\cdot \log y
element-wise in a numerically stable way.
The result is a numeric vector of the same length as x. It is assumed that 0\cdot \log 0 = 0
.
Examples
SLEMI:::aux_x_log_y(1,2)
SLEMI:::aux_x_log_y(0,0)
SLEMI:::aux_x_log_y(1000,100)
[Package SLEMI version 1.0.2 Index]