   Adding to a matrice
  Is there a possible way to add more values to a matrice?for example i have this:matrice mat[]={{1,2,3,4},{2,2,3,4}};then add to it to make it look like this:{{1,2,3,4},{2,2,3,4},{3,3,3,4},{4,4,4,4}};   
  That would depend on a few factors like what programming language you're using and where the matrice type definition is coming from.   ;  In C++, use a std::vectortypedef float vec4[4];vec4 v1 = {1,2,3,4};vec4 v2 = {2,2,3,4};vec4 v3 = {3,3,3,4};vec4 v4 = {4,4,4,4};std::vector<vec4> mat;mat.push_back( v1 );mat.push_back( v2 );//add some moremat.push_back( v3 );mat.push_back( v4 );