Ai
1 Star 4 Fork 1

爱丽丝妹妹与数学妖精/matrix_plus_cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
main.cpp 900 Bytes
一键复制 编辑 原始数据 按行查看 历史
AuroraKarow 提交于 2023-01-10 11:27 +08:00 . Update library functions
// This is a c++ 20 standard file.
#pragma once
#include <iostream>
#include "matrix"
using std::cout;
using std::endl;
using neunet::vect;
using neunet::net_sequence;
int main(int argc, char *argv[], char *envp[]) {
cout << "hello, world." << endl;
vect a = {{0},
{1},
{2},
{3}},
b = {{0, 1, 2},
{3, 4, 5},
{6, 7, 8}},
c = {{0, 1},
{2, 3}},
d = {{0, 1}},
e = {{0, 1, 2, 3}},
f = {{0}},
g = {{0, 1, 2}},
h = {{0, 1, 2}},
i = {{a, {{b, {{c},
{d}}},
{e, f}}},
{g, h}};
net_sequence<vect> seq = {a, b, c, d, e, f, g, h, i};
for (auto temp : seq) {
cout << temp << '\n';
cout << endl;
}
return EXIT_SUCCESS;
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/AliceSisMathElf/matrix_plus_cpp.git
git@gitee.com:AliceSisMathElf/matrix_plus_cpp.git
AliceSisMathElf
matrix_plus_cpp
matrix_plus_cpp
master

搜索帮助