Vector & affine spaces, linear maps, and derivatives