Python — From Basics to Advanced · NumPy — the foundation of numerical computing
ufuncs and Vector Operations
NumPy — the foundation of numerical computing
Introduction
Universal functions (ufuncs) operate element-wise: np.sin, np.exp, np.maximum. Implemented in C, they support broadcasting. Aggregation operations include sum, mean, std, dot, and einsum.