linearSystem3d MethodStatic

Solve a linear system

  • x equation: ux *u * vx * v + wx * w = cx
  • y equation: uy *u * vy * v + wy * w = cy
  • z equation: uz *u * vz * v + wz * w = cz

linearSystem3d(axx: number, axy: number, axz: number, ayx: number, ayy: number, ayz: number, azx: number, azy: number, azz: number, cx: number, cy: number, cz: number, result?: Vector3d): undefined | Vector3d

Parameter Type Description
axx number row 0, column 0 coefficient
axy number row 0, column 1 coefficient
axz number row 0, column 1 coefficient
ayx number row 1, column 0 coefficient
ayy number row 1, column 1 coefficient
ayz number row 1, column 2 coefficient
azx number row 2, column 0 coefficient
azy number row 2, column 1 coefficient
azz number row 2, column 2 coefficient
cx number right hand side row 0 coefficient
cy number right hand side row 1 coefficient
cz number right hand side row 2 coefficient
result Vector3d optional result.

Returns - undefined | Vector3d

Defined in

Last Updated: 20 June, 2023