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