Element-wise x×log(x) function on numeric or complex vectors (or objects which can be coerced to them).
Usage
# S3 method for default
xlogx(x)
Details
See base::Arithmetic and base::log()
for details about the
multiplication operation and log function.
Note: by convention xlogx(0)
returns 0
.