On Fri, 09 May 2008 at 11:25AM -0700, Marshall Hampton wrote:
> Somewhat relevant to this are the (IMHO) very nice substitutions,
> rules, and patterns in mathematica (although the syntax is pretty
> odd). As a very simple example, the command:
>
> In: {x, x*y} /. {{x -> 1, y -> 2}, {x -> 2, y -> 3}}
>
> returns
>
> Out: {{1,2},{2,6}}
>
> The Sage subs command is quite weak compared to such substitutions in
> mathematica. One can do very complicated condition substitutions,
> regular-expression like matching, etc.I really liked Mathematica's ability to do complicated substitutions, pattern matching, and so on -- although yes, the syntax got weird. I'd like to see Sage get more of that ability. Dan -- --- Dan Drake <[EMAIL PROTECTED]> ----- KAIST Department of Mathematical Sciences ------- http://math.kaist.ac.kr/~drake
signature.asc
Description: Digital signature
