0% found this document useful (0 votes)
2 views1 page

Numpy Assignment

The document outlines a series of assignments focused on using NumPy for various mathematical computations. Tasks include matrix multiplication, outer and cross products of vectors, determinant calculation, inner products, eigenvalues and eigenvectors, matrix norms, matrix inversion, and diagonal sums. Additionally, it covers the Frobenius norm and condition number of arrays.

Uploaded by

Asthanu Madhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Numpy Assignment

The document outlines a series of assignments focused on using NumPy for various mathematical computations. Tasks include matrix multiplication, outer and cross products of vectors, determinant calculation, inner products, eigenvalues and eigenvectors, matrix norms, matrix inversion, and diagonal sums. Additionally, it covers the Frobenius norm and condition number of arrays.

Uploaded by

Asthanu Madhav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment on NumPy

1. Write a NumPy program to compute the multiplication of two given matrixes.


2. . Write a NumPy program to compute the outer product of two given vectors.
3. Write a NumPy program to compute the cross product of two given vectors.
4. . Write a NumPy program to compute the determinant of a given square array.

5. Write a NumPy program to compute the inner product of vectors for 1-D arrays (without
complex conjugation) and in higher dimension.

6. Write a NumPy program to compute the eigenvalues and eigenvectors of a given square
array.

7. Write a NumPy program to find a matrix or vector norm.


8. Write a NumPy program to compute the inverse of a given matrix.

9. Write a NumPy program to compute the sum of the diagonal element of a given array.

10. Write a NumPy program to calculate the Frobenius norm and the condition number of a
given array.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy