affine

definition

  • of the form
    • is subspace of X
    • obtained by adding a single vector to the span of a set of vectors
  • Subspace are just affine space containing the origin, but not necessary have to pass through it

linear and affine functions

  • a function f is affine IFF the function is linear, for some unique pair (a,b); and
  • function is linear IFF
  • affine = linear + constant
  • difference btw a linear function & affine function:
    • a linear function always passes through the origin
    • affine function does not necessarily do so
  • find a and b:
    • with is the unit vector

linear map

  • can be viewed as linear map from input space to output space