Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4292
| From | Simon <simonjtyler@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Pattern in immediate definition |
| Date | 2011-08-11 07:25 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j2004p$5k9$1@smc.vnet.net> (permalink) |
| References | <j1o6dl$4i4$1@smc.vnet.net> |
Everyone else has given the sensible answer that you should use
Block[{a,b,...}, defn]
around your function definition.
So I'll just make a few small notes:
Your code:
F = {{a, b, c}, {d, e, f}, {g, h, k}};
det = Det[F];
Flatten[Table[D[det, F[[i, j]]], {i, 1, 3}, {j, 1, 3}]]
can be simplified to
F = {{a, b, c}, {d, e, f}, {g, h, k}};
Flatten[D[Det[F], {F}]]
and it is equivalent the flattened transpose of the adjugate (adjoint) of F, which can be calculated using Minors[F] (see the Applications part of the docs for Minors).
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Pattern in immediate definition eLVa <elvadrias@gmail.com> - 2011-08-08 08:23 +0000 Re: Pattern in immediate definition "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-08-09 11:21 +0000 Re: Pattern in immediate definition Peter Pein <petsie@dordos.net> - 2011-08-09 11:28 +0000 Re: Pattern in immediate definition Simon <simonjtyler@gmail.com> - 2011-08-11 07:25 +0000
csiph-web