p6p
5/19/2016 - 12:15 PM

error msg

Untitled 9.cpp:8:19: error: unknown type name 'Matrix'
void check_err_NS(Matrix FM, Matrix ini_pnt){
                  ^
Untitled 9.cpp:8:30: error: unknown type name 'Matrix'
void check_err_NS(Matrix FM, Matrix ini_pnt){
                             ^
Untitled 9.cpp:25:1: error: unknown type name 'Matrix'
Matrix set_DC_X(DPS sign, Matrix ini_pnt){
^
Untitled 9.cpp:25:27: error: unknown type name 'Matrix'
Matrix set_DC_X(DPS sign, Matrix ini_pnt){
                          ^
Untitled 9.cpp:28:2: error: unknown type name 'Matrix'
        Matrix DC_X(4, 1);
        ^
Untitled 9.cpp:35:35: error: use of undeclared identifier 'sqrt'
                if (x>=0) DC_X.setElement(2, 0, sqrt(x) );
                                                ^
Untitled 9.cpp:40:39: error: use of undeclared identifier 'pow'
                if (x>=0) DC_X.setElement(2, 0, 0.5*pow(x, -0.5));
                                                    ^
Untitled 9.cpp:45:40: error: use of undeclared identifier 'pow'
                if (x>=0) DC_X.setElement(2, 0, 0.25*pow(x, -1.5));
                                                     ^
Untitled 9.cpp:54:1: error: unknown type name 'Matrix'
Matrix set_DC_Y(DPS sign, Matrix ini_pnt){
^
Untitled 9.cpp:54:27: error: unknown type name 'Matrix'
Matrix set_DC_Y(DPS sign, Matrix ini_pnt){
                          ^
Untitled 9.cpp:57:2: error: unknown type name 'Matrix'
        Matrix DC_Y(1, 4);
        ^
Untitled 9.cpp:64:35: error: use of undeclared identifier 'sqrt'
                if (y>=0) DC_Y.setElement(0, 2, sqrt(y) );
                                                ^
Untitled 9.cpp:69:39: error: use of undeclared identifier 'pow'
                if (y>=0) DC_Y.setElement(0, 2, 0.5*pow(y, -0.5));
                                                    ^
Untitled 9.cpp:74:40: error: use of undeclared identifier 'pow'
                if (y>=0) DC_Y.setElement(0, 2, 0.25*pow(y, -1.5));
                                                     ^
Untitled 9.cpp:83:1: error: unknown type name 'Matrix'
Matrix set_FODM(Matrix FM, Matrix ini_pnt){
^
Untitled 9.cpp:83:17: error: unknown type name 'Matrix'
Matrix set_FODM(Matrix FM, Matrix ini_pnt){
                ^
Untitled 9.cpp:83:28: error: unknown type name 'Matrix'
Matrix set_FODM(Matrix FM, Matrix ini_pnt){
                           ^
Untitled 9.cpp:89:2: error: unknown type name 'Matrix'
        Matrix FODM(2, 1);
        ^
Untitled 9.cpp:92:2: error: unknown type name 'Matrix'
        Matrix DC_X = set_DC_X(FIRST, ini_pnt);
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.