Questions 7

  1. How do you allocate GSL vectors and matrices?
  2. Do you need to manually free the memory allocated for your vectors and matrices?
  3. Which GSL functions can be used to add two gsl-vectors? Hint: there is more than one.
  4. Which GSL functions can be used to multiply a matrix and a vector?
  5. Which GSL functions can be used to add two matrices?
  6. Which GSL functions can be used to multiply two matrices?
  7. How does one solve a system of linear algebraic equations Ax=b with GSL? Name as many options as possible.
  8. What does the function gsl_blas_dgemm do?
  9. After you call the GSL's LU decomposition routine on a matrix, is the matrix preserved or destroyed?
  10. How can you find out the declaration of struct gsl_odeiv2_system ?
    Hints:
  11. How can you sort eigenvalues and eigenvectors?
  12. How can you obtain the eigenvector corresponding to, say, the lowest eigenvalue?