Matrix addition and scalar multiplication

Summary

  • Scalar multiplication: A is an n×m matrix with elements ai,j and α is a scalar. αA is a new n×m matrix with elements αai,j
  • Matrix addition: A,B are n×m matrices with elements ai,j and bi,j respectively. A+B is a new n×m matrix with elements ai,j+bi,j