src/matrix.cpp
Matrix Matrix::getCol(unsigned col_get) const
{
	Matrix mat_col(rows, 1);
	for (unsigned i = 0; i < cols; i++)
		mat_col.matrix[i][0] = this->matrix[i][col_get];
	return mat_col;
}
// Get a column of number col_get
Get a column of number col_get
Get a column of number col_get
Matrix Matrix::getCol(unsigned col_get) const
{
	Matrix mat_col(rows, 1);
	for (unsigned i = 0; i < cols; i++)
		mat_col.matrix[i][0] = this->matrix[i][col_get];
	return mat_col;
}
Matrix Matrix :: getCol ( unsigned col_get ) const { Matrix mat_col ( rows , 1 ) ; for ( unsigned i = 0 ; i < cols ; i ++ ) mat_col . matrix [ i ] [ 0 ] = this -> matrix [ i ] [ col_get ] ; return mat_col ; }
Get a column of number col_get
Get a column of number col_get