MA&ALA3.4&3.5_矩阵乘法——为什么这样做

注:本文是对Matrix Analysis and Applied Linear Algebra一书3.4节Why Do It This Way和3.5节Matrix Multiplication的学习笔记

矩阵乘法:

  • Matrices A \mathbf A A and B \mathbf B B are said to be conformable for multiplication in the order A B \mathbf{AB} AB whenever A \mathbf A A has exactly as many columns as B \mathbf B B has rows—i.e., A \mathbf A A is m × p m\times p m×p and B \mathbf B B is p × n p \times n p×n.
  • For conformable matrices A m × p = [ a i j ] \mathbf A _{m\times p} =[a_{ij}] Am×p=[aij] and B p × n = [ b i j ] \mathbf B _{p\times n} =[b_{ij}] Bp×n=[bij], the matrix product A B \mathbf{AB} AB is defined to be the m × n m\times n m×n matrix whose ( i , j ) (i, j) (i,j) -entry is the inner product of the i i ith row of A \mathbf A A with the j j jth column in B \mathbf B B. That is,
    [ A B ] i j = A i ∗ B ∗ j = a i 1 b 1 j + a i 2 b 2 j + ⋅ ⋅ ⋅ + a i p b p j = ∑ k = 1 p a i k b k j . [\mathbf{AB}]_{ij} = \mathbf A_{i∗}\mathbf B_{∗j} = a_{i1}b_{1j} + a_{i2}b_{2j} + ··· + a_{ip}b_{pj} =\sum_{k=1}^pa_{ik}b_{kj}. [AB]ij=AiBj=ai1b1j+ai2b2j++aipbpj=k=1paikbkj.
  • In case A \mathbf A A and B \mathbf B B fail to be conformable—i.e., A \mathbf A A is m × p m\times p m×p and B \mathbf B B is q × n q \times n q×n with p = q p = q p=q —then no product A B \mathbf{AB} AB
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值