[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with [] for defined types
From: |
Andy Adler |
Subject: |
Re: Help with [] for defined types |
Date: |
Thu, 8 Jul 2004 08:55:55 -0400 (EDT) |
On Thu, 8 Jul 2004, David Bateman wrote:
> What I suggest is that this is implemented as
>
> cat(cat(sparse(),full()), galois())
>
> with the proviso on memory you discuss below. The first cat would promote the
> sparse matrix to a full() as defined by the function
>
> NDArray concat (const Sparse& ra, const NDArray& rb, Array<int>& ra_idx)
>
> and the second similarly to a Galois type as
>
> galois concat (const NDArray& ra, const galois& rb, Array<int>& ra_idx)
David,
Just to be pedantic, Matlab defines [sparse(),full()] as sparse.
This makes sense in most cases, consider
[sparse( eye(1000) ) , ones(1000,1)];
I don't think this impacts the rest of the discussion.
Andy
- Re: Help with [] for defined types, (continued)
- Re: Help with [] for defined types, David Bateman, 2004/07/05
- Re: Help with [] for defined types, Andy Adler, 2004/07/05
- Re: Help with [] for defined types, David Bateman, 2004/07/05
- Re: Help with [] for defined types, Paul Kienzle, 2004/07/07
- Re: Help with [] for defined types, David Bateman, 2004/07/08
- Re: Help with [] for defined types, Paul Kienzle, 2004/07/08
- Re: Help with [] for defined types, David Bateman, 2004/07/08
- Re: Help with [] for defined types, David Bateman, 2004/07/08
- Attn: Patch (Fcat and [] for defined types), David Bateman, 2004/07/12
- Re: Attn: Patch (Fcat and [] for defined types), David Bateman, 2004/07/12
- Re: Help with [] for defined types,
Andy Adler <=
- Re: Help with [] for defined types, David Bateman, 2004/07/08
- Re: Help with [] for defined types, David Bateman, 2004/07/26
- Re: Help with [] for defined types, Andy Adler, 2004/07/27
- Re: Help with [] for defined types, David Bateman, 2004/07/27