Create Diagonal and Super Diagonal Matrix

Could you provide me some sample source Code for Creating Diagonal and Super-diagonal Matrix from a Tri-diagonal Symmetric Matrix.
I’m trying to test CUDA sample for EigenValues with my test matrix.

Could you provide me some sample source Code for Creating Diagonal and Super-diagonal Matrix from a Tri-diagonal Symmetric Matrix.
I’m trying to test CUDA sample for EigenValues with my test matrix.

Thanks… I was able to produce and compare EigenValues with my sample Matrix with GTX 470 . Now , I will heading possiblity of producing EigenVectors from the CUDA sample eigen values

Thanks… I was able to produce and compare EigenValues with my sample Matrix with GTX 470 . Now , I will heading possiblity of producing EigenVectors from the CUDA sample eigen values