NumPy User Guide, NumPy Developers, 2024 - This official guide provides detailed information on NumPy arrays, covering creation, basic arithmetic operations (addition, subtraction, scalar multiplication), the dot product (np.dot and @ operator), and linear algebra routines such as np.linalg.norm.
Introduction to Linear Algebra, Gilbert Strang, 2016 (Wellesley-Cambridge Press) - A widely respected textbook that lays a solid theoretical foundation for vector operations, linear combinations, dot products, and norms, which are fundamental to understanding the mathematics behind the code examples.
Introduction to Applied Linear Algebra - Vectors, Matrices, and Least Squares, Stephen Boyd and Lieven Vandenberghe, 2018 (Cambridge University Press) - This book presents linear algebra with a focus on applications in engineering and data science, including machine learning. It offers an applied perspective on vector operations, norms, and dot products.
Python for Data Analysis, Wes McKinney, 2022 (O'Reilly Media) - This authoritative guide for Python data manipulation and analysis offers extensive coverage of NumPy. It provides numerous code examples for array creation and various vector operations, demonstrating how to implement them effectively.