Is there any way I can change the value of a template parameter inside the templated object or are these values constant. i.e.
template<int width, height>
class matrix {
............
}
void matrix<width,height>::setSize(int w,int h) {
width = w;
height = h;
}