MathGroup Archive 2001

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

Search the Archive

RE: multiplyin a symbol by 0

  • To: mathgroup at
  • Subject: [mg29210] RE: [mg29197] multiplyin a symbol by 0
  • From: "David Park" <djmp at>
  • Date: Mon, 4 Jun 2001 05:30:43 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

It looks as if you are actually using quotation marks around your symbols
and integers. This turns them into strings, which are entirely different
objects in Mathematica. Leave off the quotation marks. (On output,
Mathematica does not display the quotation marks and this can lead to

"a" "0"
0 a  (The quotation marks were not displayed)

a 0

David Park
djmp at

> -----Original Message-----
> Hi,
> when multpily a symbol "a" with zero "0",
> In: a*0.
> Out: a 0.
> I do large computations with symbols and I believe that leaving
> products of
> a symbol by 0 as it is consumes lots of memory...
> Is there any way to make the product of a symbol by zero to be equal to
> zero, such as,
> In: a*0.
> Out: 0.
> Sincerely,
> Umud.

  • Prev by Date: MathReader, Linux installation?
  • Next by Date: Re: codes for option pricing models
  • Previous by thread: Re: multiplyin a symbol by 0
  • Next by thread: Repeating decimals