The total variation of a vector, matrix, or list of matrices. Uses L1 norm of discrete gradients for vectors and L2 norm of discrete gradients for matrices.
TotalVariation(value,...)
Arguments
value: An Expression representing the value to take the total variation of.
...: Additional matrices extending the third dimension of value.