|
Ublas : |
Subject: Re: [ublas] lapack::geev()
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2008-11-12 17:51:11
> I attached my code (that is however not working: "no matching function
> for call...").
> ...
> ublas::matrix<std::complex<double>, ublas::column_major> Vl(n,n),Vr(n,n);
> ...
> lapack::geev(A, w, Vl, Vr, work);
You should write
lapack::geev(A, w, &Vl, &Vr, work);
because Vl and Vr are optional, so you can pass 0 when you don't need left or right eigenvectors.