This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/SoftwareDesign/Code/1-1a/main.cpp

24 lines
440 B
C++
Raw Normal View History

2022-03-12 04:31:50 +00:00
/*
* @Author: iR
* @Date: 2022-03-11 20:22:54
* @LastEditors: iR
2022-03-12 05:38:50 +00:00
* @LastEditTime: 2022-03-12 13:35:35
* @FilePath: \Code\1-1a\main.cpp
2022-03-12 04:31:50 +00:00
* @Description:
*
* Copyright (c) 2022 by iR, All Rights Reserved.
*/
2022-03-11 12:27:54 +00:00
#include "../inc/matrix.hpp"
#include <stdio.h>
int main()
{
2022-03-12 04:31:50 +00:00
double data[] = {1, 2, 3, 4};
Matrix<double> a(2, 2, data);
Matrix<double> b(2, 2, 5);
Matrix<double> c = a;
Matrix<double> d;
2022-03-12 05:38:50 +00:00
2022-03-12 04:31:50 +00:00
return 0;
2022-03-11 12:27:54 +00:00
}