# CreateATDAMatrix

Creates a new matrix of the for A^T D A, where A=this.

## Synopsis

    #include "tao_solver.h"
    int TaoApplication::CreateATDAMatrix(TaoMat*A, TaoVec* D,TaoVec* X, TaoMat** M)

## Input Parameter

| A | - matrix A
| D | - a TaoVec in the column space of this matrix that will represent a diagonal matrix
| X | - a vector in the rowspace of this matrix

## Output Parameter

M -the new matrix

## Note

The operation M->Multiply(X,D) must be well defined

## See Also

TaoMat::SetReducedMatrix()

Level:intermediate
Location:src/appobject/interface/taoappobject.c
TAO Solver Index
Table of Contents