[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#387137: [Pkg-octave-devel] Bug#387137: spkron(a, b) not working when arguments are scalar



On 9/12/06, Thomas Weber <thomas.weber.mail@gmail.com> wrote:

<snip>

Try
        spkron(sparse(2), sparse(3))

I don't consider this a bug. The overhead for sparse-implementations
just doesn't make sense for scalars.

Regards
        Thomas


The concrete problem is that my code will run fine with full matrices,
until one of these matrices some day turns out to have dimension 1x1.

I would prefer being hit by the error at implementation time, for
instance by spkron() not working on full matrices.

brgds
Nicolas




Reply to: