Re: Vectors (other problem)
- To: mathgroup at smc.vnet.net
- Subject: [mg13918] Re: [mg13895] Vectors (other problem)
- From: "Jens-Peer Kuska" <kuska at linmpi.mpg.de>
- Date: Mon, 7 Sep 1998 01:22:43 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Hi
if You say
A={Subscript[A,0],Subscript[A,1],Subscript[A,2]}
The assignment gets evaluated and
in the symbol a in the subscript argument gets replaced by its value
{Subscript[A,0],..}, the A in this Subscript argument is evaluated next
and replaced by {Subscript[A,0],..} ... and so on. Thats why You get a
recursion error. It is just like the GNU name that stands for "GNU is
Not Unix" -- take a pice of paper and try to write the sentens with
expanded GNU's.
Ok --- take five weeks with "The Book".
Hope that helps
Jens
-----Original Message-----
From: Olivier Georg <ogeorg at imtsg12.epfl.ch> To: mathgroup at smc.vnet.net
Subject: [mg13918] [mg13895] Vectors (other problem)
>Hi again,
>
>This time, I have a vector I name A, and I would like to name its
>components A_0 (i.e. {Subscript[A, 0]), A_1 and A_2:
>
> / A_0 \
> A = | A_1 |
> \ A_2 /
>
>but I get:
>
>$RecursionLimit::"reclim": "Recursion depth of \!\(256\) exceeded."
>$RecursionLimit::"reclim": "Recursion depth of \!\(256\) exceeded."
>$RecursionLimit::"reclim": "Recursion depth of \!\(256\) exceeded."
>General::"stop": "Further output of \!\($RecursionLimit :: \"reclim\"\)
>will be suppressed during this calculation."
>
>Why ???
>
>Please e-mail, thanks,
>
>Olivier
>
>--
>--------------------------------------------------------------------- |
>Olivier Georg \__ e-mail: olivier.georg at epfl.ch | |
>Ch. de Montelly 43c \__ home: http://imtsg7.epfl.ch/~ogeorg | |
>1007 Lausanne/Switzerland \__ tel: +41 21 693 58 50 (work) |
>-------------------------------\__ +41 21 626 51 79 (private) | |
>Heb Deh Hag Heb Warhoaz \__-------------------------------- |
>Hirio Ne Dalv Ket C'Hoaz \__ ________ __o | |
>( Sans hier et sans demain ) \__ _____ _`\<,_ | | (
>Aujourd'hui ne vaut rien ) \__ ___ (_)/ (_) | |
>"Kinnig", Per Jakez Helias \ |
>---------------------------------------------------------------------
>
>