AddConstant

Adds a constant to each element of this vector.

Synopsis

#include "tao_solver.h"  
int TaoVec::AddConstant( double alpha )

Input Parameter

alpha -the scalar

See Also

TaoVec::SetToConstant(), TaoVec::Axpy()

Level:intermediate
Location:src/vector/taovec.c
TAO Solver Index
Table of Contents