hpc-python/numpy/linear-algebra at master · csc-training/hpc-python · GitHub
Skip to content

Latest commit

 

History

History

linear-algebra

Folders and files

Linear algebra

  1. Construct two symmetric 2x2 matrices A and B. Hint: a symmetric matrix can be constructed easily from a square matrix as Asym = A + A^T
  2. Calculate the matrix product C = A * B using numpy.dot().
  3. Calculate the eigenvalues of matrix C with numpy.linalg.eigvals().