📖 INDEX
LOADING ENGINE...
np.outer()
AI & DATA SCIENCE // np-outer
Compute the outer product of two vectors.
Syntax
res = np.outer(a, b)Examples
Example 01Basic Usage
res = np.outer(a, b)Best Practices
- Refer to the official NumPy documentation for deep vectorization techniques.
- Avoid writing custom Python for-loops for operations that can be vectorized with NumPy.