Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 9:59
mveCPallini8-Jul-10 9:59 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE8-Jul-10 8:28
professionalDr.Walt Fair, PE8-Jul-10 8:28 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
mrby1238-Jul-10 8:39
mrby1238-Jul-10 8:39 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE8-Jul-10 8:51
professionalDr.Walt Fair, PE8-Jul-10 8:51 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 9:22
mveCPallini8-Jul-10 9:22 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE8-Jul-10 18:09
professionalDr.Walt Fair, PE8-Jul-10 18:09 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 21:22
mveCPallini8-Jul-10 21:22 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Tim Craig8-Jul-10 21:38
Tim Craig8-Jul-10 21:38 
And Walt is correct that there's a linear algebra method for doing least squares to find the "best" solution to the equations. If you have M equations and N unknowns, you have an MxN matrix times a Nx1 vector of unknowns giving a known Nx1 vector. You multiply both sides by the transpose of the matrix giving an (NxM) x (MxN) x (Nx1) = (Nx1) so you end up with an NxN matrix to do your solution with. If I remember right, the underlying principle is finding the best "projection".
Once you agree to clans, tribes, governments...you've opted for socialism. The rest is just details.

GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 22:19
mveCPallini8-Jul-10 22:19 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE9-Jul-10 4:06
professionalDr.Walt Fair, PE9-Jul-10 4:06 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini9-Jul-10 4:22
mveCPallini9-Jul-10 4:22 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Emilio Garavaglia10-Jul-10 4:29
Emilio Garavaglia10-Jul-10 4:29 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations [modified] Pin
CPallini10-Jul-10 5:05
mveCPallini10-Jul-10 5:05 
QuestionSetting File Creation Time Pin
Fareed Rizkalla8-Jul-10 6:53
Fareed Rizkalla8-Jul-10 6:53 
QuestionRe: Setting File Creation Time Pin
CPallini8-Jul-10 6:58
mveCPallini8-Jul-10 6:58 
AnswerRe: Setting File Creation Time Pin
Fareed Rizkalla8-Jul-10 7:47
Fareed Rizkalla8-Jul-10 7:47 
GeneralRe: Setting File Creation Time Pin
CPallini8-Jul-10 22:52
mveCPallini8-Jul-10 22:52 
AnswerRe: Setting File Creation Time Pin
Maximilien8-Jul-10 7:11
Maximilien8-Jul-10 7:11 
GeneralRe: Setting File Creation Time Pin
Fareed Rizkalla8-Jul-10 8:13
Fareed Rizkalla8-Jul-10 8:13 
QuestionRe: Setting File Creation Time Pin
David Crow9-Jul-10 3:18
David Crow9-Jul-10 3:18 
AnswerRe: Setting File Creation Time Pin
Emilio Garavaglia10-Jul-10 4:38
Emilio Garavaglia10-Jul-10 4:38 
QuestionSet C as default in VS2008? Pin
drolfson8-Jul-10 5:32
professionaldrolfson8-Jul-10 5:32 
QuestionRe: Set C as default in VS2008? Pin
CPallini8-Jul-10 6:30
mveCPallini8-Jul-10 6:30 
AnswerRe: Set C as default in VS2008? Pin
Aescleal8-Jul-10 20:25
Aescleal8-Jul-10 20:25 
QuestionShellExecuteEx path question. [modified] (fixed) Pin
Maximilien8-Jul-10 5:11
Maximilien8-Jul-10 5:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.