Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline overlord  
#1 Posted : 06 June 2021 14:45:29(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
It seems I can't put incomplete gamma functions into user defined functions.
While they are correctly calculated if assigned to a variable or directly inputted,
They give an odd error with "- not defined" when they are in a function.

Regards

2021-06-06_14-44.png

Edited by user 06 June 2021 14:48:56(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Razonar  
#2 Posted : 06 June 2021 19:55:13(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
Hi overlord. Try this please, which prevent the error evaluating the function definition.

Clipboard01.jpg

Best regards.
Alvaro.
Offline overlord  
#3 Posted : 06 June 2021 20:57:15(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,126
Turkey

Was thanked: 507 time(s) in 338 post(s)
Originally Posted by: Razonar Go to Quoted Post
Hi overlord. Try this please, which prevent the error evaluating the function definition.

Clipboard01.jpg

Best regards.
Alvaro.

It works indeed, thank you Alvaro.
I would never thought a line could get around this error.
But why even this error exists? And can it be fixed?

gamma.png
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.