Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] couldn't get eigenvectors?
- Date: Wed, 16 Mar 2011 14:59:16 +0100
yanyajie wrote:
> Hi,
>
> I went through the PCA package mannual and found that eigenvalues or
> eigenvectors couldn’t be explicitly obtained. I didn’t find solution in
> the part of linear algebra, too. Does CGAL 3.7 really not provide these
> information by any means?
>
> If there is something I miss which can easily help me compute
> eigen-related info, could someone point out please?
>
> If my guess is right about CGAL 3.7’s inability on this, then could
> someone tell me why it is designed this way? Why eigen vectors and
> values are hidden away? Do I need to do this myself?? This is so weird...
>
>
> THX!!!
>
> Yan.
For dimension 3, have a look in the file PCA_util.h for the
functions fitting_plane_3 and fitting_line_3. You should be able
to get both (see how these functions are called from
linear_least_squares_fitting_3 function).
Feel free to provide an API on how this could be exposed in CGAL.
S.
- [cgal-discuss] couldn't get eigenvectors?, yanyajie, 03/16/2011
- Re: [cgal-discuss] couldn't get eigenvectors?, Sebastien Loriot (GeometryFactory), 03/16/2011
- Re: [cgal-discuss] couldn't get eigenvectors?, yanyajie, 03/16/2011
- Re: [cgal-discuss] couldn't get eigenvectors?, Sebastien Loriot (GeometryFactory), 03/16/2011
Archive powered by MHonArc 2.6.16.