[Pkg-octave-devel] Bug#706376: Bug#706376: Bug#706376: Bug#706376: Bug#706376: octave: sparse matrix n*2^16
- To: David Bateman <david@bateman.eu>, 706376@bugs.debian.org
- Cc: Ed Meyer <eem2314@gmail.com>, Miroslaw Kwasniak <Miroslaw.Kwasniak@pwr.wroc.pl>, Octave Maintainers List <octave-maintainers@octave.org>
- Subject: [Pkg-octave-devel] Bug#706376: Bug#706376: Bug#706376: Bug#706376: Bug#706376: octave: sparse matrix n*2^16
- From: Jordi Gutiérrez Hermoso <jordigh@octave.org>
- Date: Sat, 15 Jun 2013 21:48:39 -0400
- Message-id: <[🔎] CAPHS2gwf5kDq5sSgtGYC-ihW8_BB57PH-ZXC0ZLKd=-E1oOKNQ@mail.gmail.com>
- Reply-to: Jordi Gutiérrez Hermoso <jordigh@octave.org>, 706376@bugs.debian.org
- In-reply-to: <[🔎] 51BC817E.7080401@bateman.eu>
- References: <20130429102522.GA28312@uv.ikem.pwr.wroc.pl> <CAPHS2gxr6tYVkJFrQqCUd=aYu93b1uV-4tG_o46vnjZ5kHw6UQ@mail.gmail.com> <CAKWV3Rr1J0LQO3Vx_ASs5epq6U1tn1+nSgjAEecePhUAKga7WA@mail.gmail.com> <CAPHS2gyTkO7BrmTO6Q9o-Tc01wuGr_LeM=0fLLiCabh+GPjdtA@mail.gmail.com> <CAKWV3RogRArufv-F8dt5ftEm5SqAmYbjdot13O2LVADGgpQu7Q@mail.gmail.com> <CAPHS2gwsVbvQuaeQLaUMosCjp4pdZgj7noEohveyGb2-tV6u3A@mail.gmail.com> <CAPHS2gzdPYpp2XscvcdOo+gC3D81JHBXujm8bfWyyxJKrdfoJA@mail.gmail.com> <CAKWV3Rr_MP6Dcqqu1HSSqjCH-3-WJhuG-ncLtXQYQjhV1kgM+A@mail.gmail.com> <CAPHS2gxqDAr6gDpkPV+4_x3v8NM=rZ9LEmnKkQWewdheSLU9-Q@mail.gmail.com> <CAKWV3RpWZ2XTnUX8t0qCmUs-YZ2zEh_YFurxbCpK=1gCCjd4cw@mail.gmail.com> <CAPHS2gxBTZpcwrUpvDJTDKBEiG+qx7GCTsWB3LkMR0ZYZw1zTg@mail.gmail.com> <CAKWV3Rp5_FLhmUHN9XD5A2Ts2AsFuc1jqNpnyixiicf-AvVj_A@mail.gmail.com> <CAPHS2gyTFfBPRyrhEQLid0xtWeCAj3M2cewbd_5dPtw6oUeVKw@mail.gmail.com> <[🔎] 51BC817E.7080401@bateman.eu>
On 15 June 2013 11:00, David Bateman <david@bateman.eu> wrote:
> Ed is right the is_empty method of the octave_base_value class should be
> specialized for sparse matrices as in the attached changeset as it has
> no need to rely on numel. Then any function that relies on isempty
> should now work for sparse matrices.
Now what should happen if numel is actually called for sparse
matrices? And how do you propose to fix linear indexing?
I'm not saying you shouldn't do it, just that it's difficult and
boring. Also, can't you push your own patches? I thought you were
still in the access list.
- Jordi G. H.
Reply to: