On 21-Mar-2008, David Bateman wrote: | Ok and here is the patch that moves the diag function into the | octave_value classes. It also has template versions of the diag function | in the Array<T> and Sparse<T> classes rather than in the derived classes | to simplify the code. I applied it. Thanks, jwe