Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2577
| From | Sam Takoy <sam.takoy@yahoo.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Overloading functions |
| Date | 2011-05-21 10:50 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <ir85dd$bj4$1@smc.vnet.net> (permalink) |
Hi, In the following code MyOperator[g_][x_, y_] = 4 + Derivative[1, 0][g][x, y]; f[x_, y_] = x + y; f[x_, y_, z_] = 2 x + 2 y + 2 z; MyOperator[f][x, y] how does Mathematica know which f to send to MyOperator. Can someone outline the formal decision tree that Mathematica follows? Thanks! Sam
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Overloading functions Sam Takoy <sam.takoy@yahoo.com> - 2011-05-21 10:50 +0000
csiph-web