resize dynamic matrix, new height/width must equals static height/width
only: if( isDynamic )
See Implementation
resize dynamic matrix, new height/width must equals static height/width
only: if( isDynamic )