Vectors

Level FundamentalDifficulty ★★★★★Concept⌖ Open in the map

What is it?

Lists of numbers v=(v1,…,vn)∈ℝnv = (v_1, \dots, v_n) \in \R^n that can be added and scaled. Geometrically, arrows with a length and a direction; computationally, arrays.

Formulas

∥v∥=v12+⋯+vn2\norm{v} = \sqrt{v_1^2 + \dots + v_n^2}
Euclidean norm (length)

Where it shows up in computing

  • Physics engines★★★★★fundamentalPhysics and simulation

    Positions, velocities and forces are 3D vectors updated every frame.

Where it shows up in AI

  • Neural networks★★★★★fundamentalAI and machine learning

    Inputs, activations and parameters are vectors (and tensors) in ℝn\R^n.

Where is it used?

Computing topics reachable from here, through the chain of ideas that leads to them:

What depends on it

This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.

↑ ↓ to navigate · ↵ · Esc