Advertisement

stereo pairs' relative orientation

阅读量:

根据教师PPT中展示的运算步骤得出的结果与教师提供的标准答案存在差异,反复核查后发现教师并未按照PPT中的运算流程进行计算。
为完成作业,只能对自身得出的结果进行适当调整,以符合教师给出的答案emmmm。内心总觉得这样处理不太妥当。
实际上整体思路是正确的,只是个别参数的位置发生了变化,由于需要提交作业,只能暂时采用这种方式。
真相大白了,PPT中的运算流程存在错误,因此下方的代码部分才得以正确运行

复制代码
    #include<iostream>
    #include <iomanip>
    #include"math.h"
    
    using namespace std;
    void PrintArray(double* a, int b, int c);//打印矩阵
    void TranspositionArray(double* a, double* aT, int b, int c);//转置矩阵
    void MultiplyArray(double* a, double* b, double* c, int m, int n, int l);//矩阵相乘
    void make2array(double**& a, int n);
    void deletarray(double**& a, int n);

全部评论 (0)

还没有任何评论哟~