Linear System Solver

View: New views
7 Messages — Rating Filter:   Alert me  

Linear System Solver

by hoako :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Folks!

I'd like to submit my least squares plugin. Right now it is using a very simple
library i found in Sf.net. Is K-3D using any linear algebra library?

Cheers!
Joaquín


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Linear System Solver

by Evan Lezar :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Doesn't boost have some linear algebra functionality?

Evan

On Tue, Jul 8, 2008 at 7:57 AM, Joaquín Duo <hoakoduo@...> wrote:
Hi Folks!

I'd like to submit my least squares plugin. Right now it is using a very simple
library i found in Sf.net. Is K-3D using any linear algebra library?

Cheers!
Joaquín


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Linear System Solver

by Anders Stenberg-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Hi Folks!
>
> I'd like to submit my least squares plugin. Right now it is using a very simple
> library i found in Sf.net. Is K-3D using any linear algebra library?
>

Which library are you using? As far as I know there is no lib in K-3D
for it already, but if Evan is correct in Boost having it, maybe that
should be used instead. At least it might be a good idea to
investigate.

/Anders

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Linear System Solver

by Maik Beckmann-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2008/7/8 Anders Stenberg <anders.stenberg@...>:
> Which library are you using? As far as I know there is no lib in K-3D
> for it already, but if Evan is correct in Boost having it, maybe that
> should be used instead. At least it might be a good idea to
> investigate.
>
> /Anders

It's called boost.ublas
  http://www.boost.org/doc/libs/1_35_0/libs/numeric/ublas/doc/index.htm

Useful links regarding ublas:
-http://www.boost.org/doc/libs/1_35_0/libs/numeric/ublas/doc/operations_overview.htm
-http://www.cs.colostate.edu/~nate/tutorial/tutorial.xhtml#tab3

Solving Ax=b:
 -http://thread.gmane.org/gmane.comp.lib.boost.ublas/2576/focus=2578

HTH,
 -- Maik

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Linear System Solver

by hoako :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Anders Stenberg wrote:
>> Hi Folks!
>>
>> I'd like to submit my least squares plugin. Right now it is using a very simple
>> library i found in Sf.net. Is K-3D using any linear algebra library?
>>
>
> Which library are you using? As far as I know there is no lib in K-3D
It's a very "home made" library. But useful for the beginning.
http://www.google.com/search?q=SimpleNumericalLibrary.tar.gz&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:en-US:unofficial&client=firefox-a
Seems it's gone from sf.net there are mirrors only

Thank for the answer. I guess i'll use boost.

Cheers!
Joaquín


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Linear System Solver

by hoako :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Maik Beckmann wrote:

> 2008/7/8 Anders Stenberg <anders.stenberg@...>:
>> Which library are you using? As far as I know there is no lib in K-3D
>> for it already, but if Evan is correct in Boost having it, maybe that
>> should be used instead. At least it might be a good idea to
>> investigate.
>>
>> /Anders
>
> It's called boost.ublas
>   http://www.boost.org/doc/libs/1_35_0/libs/numeric/ublas/doc/index.htm
>
> Useful links regarding ublas:
> -http://www.boost.org/doc/libs/1_35_0/libs/numeric/ublas/doc/operations_overview.htm
> -http://www.cs.colostate.edu/~nate/tutorial/tutorial.xhtml#tab3
>
> Solving Ax=b:
>  -http://thread.gmane.org/gmane.comp.lib.boost.ublas/2576/focus=2578
I'll check it. :-)

Cheers!
Joaquín


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Linear System Solver

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joaquín Duo wrote:
> I'd like to submit my least squares plugin. Right now it is using a very simple
> library i found in Sf.net. Is K-3D using any linear algebra library?
>  
The nice thing about linear algebra packages is that there are so many
to choose from ... my experience has been that for every interesting
problem there's exactly one package that has all of the features you
want.  The QuadrilateralRemeshing plugin has a dependency on SuperLU.  
PGPRemesh has a dependency on GMM.  In fact, there is a copy of GMM in
the k3dsdk/gmm directory, which in hindsight was a mistake, so don't
plan on it staying there.  My suggestion (applies to anyone) would be:

* If Boost.ublas meets your needs, use it - since Boost is already a
required dependency for K-3D, it's guaranteed to be there.  It also
benefits from all the good Boost design and coding practices that we
actively embrace.
* If Boost.ublas doesn't meet your needs, use whatever you want, but
plan on making it an optional dependency, setting up a FindFoo macro in
CMake, etc.

Cheers,
Tim

--
Timothy M. Shead, K-3D founder
http://www.k-3d.org



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development
LightInTheBox - Buy quality products at wholesale price