Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12435
| From | Bob Hanlon <hanlonr357@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to calculate the partial derivative? |
| Date | 2012-11-23 08:35 +0000 |
| Message-ID | <k8ncgr$dk6$1@smc.vnet.net> (permalink) |
| References | <20121122004814.D4F1A6894@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Use Simplify; however, the specific resultant form is determined by
the canonical order of the variables.
bb1 = -Det[{{1, 1, 1}, {y2, y3, y4}, {z2, z3, z4}}] // Simplify
y4 (-z2 + z3) + y3 (z2 - z4) + y2 (-z3 + z4)
-Det[{{1, 1, 1}, {y2, y3, y4}, {x2, x3, x4}}] // Simplify
x4 (y2 - y3) + x2 (y3 - y4) + x3 (-y2 + y4)
Bob Hanlon
On Thu, Nov 22, 2012 at 7:23 PM, Tang Laoya <tanglaoya1989@gmail.com> wrote:
> Dear Prof. Hanlon,
>
> Thank you very much for your kindly reply for my previous question.
>
> Now I have another question about factor:
>
> I wish mathematica give me an express which I can coding by Fortran with
> smallest number of floating operations. For example, if I have:
>
> bb1 = -Det[{{1, 1, 1}, {y2, y3, y4}, {z2, z3, z4}}];
>
> the result by mathematica is:
> y3 z2 - y4 z2 - y2 z3 + y4 z3 + y2 z4 - y3 z4
>
> I wish it output the result like this:
> z2 (y3-y4) - z3 (y2-y4) + z4 (y2-y3)
>
>
> What should I do?
>
>
> Thanks,
> Tang Laoya
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How to calculate the partial derivative? Bob Hanlon <hanlonr357@gmail.com> - 2012-11-23 08:35 +0000
csiph-web