diff --git a/contrib/numpy/index.md b/contrib/numpy/index.md index 82596a2..5d3f63b 100644 --- a/contrib/numpy/index.md +++ b/contrib/numpy/index.md @@ -1,3 +1,3 @@ # List of sections -- [Section title](filename.md) +- [Introduction](introduction.md) diff --git a/contrib/numpy/introduction.md b/contrib/numpy/introduction.md new file mode 100644 index 0000000..eb3af67 --- /dev/null +++ b/contrib/numpy/introduction.md @@ -0,0 +1,30 @@ +# Introduction + +## What is NumPy? + +NumPy is a powerful array-processing library in Python, essential for scientific computing. It provides efficient data structures and tools for working with multidimensional arrays. + +## Key Features + +1. **Efficient Arrays:** NumPy offers high-performance N-dimensional array objects for swift data manipulation. +2. **Broadcasting:** Advanced broadcasting enables seamless element-wise operations on arrays of varying shapes. +3. **Interoperability:** NumPy seamlessly integrates with C, C++, and Fortran, enhancing performance and versatility. +4. **Mathematical Tools:** Comprehensive support for linear algebra, Fourier transforms, and random number generation. + +## Installation + +Ensure Python is installed in your system. If not you can install it from here([official Python website](https://www.python.org/)),then install NumPy via: + +```bash +pip install numpy +``` + +## Importing NumPy + +To access NumPy functions, import it with the alias `np`. + +```python +import numpy as np +``` + +Using `np` as an alias enhances code readability and is a widely adopted convention.