Re: [Lapackpp-devel] Solving a linear system with 100 unknowns
Status: Beta
Brought to you by:
cstim
From: Dee <de...@de...> - 2014-03-03 12:02:52
|
Hello Sivahari, not that I'm aware of. I have programmed it manually in my Ph.D. thesis with the help of lapackpp. That means I got my input parameters, created a Least-Square matrix, solved it and extract the values for my line/polynom/spline (the latter in my case). Best regards Dominik Am 03.03.2014 10:39, schrieb Sivahari Nandakumar: > hai Dominik, > > It worked well, thank you. Is there any class in lapackpp deals with curve > fitting? > > --Sivahari > > > > 2014-03-03 15:08 GMT+05:30 Sivahari Nandakumar <siv...@gm...>: > >> hai Dominik, >> >> It worked well, thank you. Is there any class in lapackpp deals with >> curve fitting? >> >> --Sivahari >> >> >> 2014-03-01 8:09 GMT+05:30 Sivahari Nandakumar <siv...@gm...>: >> >> Thank you Dee, I will try and ping back. >>> >>> --Sivahari >>> >>> >>> 2014-02-28 23:55 GMT+05:30 Dee <de...@de...>: >>> >>> Hi Sivahari, >>>> >>>> here's a small example I just have hacked: >>>> >>>> #include <iostream> >>>> #include <gmd.h> >>>> #include <laslv.h> >>>> >>>> int main() >>>> { >>>> // create left side >>>> LaGenMatDouble A(2,2); >>>> A(0,0)=1.0; >>>> A(0,1)=2.0; >>>> A(1,0)=0.0; >>>> A(1,1)=-1.0; >>>> >>>> // create right side >>>> LaGenMatDouble B(2,1); >>>> B(0,0)=0.0; >>>> B(1,0)=1.0; >>>> >>>> // Solve A*X = B >>>> LaGenMatDouble X(2,1); >>>> LaLinearSolve( A, X, B ); >>>> >>>> std::cout << A << " * " << std::endl >>>> << X << " = " << std::endl >>>> << B << std::endl; >>>> >>>> return 0; >>>> } >>>> >>>> I hope I understood your problem correctly, but I think you only need to >>>> create A(100,100) and fill in your values. >>>> >>>> Best regards >>>> Dominik >>>> >>>> >>>> Am 28.02.2014 09:45, schrieb Sivahari Nandakumar: >>>>> Hai all, >>>>> >>>>> I am new to lapackpp. I want to do a curve fitting module ad part of my >>>>> academic project. I want to solve a linear equation system having 100 >>>>> different linear equations each with 100 unknowns. Can any one provide >>>> some >>>>> sample code or documentation link for this. >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------------ >>>>> Flow-based real-time traffic analytics software. Cisco certified tool. >>>>> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer >>>>> Customize your own dashboards, set traffic alerts and generate reports. >>>>> Network behavioral analysis & security monitoring. All-in-one tool. >>>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> lapackpp-devel mailing list >>>>> lap...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/lapackpp-devel >>>>> >>>> >>>> >>> >>> >>> -- >>> with warm regards >>> Sivahari Nandakumar >>> Appropriate Technology Promotion Society >>> Eroor, Vyttila 09446582917 >>> http://sivaharicec.blogspot.com >>> -------------------------------------------------------- >>> fighting for knowledge freedom >>> >> >> >> >> -- >> with warm regards >> Sivahari Nandakumar >> Appropriate Technology Promotion Society >> Eroor, Vyttila 09446582917 >> http://sivaharicec.blogspot.com >> -------------------------------------------------------- >> fighting for knowledge freedom >> > > > |