{
arr5AARAT[i, j] = 0; for (int p = 0; p < 6; p++) {
arr5AARAT[i, j] += arr5AA[i, p] * arr5T[p, j]; } } }
//计算arr5AARAT x L,存在arrX中 double[] arrX = new double[6]; for (int i = 0; i < 6; i++) {
for (int j = 0; j < 1; j++) {
arrX[i] = 0;
for (int vv = 0; vv < 6; vv++) {
arrX[i] += arr5AARAT[i, vv] * arr7[vv]; } } }
//计算外方位元素值
double Xs, Ys, Zs, Φ, Ψ, K; Xs = Xs0 + arrX[0]; Ys = Ys0 + arrX[1]; Zs = Zs0 + arrX[2]; Φ = Φ0 + arrX[3]; Ψ = Ψ0 + arrX[4]; K = K0 + arrX[5];
for (int i = 0; i <= 2; i++) {
Xs += arrX[0]; Ys += arrX[1]; Zs += arrX[2]; Φ += arrX[3]; Ψ += arrX[4]; K += arrX[5]; }
Console.WriteLine("Xs,Ys,Zs,Φ,Ψ,K的值分别是:{0},{1},{2},{3},{4},{5}", Xs0, Ys0, Zs0, Φ, Ψ, K);
Console.Read();