AddDiagonal

Adds the elements of the vector to the diagonal of this matrix.

Synopsis

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

Input Parameter

tv -the vector containing the diagonal elements

See Also

TaoMat::SetDiagonal(),TaoMat::ShiftDiagonal()

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