error en codigo c++
Publicado por error en codigo (2 intervenciones) el 14/08/2019 21:45:59
en el codigo siguiente:
me sale el siguiente error:
./Matrix.h: In member function ‘bool Matrix<dataType, ndx_function>::inverse()’:
./Matrix.h:332:14: error: ‘::inverse’ has not been declared
return ::inverse( *this );
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Matrix<dataType, ndx_function>& operator+=(dataType c )
{for( int n=0; n<cols*rows; n++ )
{data[ n ] += c;
} return *this;}bool inverse()
{return ::inverse( *this );
}void mean( valarray<dataType>& m, Reduction r ) const
{::tan( *this, m, r );
}me sale el siguiente error:
./Matrix.h: In member function ‘bool Matrix<dataType, ndx_function>::inverse()’:
./Matrix.h:332:14: error: ‘::inverse’ has not been declared
return ::inverse( *this );
Valora esta pregunta


0
