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