template < class tData, int tRows, int tCols > Matrix< tData, tRows, tCols >::Matrix (int count, tData first, ...);
Matrix < float, 3, 1 > R1(3,5.0f,6.0f,7.0f); Matrix < double, 3, 1 > R2(3,5.0,6.0,7.0); Matrix < int, 3, 1 > S1(2,10,12); Matrix < long, 3, 1 > S2(2,10l,12l);
N.B., using standard args is very brittle and not type safe. Make sure to count well and ensure the element you are loading are of the same type as the matrix define. The user must cast appropriately or use other means to identify the type. See the first and the forth examples above.