Problem with substitutions in SparseArray?
- To: mathgroup at smc.vnet.net
- Subject: [mg56824] Problem with substitutions in SparseArray?
- From: Enrico Arrigoni <arrigoni at itp.tu-graz.ac.at>
- Date: Sat, 7 May 2005 04:16:37 -0400 (EDT)
- Organization: The Math Forum
- Sender: owner-wri-mathgroup at wolfram.com
Substitutions don't seem to work in SparseArrays try: m = SparseArray[{{a,0},{0,0}}]; ms = m/.a->1.; Normal[ms] RESULT: {{a, 0}, {0, 0}}
- Follow-Ups:
- Re: Problem with substitutions in SparseArray?
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Problem with substitutions in SparseArray?