QMRITools`GeneralTools`
QMRITools`GeneralTools`

LogNoZero

LogNoZero[val]

return the log of the val which can be anny dimonsion array. if val=0 the output is 0.