Click here to Skip to main content
15,394,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Vector Iterator Incompatible Pin
Chris Losinger29-Sep-14 10:20
professionalChris Losinger29-Sep-14 10:20 
GeneralRe: Vector Iterator Incompatible Pin
mjackson1129-Sep-14 12:10
Membermjackson1129-Sep-14 12:10 
QuestionFormview scroll problem Pin
john563229-Sep-14 2:45
Memberjohn563229-Sep-14 2:45 
QuestionSocket Programming(UDP) Pin
A_Fa28-Sep-14 20:48
MemberA_Fa28-Sep-14 20:48 
AnswerRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:02
mveRichard MacCutchan28-Sep-14 22:02 
GeneralRe: Socket Programming(UDP) Pin
A_Fa28-Sep-14 22:17
MemberA_Fa28-Sep-14 22:17 
GeneralRe: Socket Programming(UDP) Pin
Richard MacCutchan28-Sep-14 22:30
mveRichard MacCutchan28-Sep-14 22:30 
Questionmatrix svd decomposition problem Pin
includeh1028-Sep-14 11:29
Memberincludeh1028-Sep-14 11:29 
I downloaded several SVD c++ code, but they all have same error.

by SVD theory, a matrix A(mxn) (m: rows, n: columns) can be decomposed as

A(mxn) = U(mxm) * S(mxn) * V'(nxn)
(U, S and V are matrices)

U and V must be orthogonal matrices:
U x U' = U' x U = E, V x V' = V' x V = E
(E is identity matrix)

Problem:
if m > n, those codes generate U' x U = E (correct), but U' x U != E (error).
they are all correct for V.

Because all of codes have the same error, I think U should be this way even it is not satisfy SVD theory.

Or all codes are wrong (sounds not reasonable.)

How do you think about? maybe I have to download more C++ source codes to test?

.
AnswerRe: matrix svd decomposition problem Pin
Richard MacCutchan28-Sep-14 22:01
mveRichard MacCutchan28-Sep-14 22:01 
AnswerRe: matrix svd decomposition problem Pin
CPallini28-Sep-14 22:01
mveCPallini28-Sep-14 22:01 
GeneralRe: matrix svd decomposition problem Pin
includeh1029-Sep-14 4:17
Memberincludeh1029-Sep-14 4:17 
GeneralRe: matrix svd decomposition problem Pin
CPallini29-Sep-14 5:17
mveCPallini29-Sep-14 5:17 
QuestionWill casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_27-Sep-14 6:33
MemberVaclav_27-Sep-14 6:33 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Rick York27-Sep-14 8:02
mveRick York27-Sep-14 8:02 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_27-Sep-14 9:05
MemberVaclav_27-Sep-14 9:05 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan27-Sep-14 22:07
mveRichard MacCutchan27-Sep-14 22:07 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 4:18
MemberVaclav_28-Sep-14 4:18 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 4:40
mveRichard MacCutchan28-Sep-14 4:40 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 6:10
MemberVaclav_28-Sep-14 6:10 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 6:41
mveRichard MacCutchan28-Sep-14 6:41 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_28-Sep-14 8:35
MemberVaclav_28-Sep-14 8:35 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan28-Sep-14 21:58
mveRichard MacCutchan28-Sep-14 21:58 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Vaclav_29-Sep-14 4:06
MemberVaclav_29-Sep-14 4:06 
GeneralRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Richard MacCutchan29-Sep-14 5:27
mveRichard MacCutchan29-Sep-14 5:27 
AnswerRe: Will casting / passing 16 bit int as double harm FFT processing? Pin
Albert Holguin29-Sep-14 9:36
professionalAlbert Holguin29-Sep-14 9:36 

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.