I understand that if f is vector-valued, then the Hessian becomes a tensor of rank 3. Can anyone explain to me how this tensor is calculated? Also, can one also calculate the determinant of the resulting tensor?