Group Abstract Group Abstract

Message Boards Message Boards

0
|
6.7K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

I defined my own AltGamma[z], how to stop 'matica using its Gamma[z] rules?

Posted 11 years ago

I've defined an entire Gamma function. It does not match the negative axis of the Euler Gamma[z], and so the transforms of the Gamma built in are not appropriate. How do I disable the built in rules for Gamma[z], so that I can actually do maths using my functional definition?

POSTED BY: Simon Jackson
3 Replies
Posted 11 years ago
POSTED BY: Simon Jackson

You don't want to redefine Gamma. Changing it might break anything built on top of it. Having warned about that, you can change Gamma with the Unprotect and Protect expressions. For example:

Unprotect[Gamma]
Gamma[x_] := x*2
Protect[Gamma]

Frank Kampas's suggestion is the correct one.

POSTED BY: Sean Clarke

I suggest you call your function myGamma and use it that way. The built-in function might be used for other calculations.

POSTED BY: Frank Kampas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard