Clear or Delete matrix or array

I think, you can clear the matrix
like in

matrix A; A.resize(100,100);

A(2,2) = 1.;A(5,5) = 1.;A(35,49) = 2.;
cout << " A = " << A << endl; 
A.clear; 
cout << " A = " << A << endl;