Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Re: Lists and Plus

  • To:
  • Subject: [mg10688] Re: Lists and Plus
  • From: (Andrzej Kozlowski)
  • Date: Fri, 30 Jan 1998 04:24:25 -0500
  • Organization: BEKKOAME INTERNET INC.
  • References: <6ahpql$>
  • Xref: comp.soft-sys.math.mathematica:30001268

You must first unprotect Plus before you can get rid of the Listable
attribute, which is what is causing your problem. THi sis how you do
it: Unprotect[Plus]

In article <6ahpql$>, Lemm@Stud-Mailer.Uni-Marburg.DE
(Thomas Lemm) wrote:

> I intend to implement routines for basic operator algebra as found in
> second quatisation. As my operators commute only under certain
> circumstances I want to put them into lists. But by default Plus and
> other operations are simplified into the lists:
> { a, b, d, g } + 1 evaluates to
> { a+1, b+1, d+1, g+1 }
> which is - in my case - not appropriate. Please give some advice about
> how to handle this problem. I already tried to clear Operator Plus but
> did not succeed. If you can think of another way to takle the operator
> algebra problem, don't hesitate to give advice, too.
> Thomas Lemm
ANdrzej Kozlowski

  • Prev by Date: (U)Symbolic Manipulation
  • Next by Date: Re: define function of functions
  • Prev by thread: Lists and Plus
  • Next by thread: Re: Lists and Plus