indicator_times_value_aux: Auxiliary function for multiplying two numbers such that 0 x...

indicator_times_value_auxR Documentation

Auxiliary function for multiplying two numbers such that 0 x infty is 0. Needed for the ignorance score: 0log(0) should be 0.

Description

Auxiliary function for multiplying two numbers such that 0 x infty is 0. Needed for the ignorance score: 0log(0) should be 0.

Usage

indicator_times_value_aux(indicator, value)

Arguments

indicator

logical input vector

value

numeric input vector

Value

indicator x value with 0*infty = 0


SeaVal documentation built on June 24, 2024, 5:15 p.m.