[線代] solving linear system
/* Calculates coefficients of affine transformation
* which maps (xi,yi) to (ui,vi), (i=0,1,2):
*
* ui = c00*xi + c01*yi + c02
*
* vi = c10*xi + c11*yi + c12
*
* Coefficients are calculated by solving linear system:
* / x0 y0 1 0 0 0 \ /c00\ /u0\
* | x1 y1 1 0 0 0 | |c01| |u1|
* | x2 y2 1 0 0 0 | |c02| |u2|
* | 0 0 0 x0 y0 1 | |c10| |v0|
* | 0 0 0 x1 y1 1 | |c11| |v1|
* \ 0 0 0 x2 y2 1 / |c12| |v2|
*
* where:
* cij - matrix coefficients
*/
上面是 Ax = b 那個嗎?
x未知 A跟b 已經是嘛?
請問這樣可以解出
c00
c01
c02
c10
c11
c12
六個未知數嗎?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.174.134