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/ex01/main.cpp
2022-03-12 12:31:50 +08:00

23 lines
444 B
C++

/*
* @Author: iR
* @Date: 2022-03-11 20:22:54
* @LastEditors: iR
* @LastEditTime: 2022-03-12 12:30:06
* @FilePath: \Code\ex01\main.cpp
* @Description:
*
* Copyright (c) 2022 by iR, All Rights Reserved.
*/
#include "../inc/matrix.hpp"
#include <stdio.h>
int main()
{
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;
return 0;
}