07 2011 档案
摘要:在使用hash_map的程序中,编译的时候会报出warning,In file included from /usr/include/c++/4.4/ext/hash_map:60, from hash_a.h:6, from test.cpp:5:/usr/include/c++/4.4/backward/backward_warning.h:28:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further n
阅读全文
摘要:广义特征值问题,即Ax= Bx,在Matlab中,使用eig()求解一般特征值问题和广义特征值。[V,D] = eig(A,B,flag), A和B时方阵,flag用来选择算法,'qz'表示选择使用QZ算法。也可以直接调用qz()来求解,[AA,BB,Q,Z,V] = qz(A,B,flag), flag 表示使用复数或实数计算,默认取值为复数。在Lapack中,有四个函数都是用来求解广义特征值的,?GEGS Computes the generalized eigenvalues, Schur form, and left and/or right Schur vectors
阅读全文
摘要:好久没做事情,也就没什么内容可更新的。这两天开始做事情了,问题就不断地出现了,就连使用标准的complex类都出问题。先说说问题吧。xxxx.cpp: In member function ‘void xxxx::xxxxxxxx()’:xxxx.cpp:100: error: ISO C++ forbids declaration of ‘type name’ with no typexxxx.cpp:100: error: expected primary-expression before ‘double’xxxx.cpp:100: error: expected ‘;’ before
阅读全文