total_variation: Total variation of a vector or matrix
Description
Computes total variation using L1 norm of discrete gradients for vectors
and L2 norm of discrete gradients for matrices.
Usage
total_variation(value, ...)
Value
An Expression representing the total variation
Arguments
- value
An Expression or numeric constant (vector or matrix)
- ...
Additional matrix expressions extending the third dimension