TridiagonalSystemSolver

使用三对角矩阵算法(也称为 Thomas 算法)求解 系数矩阵为三对角矩阵的线性方程组。

Methods

static Cesium.TridiagonalSystemSolver.solve(diagonal, lower, upper, right)

求解三对角线性方程组。
Performance:

线性时间复杂度。

Name Type Description
diagonal Array.<number> 长度为 n 的数组,包含系数矩阵的对角线。
lower Array.<number> 长度为 n - 1 的数组,包含系数矩阵的下对角线。
upper Array.<number> 长度为 n - 1 的数组,包含系数矩阵的上对角线。
right Array.<Cartesian3> 长度为 n 的笛卡尔坐标数组,表示方程组的右侧。
Throws:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.