Skip to content

Commit 2cb6330

Browse files
add license to the header code
1 parent 6859777 commit 2cb6330

File tree

25 files changed

+595
-0
lines changed

25 files changed

+595
-0
lines changed

3D/include/custom_trait.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#pragma once
225

326
#include <cstdint>

3D/include/matrix.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#pragma once
225

326
#include <cassert>

3D/include/obj3d.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#pragma once
225

326
#include <cassert>

3D/include/vec.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#pragma once
225

326
#include <cassert>

3D/src/test_3d.cxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#include <custom_trait.hxx>
225
#include <iomanip>
326
#include <ios>

NN/FFN/basicFFN/include/ffn.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#pragma once
225

326
#include <type_traits>

basic/args_handle/src/args_handle.cxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#include <iostream>
225
#include <map>
326
#include <string>

basic/assertion/include/assert.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#pragma once
225

326
#include <cstdio>

basic/assertion/src/assert.cxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#include <assert.hxx>
225

326
int main() {

basic/endianness/include/endianness.hxx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
/*
2+
cpp-playground - C++ experiments and learning playground
3+
Copyright (C) 2025 M. Reza Dwi Prasetiawan
4+
5+
This project contains various experiments and explorations in C++,
6+
including topics such as number systems, neural networks, and
7+
visualizations of prime number patterns.
8+
9+
This program is free software: you can redistribute it and/or modify
10+
it under the terms of the GNU General Public License as published by
11+
the Free Software Foundation, either version 3 of the License, or
12+
(at your option) any later version.
13+
14+
This program is distributed in the hope that it will be useful,
15+
but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
GNU General Public License for more details.
18+
19+
You should have received a copy of the GNU General Public License
20+
along with this program. If not, see <https://www.gnu.org/licenses/>.
21+
*/
22+
23+
124
#include <cstdint>
225

326
enum Endianness { BIG, LITTLE };

0 commit comments

Comments
 (0)