TouchVG framework
mgcurv
arc3P
arcBulge
arcTan
arcToBezier
bezier4P
bezierIntersectionWithLine
bezierIsStraight
bezierPointDistantFromPoint
bezierPointLengthFromStart
bezierTanget
bsplinesToBeziers
crossLineCircle
crossTwoCircles
cubicSplines
cubicSplineToBezier
ellipse90ToBezier
ellipseToBezier
fitBezier
FitCubicCallback
fitCubicSpline
fitCurve
fitCurve2
fitCurve3
fitCurve4
gaussJordan
lengthOfBezier
PtCallback
quadBezierToCubic
roundRectToBeziers
SplineFlags
splitBezier
triEquations
◆
gaussJordan()
bool mgcurv::gaussJordan
(
int
n
,
float *
mat
,
Vector2d
*
vs
)
static
Gauss-Jordan法求解线性方程组
参数
[in]
n
方程组阶数,最小为2
[in,out]
mat
系数矩阵,n维方阵,会被修改
[in,out]
vs
输入方程组等号右边的已知n个矢量,输出求解出的未知矢量
返回
是否求解成功,失败原因可能是参数错误或因系数矩阵非主角占优而出现除零
参见
triEquations
函数调用图:
通用矢量图形框架
, 版权所有 (C)
张云贵
2004-2017,BSD 开源许可证