double acc_ang_d;//待计算组
MWNumericArray eng_input_array = new MWNumericArray(acc_ang_d);
MWArray eng_output_array;
eng_output_array = eng_cal.EnergyCal(eng_input_array);
double[,] result;//计算结果
result = (double[,])eng_output_array.ToArray();
double acc_ang_d;//待计算组
MWNumericArray eng_input_array = new MWNumericArray(acc_ang_d);
MWArray eng_output_array;
eng_output_array = eng_cal.EnergyCal(eng_input_array);
double[,] result;//计算结果
result = (double[,])eng_output_array.ToArray();
转载于:https://www.cnblogs.com/LinQianXun/p/5473389.html