
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Homework 5 Due 10/26/07 at the start of class. Time will be given in lab on 10/19/07 to work on this homework. Part 1: Using BLAS and LAPACK Q1. i. Create a ComplexMatrixBlasMultiply multiply routine function that calls the BLAS function zgemm to compute the matrix product of two complex valued matrices. ii. Create a ComplexMatrixLapackInverse inverse function that uses the LAPACK functions zgetrf and zgetri to compute the inverse of a complex valued matrix. iii. Create a ComplexMatrixLapackSolve function that uses the LAPACK functions
iv. Create a ComplexMatrixLapackEigenvalues function that uses the LAPACK function zgeev to find all the eigenvalues of a complex valued matrix. vi. Create a ComplexMatrixLapackSVD function that uses the appropriate LAPACK function to find the singular value decomposition of a complex valued matrix. v. Devise a main.c program that performs tests of your own design to determine if each of the functions from i-vi are working as expected. [You may use Matlab or similar mathematical platform to help with these tests]. Document your findings. vi. Add compatibility checks for each of the functions i-vi to make sure the matrices being operated on have appropriate dimensions. Part 2: Makefile and Subversion i. Create a Makefile for compiling your homework project. ii. Submit your homework code (.c and Makefile files only to the class Subversion server)