MathGroup Archive 2005

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

Search the Archive

Problem with substitutions in SparseArray?


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?