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

Home » Public Forums » archive » inverse gradient
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: inverse gradient [message #64030 is a reply to message #63980] Tue, 02 December 2008 07:45 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
erano wrote:
> On Dec 2, 4:45�pm, Paolo <pgri...@gmail.com> wrote:
>> erano wrote:
>>
>>>> Oddly enough, that's the second time sparse arrays have come up in one
>>>> week!
>>
>>>> You want LINBCG, which takes as input asparsematrix created using
>>>> SPRSIN. The help pages on them are pretty decent - give them a read.
>>
>>>> -Jeremy.
>>
>>> YES, we are at the right direction.
>>> BUT my matrix iz M*N (where M=2*N). when I add zeros to make it M*M,
>>> and thrn use the SPRSIN to make it sparse, the solution from LINBCG is
>>> noot good.
>>
>> How much is M and N?
>>
>> Paolo
>>
>>
>
> For the large array: N is between 10,000 to 800,000 and M=N*2.
> (actually, N is dim_x * dim_y of an image)

My suggestion is to operate on each line of the array
separately and loop over lines and columns.

This way you only need to deal with dim_x by dim_y
arrays, a much simpler problem...

Ciao,
Paolo

>
> Thanks again
>
> Eran
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Problem reading data from stdin using EOF(0) in version 6.0 and 7.0
Next Topic: installing and licensing IDL with FLEXnet

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

Current Time: Thu Oct 09 20:41:53 PDT 2025

Total time taken to generate the page: 0.16010 seconds