MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

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}}


  • Prev by Date: Debugging
  • Next by Date: System for Mathematica
  • Previous by thread: Re: Re: RC circuit
  • Next by thread: Re: Problem with substitutions in SparseArray?