exp() no longer take vector values?

Help
yongc
2011-08-08
2012-09-01
  • yongc
    yongc
    2011-08-08

    The program I wrote under v1.03 couldn't be executed since v2.00. The error
    message I got is "Invalid vector argument to exp". Once I add a loop to pass
    scalar to exp(), it works again. So the new version doesn't take vector to
    scalar functions? I'm not sure if it takes longer to run because of the extra
    loop? Please shed some light on this...Thanks!

     
  • Martyn Plummer
    Martyn Plummer
    2011-08-08

    You cannot vectorize link functions. Sorry.

     
  • yongc
    yongc
    2011-08-08

    Thanks Martyn! Keep up the excellent work!