void matrix::set_tridiag ( const vector v1,
const vector v2,
const vector v3 
)

Function that sets three vectors as diagonals of a tri-diagonal matrix.

Author:
Rochan R. Upadhyay
Parameters:
v1: vector that becomes the main diagonal
v2: vector that lies below the diagonal
v3: vector that lies above the diagonal
Date:
10/12/2010
 All Classes Files Functions Variables Typedefs Friends Defines