sparse(i, j, v) for N-dim input
How about making
S = sparse (I, J, SV, M, N, NZMAX)
work for multi dimensional I, J and SV ?
The workaround sparse(I(:), J(:), SV(:)) is easy, but I would like
sparse() to check that the dimensions of I, J, and SV were the same
and then create the sparse matrix also for 3+-dimensional input
matrices.
I can implement the change, I just want to hear if it is a bad idea
before I start coding.
--
Kim Hansen
Vadgårdsvej 3, 2.tv
2860 Søborg
Fastnet: 3956 2437 -- Mobil: 3091 2437