SetDiagonal

Sets the diagonal elements of this matrix with the elements of the vector.

Synopsis

#include "tao_solver.h"  
int TaoMat::SetDiagonal(TaoVec* tv)

Input Parameter

tv -the vector containing the diagonal elements

See Also

TaoMat::AddDiagonal(),TaoMat::ShiftDiagonal()

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