# aux_x_log_y: Calculation of expression x\cdot \log y In SLEMI: Statistical Learning Based Estimation of Mutual Information

## Description

Internal, auxiliary functions

## Usage

 1 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

 1 2 3 SLEMI:::aux_x_log_y(1,2) SLEMI:::aux_x_log_y(0,0) SLEMI:::aux_x_log_y(1000,100) 

SLEMI documentation built on Feb. 22, 2021, 5:11 p.m.