thirdparty/libgenerator/inc/gml/mat.hpp
mat(const mat<T, C + 1, R + 1> &m, int col, int row) {
		assert(col <= C && row <= R);
		for (int i = 0; i < C; ++i) {
			if (i < col)
				data_[i] = vec<T, R>{ m[i], row };
			else
				data_[i] = vec<T, R>{ m[i + 1], row };
		}
	}
/// Creates a sub matrix by removing a row and a column
/// @param m Input matrix.
/// @param col Zero based index of the column to remove
/// @param row Zero based index of the row to remove
Creates a sub matrix by removing a row and a column
Creates a sub matrix by removing a row and a column
mat(const mat<T, C + 1, R + 1> &m, int col, int row) {
		assert(col <= C && row <= R);
		for (int i = 0; i < C; ++i) {
			if (i < col)
				data_[i] = vec<T, R>{ m[i], row };
			else
				data_[i] = vec<T, R>{ m[i + 1], row };
		}
	}
mat ( const mat < T , C + 1 , R + 1 > & m , int col , int row ) { assert ( col <= C && row <= R ) ; for ( int i = 0 ; i < C ; ++ i ) { if ( i < col ) data_ [ i ] = vec < T , R > { m [ i ] , row } ; else data_ [ i ] = vec < T , R > { m [ i + 1 ] , row } ; } }
Creates a sub matrix by removing a row and a column
Creates a sub matrix by removing a row and a column