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, ...)
Additional matrices extending the third dimension of value.
An expression representing the total variation.