home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   sci.math.symbolic      Symbolic algebra discussion      10,432 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,372 of 10,432   
   giuseppe to oldk1331@gmail.com   
   Re: Axiom question on one exercise   
   16 Apr 17 11:33:35   
   
   From: giuseppe@invalid.invalid   
      
   On Sun, 16 Apr 2017 02:20:37 -0700 (PDT), oldk1331@gmail.com wrote:   
      
   >For your first attempt, you need '()' to group expressions:   
   >   
   >h:=(a,b,n)+->(v:=series((a+b*x)^((floor(n*10.0))::INT/10));[coefficient(v,i)   
   for i in 0..3])   
   >   
   >For your second attempt, as the error message shows,   
   >you have to give type information for anonymous functions.   
   >Why not use   
   >h(a,b,n)==(v:=series((a+b*x)^((floor(n*10.0))::INT/10));[coefficient(v,i) for   
   i in 0..3])   
      
   Thank you very much   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca