Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Why should we subsidize intellectual curiosity?" -- Ronald Reagan


devel / comp.lang.fortran / Eigen stuff

SubjectAuthor
* Eigen stuffdb
+- Re: Eigen stuffpehache
+* Re: Eigen stuffJeff Ryman
|`- Re: Eigen stuffpehache
+* Re: Eigen stuffDavid Duffy
|`- Re: Eigen stuffdb
+* Re: Eigen stuffSpiros Bousbouras
|`- Re: Eigen stuffdb
`- Re: Eigen stuffgah4

1
Eigen stuff

<ujal84$3bv02$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3760&group=comp.lang.fortran#3760

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.lang.fortran
Subject: Eigen stuff
Date: Sat, 18 Nov 2023 16:29:08 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <ujal84$3bv02$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 18 Nov 2023 15:29:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cd65302db22b8dd172010046639c93d8";
logging-data="3537922"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ckgmAMhdzo4kELS3DmJo0+q4kZ0g+ES0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:yd/8bXVtbebuluiESQpLiwvBAWk=
Content-Language: en-US
 by: db - Sat, 18 Nov 2023 15:29 UTC

I don't find an ng on numerical computation, and I use
Fortran, so I ask here: what is a good routine for
computing eigenvalues and -vectors? I have an old
version of RGG but am not happy with it. Is there
something better?

I anticipate the question, why am I unhappy with RGG?
Among other things, it's an old f77 routine.
--
Dieter Britz

Re: Eigen stuff

<krsrugF4kerU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3761&group=comp.lang.fortran#3761

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: pehache.7@gmail.com (pehache)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Sat, 18 Nov 2023 23:25:20 +0100
Lines: 22
Message-ID: <krsrugF4kerU1@mid.individual.net>
References: <ujal84$3bv02$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net tkbcywk+gzpRgvQAw4uy2A/bXLKhiFC91gp4CHFcGQwdcHulfr
Cancel-Lock: sha1:NpSp68Yo3SC8f2Ql1uy2JHhhfTo= sha256:5NXYB91yM8vky0/6SEfBZ/B1HFpHQjMS66tsTrKlvtA=
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.11.0
Content-Language: fr
In-Reply-To: <ujal84$3bv02$1@dont-email.me>
 by: pehache - Sat, 18 Nov 2023 22:25 UTC

Le 18/11/2023 à 16:29, db a écrit :
> I don't find an ng on numerical computation, and I use
> Fortran, so I ask here: what is a good routine for
> computing eigenvalues and -vectors? I have an old
> version of RGG but am not happy with it. Is there
> something better?
>
> I anticipate the question, why am I unhappy with RGG?
> Among other things, it's an old f77 routine.

What's the problem with an "old f77 routine"? Does it give you
unsatisfactory/wrong results? Do you need to modify it and are you stuck
with some spaghetti code? Other...?

LAPACK has also several routines for that task, but it's also "old f77
code". But assuming you are using an optimized version of BLAS/LAPACK
it's fast nonetheless.

--
"...sois ouvert aux idées des autres pour peu qu'elles aillent dans le
même sens que les tiennes.", ST sur fr.bio.medecine
ST passe le mur du çon : <j3nn2hFmqj7U1@mid.individual.net>

Re: Eigen stuff

<bllili56ddaim3f19fq88c5uu8n3nm12rk@4ax.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3762&group=comp.lang.fortran#3762

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!.POSTED!not-for-mail
From: rymanjc@outlook.com (Jeff Ryman)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Sat, 18 Nov 2023 16:29:40 -0800
Organization: i2pn2 (i2pn.org)
Message-ID: <bllili56ddaim3f19fq88c5uu8n3nm12rk@4ax.com>
References: <ujal84$3bv02$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: i2pn2.org;
logging-data="1378318"; mail-complaints-to="usenet@i2pn2.org";
posting-account="f/utwbgwEIRvIgrNKkmfgq6VLs0bI+0rbmBywvegfUg";
User-Agent: ForteAgent/8.00.32.1272
 by: Jeff Ryman - Sun, 19 Nov 2023 00:29 UTC

On Sat, 18 Nov 2023 16:29:08 +0100, db <dieterhansbritz@gmail.com>
wrote:

>I don't find an ng on numerical computation, and I use
>Fortran, so I ask here: what is a good routine for
>computing eigenvalues and -vectors? I have an old
>version of RGG but am not happy with it. Is there
>something better?
>
>I anticipate the question, why am I unhappy with RGG?
>Among other things, it's an old f77 routine.

The following link to LAPACK says it is written in Fortran 90:
https://www.netlib.org/lapack/

There is a link on that page to browse and download the routines.

Re: Eigen stuff

<ujc7l5$3n0ma$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3763&group=comp.lang.fortran#3763

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.goja.nl.eu.org!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: davidd02@tpg.com.au (David Duffy)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Sun, 19 Nov 2023 05:49:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <ujc7l5$3n0ma$1@dont-email.me>
References: <ujal84$3bv02$1@dont-email.me>
Injection-Date: Sun, 19 Nov 2023 05:49:27 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4048407b0680d9c8ce5cc8dc325f8c23";
logging-data="3900106"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19m1OEn6cOCRBYRc2iGE6VKe/aXAPmoxcI="
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/5.15.0-88-generic (x86_64))
Cancel-Lock: sha1:FypKL8DbUhZTP3whJZLxwx1tu5E=
 by: David Duffy - Sun, 19 Nov 2023 05:49 UTC

db <dieterhansbritz@gmail.com> wrote:
> Fortran, so I ask here: what is a good routine for
> computing eigenvalues and -vectors? I have an old
> version of RGG but am not happy with it. Is there
> something better?
>
> I anticipate the question, why am I unhappy with RGG?
> Among other things, it's an old f77 routine.

Um, how big are the matrices and what are you doing? For
analysis of very large datasets, people are using
randomized linear algebraic methods to extract
eigenvalues/vectors very quickly and accurately -

SciPy's scipy.linalg.interpolative calls a Fortran
library (it's still F77 ;)) from here:

http://tygert.com/software.html

which in turn uses LAPACK. The resulting Singular Value
Decomposition (https://arxiv.org/pdf/2302.11474.pdf) has
the bits you want. For my smaller problems, I use EISPACK,
translated from Algol of the 1960's...

Cheers, David Duffy.

Re: Eigen stuff

<k0Li1Txg1muIDNuaA@bongo-ra.co>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3765&group=comp.lang.fortran#3765

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: spibou@gmail.com (Spiros Bousbouras)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Sun, 19 Nov 2023 11:08:08 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <k0Li1Txg1muIDNuaA@bongo-ra.co>
References: <ujal84$3bv02$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 19 Nov 2023 11:08:08 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b3ef42e8314f672bf66b8b5062fc3f8e";
logging-data="3984932"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+CCRJ0adEgHnKX+eJ3vHry"
Cancel-Lock: sha1:Vva4NcL1hOkvg8HD22CsB07VHJ4=
X-Server-Commands: nowebcancel
In-Reply-To: <ujal84$3bv02$1@dont-email.me>
X-Organisation: Weyland-Yutani
 by: Spiros Bousbouras - Sun, 19 Nov 2023 11:08 UTC

On Sat, 18 Nov 2023 16:29:08 +0100
db <dieterhansbritz@gmail.com> wrote:
> I don't find an ng on numerical computation, and I use
> Fortran, so I ask here:

There does exist sci.math.num-analysis .It has a lot of spam but if
you access it through a server which filters spam (or you do your own
filtering) , it's ok. Non spam posts seem at present to only be
conference announcements. For future numerical analysis questions you
could try crossposting to sci.math.num-analysis and comp.lang.fortran .

Re: Eigen stuff

<ssEnpUfMXranHUcRdSP1DvTqAjI@jntp>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3769&group=comp.lang.fortran#3769

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!paganini.bofh.team!pasdenom.info!from-devjntp
Message-ID: <ssEnpUfMXranHUcRdSP1DvTqAjI@jntp>
JNTP-Route: news2.nemoweb.net
JNTP-DataType: Article
Subject: Re: Eigen stuff
References: <ujal84$3bv02$1@dont-email.me> <bllili56ddaim3f19fq88c5uu8n3nm12rk@4ax.com>
Newsgroups: comp.lang.fortran
JNTP-HashClient: tVhwBEjBMKRqBhUP46wWTWTpLCU
JNTP-ThreadID: ujal84$3bv02$1@dont-email.me
JNTP-Uri: http://news2.nemoweb.net/?DataID=ssEnpUfMXranHUcRdSP1DvTqAjI@jntp
User-Agent: Nemo/0.999a
JNTP-OriginServer: news2.nemoweb.net
Date: Sun, 19 Nov 23 21:40:28 +0000
Organization: Nemoweb
JNTP-Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/115.0
Injection-Info: news2.nemoweb.net; posting-host="020ce5ce37af206065359e759fcc34c2c28de98b"; logging-data="2023-11-19T21:40:28Z/8412436"; posting-account="44@news2.nemoweb.net"; mail-complaints-to="newsmaster@news2.nemoweb.net"
JNTP-ProtocolVersion: 0.21.1
JNTP-Server: PhpNemoServer/0.94.5
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-JNTP-JsonNewsGateway: 0.96
From: pehache.7@gmail.com (pehache)
 by: pehache - Sun, 19 Nov 2023 21:40 UTC

Le 19/11/2023 à 01:29, Jeff Ryman a écrit :
> On Sat, 18 Nov 2023 16:29:08 +0100, db <dieterhansbritz@gmail.com>
> wrote:
>
>>I don't find an ng on numerical computation, and I use
>>Fortran, so I ask here: what is a good routine for
>>computing eigenvalues and -vectors? I have an old
>>version of RGG but am not happy with it. Is there
>>something better?
>>
>>I anticipate the question, why am I unhappy with RGG?
>>Among other things, it's an old f77 routine.
>
> The following link to LAPACK says it is written in Fortran 90:
> https://www.netlib.org/lapack/
>
> There is a link on that page to browse and download the routines.

Some Lapack routines incorporate elements of F90, but overall the code is
still mostly F77. For instance look at DGEMV:
https://www.netlib.org/lapack/explore-html/d7/d15/group__double__blas__level2_gadd421a107a488d524859b4a64c1901a9.html

Fixed-form source, do loops terminated on labels, etc...

Re: Eigen stuff

<uji0ok$ppnv$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3773&group=comp.lang.fortran#3773

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Tue, 21 Nov 2023 11:28:36 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <uji0ok$ppnv$1@dont-email.me>
References: <ujal84$3bv02$1@dont-email.me> <ujc7l5$3n0ma$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Nov 2023 10:28:36 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dbe22dca807424cb32a75599e3ef732d";
logging-data="845567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+c+OKAJhD/kmst1+/9t1vau8Z9oHWesCg="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0xOdnEGPRXbXsh1r8Wr76NE9OMY=
Content-Language: en-US
In-Reply-To: <ujc7l5$3n0ma$1@dont-email.me>
 by: db - Tue, 21 Nov 2023 10:28 UTC

On 19.11.2023 06.49, David Duffy wrote:
> db <dieterhansbritz@gmail.com> wrote:
>> Fortran, so I ask here: what is a good routine for
>> computing eigenvalues and -vectors? I have an old
>> version of RGG but am not happy with it. Is there
>> something better?
>>
>> I anticipate the question, why am I unhappy with RGG?
>> Among other things, it's an old f77 routine.
>
> Um, how big are the matrices and what are you doing? For
> analysis of very large datasets, people are using
> randomized linear algebraic methods to extract
> eigenvalues/vectors very quickly and accurately -
>
> SciPy's scipy.linalg.interpolative calls a Fortran
> library (it's still F77 ;)) from here:
>
> http://tygert.com/software.html
>
> which in turn uses LAPACK. The resulting Singular Value
> Decomposition (https://arxiv.org/pdf/2302.11474.pdf) has
> the bits you want. For my smaller problems, I use EISPACK,
> translated from Algol of the 1960's...
>
> Cheers, David Duffy.
Thanks. Wow, Algol, my first high-level language after one called A9,
a sort of assembler language running on the Silliac machine at Sydney
Uni in the 60's.
--
Dieter Britz

Re: Eigen stuff

<uji0qj$ppnv$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3774&group=comp.lang.fortran#3774

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: dieterhansbritz@gmail.com (db)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Tue, 21 Nov 2023 11:29:39 +0100
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uji0qj$ppnv$2@dont-email.me>
References: <ujal84$3bv02$1@dont-email.me> <k0Li1Txg1muIDNuaA@bongo-ra.co>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 21 Nov 2023 10:29:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="dbe22dca807424cb32a75599e3ef732d";
logging-data="845567"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+6ryCf73L4Hk2poojpMvPi/uI8KGKmcS8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:kki/fopeZRf5qyMPBUAu225Kebo=
In-Reply-To: <k0Li1Txg1muIDNuaA@bongo-ra.co>
Content-Language: en-US
 by: db - Tue, 21 Nov 2023 10:29 UTC

On 19.11.2023 12.08, Spiros Bousbouras wrote:
> On Sat, 18 Nov 2023 16:29:08 +0100
> db <dieterhansbritz@gmail.com> wrote:
>> I don't find an ng on numerical computation, and I use
>> Fortran, so I ask here:
>
> There does exist sci.math.num-analysis .It has a lot of spam but if
> you access it through a server which filters spam (or you do your own
> filtering) , it's ok. Non spam posts seem at present to only be
> conference announcements. For future numerical analysis questions you
> could try crossposting to sci.math.num-analysis and comp.lang.fortran .
Ah, thanks. I had searched for "numerical"...
--
Dieter Britz

Re: Eigen stuff

<uk1u7e$3o5jl$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3779&group=comp.lang.fortran#3779

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: gah@ugcs.caltech.edu (gah4)
Newsgroups: comp.lang.fortran
Subject: Re: Eigen stuff
Date: Mon, 27 Nov 2023 03:23:26 -0800
Organization: UW
Lines: 18
Message-ID: <uk1u7e$3o5jl$1@dont-email.me>
References: <ujal84$3bv02$1@dont-email.me>
Reply-To: gah4@u.washington.edu
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Nov 2023 11:23:26 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="32d341b322e3fde3f5423c8dbb5367d8";
logging-data="3937909"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iR92Sfo0VSUHoK/DzIh7g"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:GW1Xpg6NbzX0k3mKW+iqARt0usg=
Content-Language: en-US
In-Reply-To: <ujal84$3bv02$1@dont-email.me>
 by: gah4 - Mon, 27 Nov 2023 11:23 UTC

On 11/18/23 7:29 AM, db wrote:
> I don't find an ng on numerical computation, and I use
> Fortran, so I ask here: what is a good routine for
> computing eigenvalues and -vectors? I have an old
> version of RGG but am not happy with it. Is there
> something better?

> I anticipate the question, why am I unhappy with RGG?
> Among other things, it's an old f77 routine.

It is nice to have old routines updated to accept
assumed shape arrays. Often enough, the underlying
algorithms haven't changed.

Sometimes it is done with a wrapper, that then calls
the old routine. Or one can rewrite the first lines,
to give the right values to variables, and then into
the original code.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor