Getting Started with dgels

Post here if you have a question about LAPACK or ScaLAPACK algorithm or data format

Getting Started with dgels

Postby Keith47 » Wed Feb 25, 2015 12:07 am

I am getting started with LAPACK and beginning with dgels.c. In order to begin, I have reviewed the c code and the user guide section on Linear Least Squares Problems. In order to begin, I need to ask some questions that some will see as very basic, and would appreciate your help.

Using c/c++ I am assembling a linear regression problem having one dependent variable, y, and four independent variables, x1, x2, x3, and x4.

The dgels.c function takes an input/output array A, and another input/output array B. Another way of saying this would be, how do I translate the y=m1x1+m2x2+m3x3+m4x4+b formula to the requirements of dgels.c.

How should I prepare my data for A and or B to obtain the coefficients?

If this question should be posted in another discussion please let me know.

Thank you.

Keith
Keith47
 
Posts: 2
Joined: Tue Feb 24, 2015 11:36 pm

Return to Algorithm / Data

Who is online

Users browsing this forum: No registered users and 1 guest