Menu

#89 Improperly defined

None
closed
nobody
None
5
2019-01-11
2018-12-19
No

Hi All,

The following code was copied from the EXCALC user guide:

%% Example 20, Page 468

load_package "excalc"$
coframe e t=d t,e x=d x,e y=d y with signature -1,1,1;  
pform f(k,l)=0$
antisymmetric f$
f(-t,-x):=ex$
f(-x,-y):=b$
f(-t,-y):=0$  
on nero$
f(k,-l):=f(k,-l);  

I get the message "f(-t,-t) improperly defined in terms of itself", the documentation says otherwise.
What is wrong?

Thanks,

Daniel

Discussion

  • Eberhard Schruefer

    Thanks for reporting this. It is another case of not updated documentation. The example code should read

    load_package "excalc"$
    coframe e t=d t,e x=d x,e y=d y with signature -1,1,1;
    pform f(k,l)=0$
    antisymmetric f$
    f(k,l) := 0$
    f(-t,-x):=ex$
    f(-x,-y):=b$
    f(-t,-y):=0$
    on nero$
    f(k,-l);

    Apologies. The documentation will be adjusted in the next snapshot.
    Eberhard

     
  • Daniel Volinski

    Daniel Volinski - 2018-12-23

    Got it, thanks.

     
  • Rainer Schöpf

    Rainer Schöpf - 2019-01-11
    • status: open --> closed
    • Group: -->
     
  • Rainer Schöpf

    Rainer Schöpf - 2019-01-11

    Documentation updated

     

Log in to post a comment.