[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Eigenvalues of Nonsymmetric matrices
From: |
Chris Gast |
Subject: |
Re: [Help-gsl] Eigenvalues of Nonsymmetric matrices |
Date: |
Sun, 17 Jan 2010 13:38:26 -0800 |
Looks like it is a version issue: further investigation showed that, while
I was looking in gsl_eigen.h on my machine, I was looking in a GSL 1.9
repository, while I have GSL 1.8 installed. GSL 1.8 does not contain the
nonsymmetric code, while 1.9 does.
I do have an ubuntu virtualbox installation, so I'll have to get it up and
running over there.
Thanks for the help,
Chris
-----------------------------
Chris Gast
address@hidden
On Sun, Jan 17, 2010 at 12:41 PM, Carl Boettiger <address@hidden> wrote:
> Hmm, could be it. I'm using gsl 1.12 (on a ubuntu linux machine). I
> believe 1.13 is the current release, so the example code may not be
> written for 1.8.
>
> Perhaps someone else on a Windows machine has some hints on getting
> you upgraded. I think there's been some threads to that effect
> before. Running in Cygwin (or virtualbox linux, nicer, easier
> interface but more ambitious setup) might be options.
>
> -Carl
>
> On Sun, Jan 17, 2010 at 12:34 PM, Chris Gast <address@hidden> wrote:
> > Thanks, Carl. Still no luck (same error). I'm using GSL v1.8 on a
> Windows
> > machine (got pre-compiled binaries from SourceForge). Something I saw in
> > the archives leads me to believe that perhaps I should try a newer
> > version--of course, precompiled binaries don't seem to exist for any
> version
> > newer than 1.8 (that I can see).
> >
> > -----------------------------
> > Chris Gast
> > address@hidden
> >
> >
> > On Sun, Jan 17, 2010 at 12:31 PM, Carl Boettiger <address@hidden>
> wrote:
> >>
> >> Hmm, compiles fine for me. not sure what's up, particularly given that
> >> the first example compiles. Check for typos? Version of gsl?
> >> compile flags? I've attached my copy-pasted code, I think this is the
> >> example you are talking about.
> >>
> >> -Carl
> >>
> >> On Sun, Jan 17, 2010 at 12:25 PM, Chris Gast <address@hidden> wrote:
> >> > Hello,
> >> >
> >> > I am having trouble computing eigenvalues of nonsymmetric matrices.
> I'm
> >> > using Code::Blocks 8.02, with the GCC compiler.
> >> >
> >> > When compiling my own project, I get the same error as when I try to
> >> > compile
> >> > the second example at this location:
> >> >
> >> >
> http://www.gnu.org/software/gsl/manual/html_node/Eigenvalue-and-Eigenvector-Examples.html
> >> >
> >> > (The Vandermonde matrix)
> >> >
> >> > Upon compilation I get an error telling me that
> >> > "gsl_eigen_nonsymmv_workspace was not declared in this scope". I have
> >> > gone
> >> > through the gsl_eigen.h file, and I can see that the struct exists for
> >> > gsl_eigen_nonsymmv_workspace, just as it does for gsl_symmv_workspace.
> >> > (The
> >> > first example on that same page compiles and runs successfully.)
> >> >
> >> > Has anyone run into this problem before? Know how to fix it? Thanks
> >> > for
> >> > your help.
> >> >
> >> > Chris Gast
> >> >
> >> >
> >> >
> >> >
> >> > -----------------------------
> >> > Chris Gast
> >> > _______________________________________________
> >> > Help-gsl mailing list
> >> > address@hidden
> >> > http://lists.gnu.org/mailman/listinfo/help-gsl
> >> >
> >>
> >>
> >>
> >> --
> >> Carl Boettiger
> >> Population Biology, UC Davis
> >> http://two.ucdavis.edu/~cboettig <http://two.ucdavis.edu/%7Ecboettig>
> >
> >
>
>
>
> --
> Carl Boettiger
> Population Biology, UC Davis
> http://two.ucdavis.edu/~cboettig <http://two.ucdavis.edu/%7Ecboettig>
>