|
[Date Index]
[Thread Index]
[Author Index]
how to Split sparsearray
- To: mathgroup at smc.vnet.net
- Subject: [mg74091] how to Split sparsearray
- From: Arkadiusz.Majka at gmail.com
- Date: Fri, 9 Mar 2007 02:05:26 -0500 (EST)
Hi,
I have very long list of elements >= 0 with more than 90% of zero's
written in SparseArray structure.
sparseList=SparseArray[list];
I want to split it into sublist of zeros and elements greater than
zero and obtain again Sparsearray structure. I can do it by
Split[Normal[sparseList],#1=E2=89=A40===#2<=0&];
SparseArray/@%
Is it better way to do it? Is it possible to do it WITHOUT calling
Normal (to save time and cache)?
Thx,
Arek
Prev by Date:
How to rotate AxesLabel ?
Next by Date:
Kernel needs a lot CPU-Time when idle (WinVista)
Previous by thread:
Re: How to rotate AxesLabel ?
Next by thread:
Re: how to Split sparsearray
|