Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10954 > unrolled thread

Re: Massive memory issues when using Det

Started byJonathan Frazer <J.Frazer@sussex.ac.uk>
First post2012-07-17 05:30 +0000
Last post2012-07-17 05:30 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Massive memory issues when using Det Jonathan Frazer <J.Frazer@sussex.ac.uk> - 2012-07-17 05:30 +0000

#10954 — Re: Massive memory issues when using Det

FromJonathan Frazer <J.Frazer@sussex.ac.uk>
Date2012-07-17 05:30 +0000
SubjectRe: Massive memory issues when using Det
Message-ID<ju2taj$s4e$1@smc.vnet.net>
Also, I was trying to work out how to use the parallel computing
options but when I tried Parallelize[Det[g]] Mathematica said no. How
do I know if something is parallelizable or not?

Sorry for the stupid questions. This is all rather new to me.

Thank,

Jonny

On 16 Jul 2012, at 12:04,  wrote:

> Hi
>
> I'm having a lot of trouble calculating the determinant of even a 3x3 matrix. The expressions are large but all aspects of the program are handling them fine except Det.
>
> Is Det trying to simplify the expressions by any chance? Is there anything I can try? Below is an example of how I construct the matrix but this example is much simpler. The difference is S\theta\alpha and C\theta\alpha are bigger expressions in the real thing. As far as I can tell the code is logically fine. It works for smaller dimension problems with no trouble at all.
>
> Right now I have been trying to evaluate Det for about 3 hours and its taking up almost 12 GB of memory.
>
> Thanks in advance,
>
> Jonny
>
> On 11 Jul 2012, at 18:39,  wrote:
>
>> d = 2;
>> èá = Table[Symbol["è" <> ToString[i]], {i, d - 1}];
>> Sèá = Sin[èá];
>> Cèá = Cos[èá];
>> sè = r Prepend[Table[Product[Sèá[[á]], {á, i}], {i, d - 1}], 1]*Append[Cèá, 1];
>> ë = Outer[D[#1, #2] &, sè, èá];
>> g = Table[Sum[ë[[ã, á]] ë[[ã, â]], {ã, d}], {á, d - 1}, {â, d - 1}];
>> vol = Sqrt[Det[g]]
>>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web