public void AllErrorEquations() { //总的误差方程计算 int m_Pnumber = UnknowPoints.Count(); int numAngle = StationInfos.Count(); B = new Matrix(DistNum + numAngle, m_Pnumber * 2); L = new Matrix(DistNum + numAngle, 1); int bi, bj; for (bi = 0; bi < numAngle; bi++) { for (bj = 0; bj < m_Pnumber * 2; bj++) { B.SetNum(bi, bj, Ba.getNum(bi, bj)); } L.SetNum(bi, 0, La.getNum(bi, 0)); } for (bi = numAngle; bi < DistNum + numAngle; bi++) { for (bj = 0; bj < m_Pnumber * 2; bj++) { double tt = Bd.getNum(bi - numAngle, bj); B.SetNum(bi, bj, tt); } L.SetNum(bi, 0, Ld.getNum(bi - numAngle, 0)); } }