# SetReducedMatrix

Creates a new matrix using the specified rows and columns of this matrix.

## Synopsis

    #include "tao_solver.h"
    int TaoMat::SetReducedMatrix(TaoMat *M, TaoIndexSet* row,TaoIndexSet* col)

## Input Parameter

| row | - the rows of this matrix to be extracted
| col | - the columns of this matrix to be extracted

## Output Parameter

M -the full new matrix

## Note

This method can also be called by using a pointer to TaoIndexSet as input parameters.

## See Also

TaoMat::CreateReducedMatrix()

Level:intermediate
Location:src/matrix/taomat.c
TAO Solver Index
Table of Contents