declaring a procedure

Help
Andy
2012-06-10
2012-11-20
  • Andy

    Andy - 2012-06-10

    Hello,

    I've a problem with declaring a procedure in Reduce:

    procedure gerade(Start,Ziel); begin; return ((Ziel-Start)*t+Start); end;
    G:=mat((1),(1));
    H:=mat((2),(2));
    gerade(g,h); %works
    gerade(g,h)+g;
    

    error message:
    ***** (gerade g h) invalid as scalar

    What did I wrong or is there a bug?

    Thank you very much for an answer,

    Andy

     
  • Andy

    Andy - 2012-06-26

    Can you reproduce this error or does it work for you?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks