You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

matrix_test.cpp 581 B

1234567891011121314151617181920212223242526272829
  1. #include<iostream>
  2. #include<ctime>
  3. #include<string>
  4. #include <time.h>
  5. #include <math.h>
  6. #include <fstream>
  7. #include"../matrix/matrix_def.h"
  8. #include"../welcome/score_wel.cpp"
  9. #include"../matrix/matrix_pro.h"
  10. struct testMatrix
  11. {
  12. int row=100,col=100;
  13. float **matrix;
  14. }Matrix_1;
  15. int main(){
  16. Matrix a=ones(4,4);
  17. Matrix b=CreateRandMat(4,4);
  18. str_Matrix c=CreateStr_Ma(4,4);
  19. cout_mat(a);
  20. cout<<"=----------="<<endl;
  21. cout_mat(b);
  22. cout<<"=----------="<<endl;
  23. cout_strmat(c);
  24. cout<<"=----------="<<endl;
  25. cout<<Matrix_1.row<<endl;
  26. return 0;
  27. }

Edge : 一个开源的科学计算引擎