tick.prox.ProxPositive

class tick.prox.ProxPositive(range: tuple = None, positive: bool = False)[source]

Projection operator onto the half-space of vectors with non-negative entries

Parameters:

range : tuple of two int, default=`None`

Range on which the prox is applied. If None then the prox is applied on the whole vector

Attributes:

dtype : {'float64', 'float32'}

Type of the arrays used.

Examples using tick.prox.ProxPositive