1
Summary
Tirsvad edited this page 2026-11-12 03:36:28 +01:00

English · Dansk · Bahasa Malaysia

Summary

Lecture step What you did What you gained
ndarrays 1D, 2D and N-D arrays, indexing, the mystery array Shape, axes and one-index-per-axis
Generating arange, slicing, flip, nonzero, random, linspace, plots, noise image Generators, slicing and plotting points
Broadcasting Vector arithmetic, scalars, @ Array arithmetic and linear algebra
Images Grayscale, flip, rotate, invert, own image Images as arrays

Learning points

  • Create arrays with np.array, .arange, .random and .linspace.
  • Read shape and ndim, and slice by indices.
  • Use broadcasting to make shapes compatible.
  • Do linear algebra with scalars and matrix multiplication.
  • Manipulate images as ndarrays.