42 #ifndef ELEMENTARY_MAT_VEC_H
43 #define ELEMENTARY_MAT_VEC_H
47 namespace DenseLinAlgPack {
65 #endif // ELEMENTARY_MAT_VEC_H
Teuchos::Ordinal size_type
Typedef for the size type of elements that are used by the library.
DVectorSlice diag(difference_type k=0)
DMatrix eye(size_type n)
creates an n x n identity matrix
DVector e_vec(size_type i, size_type n)
creates an n sized vector with all zeros accepts the ith element is one.