comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Cubic root finding on a grid
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Cubic root finding on a grid [message #68737] Fri, 20 November 2009 08:03 Go to previous message
Luds is currently offline  Luds
Messages: 7
Registered: September 2009
Junior Member
Hi IDL'ers,

I'm trying to find an efficient method for estimating the eigenvalues
of a tensor which is defined on a cubic (NxNxN) grid. The tensor is a
simple 3x3 (symmetric) matrix defined at each of the N^3 grid points,
so the eigenvalues at a given grid point can be calculated by (for
example) the IDL routine IMSL_ZEROPOLY simply by finding the roots of
the cubic polynomial defined by the matrix at that point - but this
routine doesn't handle array's of coefficients, so it has to be
evaluated on the grid point by point.

My grids are up to 512^3, so using a for-loop to compute the
eigenvalues at each node is rather slow. Does anyone know of any
adaptations of the IMSL_ZEROPOLY routine that can work on a grid of
3X3 matricies (or on an array of polynomial coefficients)?

Any suggestions would help.

Best,
Ludlow
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Finding distance with longitude and latitude
Next Topic: All logical unit currently in use

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:24:41 PDT 2025

Total time taken to generate the page: 1.12382 seconds