Skip to content

Commit 682c635

Browse files
author
alexeev-dev
committed
Initial commit / move repo
0 parents  commit 682c635

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+13999
-0
lines changed

CHANGELOG.md

Lines changed: 217 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,217 @@
1+
commit fb5ceef9f49fef892d991db3def9461d8d0aa595
2+
Author: Alexeev Bronislav <[email protected]>
3+
Date: Thu Sep 26 00:22:43 2024 +0700
4+
5+
Update cmake-multi-platform.yml
6+
7+
commit 9d54f9727efda8ba55a1b9540dbb3cf1227a8269
8+
Author: Alexeev Bronislav <[email protected]>
9+
Date: Thu Sep 26 00:17:25 2024 +0700
10+
11+
Update cmake-multi-platform.yml
12+
13+
commit 8c87f0a878090db068b69cc9c4337fd9bfe9463f
14+
Author: Alexeev Bronislav <[email protected]>
15+
Date: Thu Sep 26 00:07:44 2024 +0700
16+
17+
Update cmake-multi-platform.yml
18+
19+
commit ed842c9869fe4e20be3c97c5ab364c27740b539b
20+
Author: Alexeev Bronislav <[email protected]>
21+
Date: Thu Sep 26 00:04:32 2024 +0700
22+
23+
Update cmake-multi-platform.yml
24+
25+
commit d4d662740d13fde9701bd59f976fc8a869de74f0
26+
Author: Alexeev Bronislav <[email protected]>
27+
Date: Thu Sep 26 00:01:28 2024 +0700
28+
29+
docs/feat: add computerscience module, equations mathematics submodule, improve docs and other small fixes
30+
31+
commit b38456264a823f303292e9976398f8f0cc6813a3
32+
Author: Alexeev Bronislav <[email protected]>
33+
Date: Tue Sep 24 17:48:00 2024 +0700
34+
35+
Update Changelog
36+
37+
commit 12d5d18a746ff4ff41b5bdf5e5045df334f3ca13
38+
Author: Alexeev Bronislav <[email protected]>
39+
Date: Tue Sep 24 17:47:34 2024 +0700
40+
41+
docs: improve docs
42+
43+
commit 6808d1117e7f147680735185687c28a26a92d890
44+
Author: Alexeev Bronislav <[email protected]>
45+
Date: Sat Sep 21 23:57:15 2024 +0700
46+
47+
Update Changelog
48+
49+
commit 8a167d0578f270d73e417865be3e9a3d2a81784d
50+
Author: Alexeev Bronislav <[email protected]>
51+
Date: Sat Sep 21 23:52:01 2024 +0700
52+
53+
docs/feat/fix: improve docs, fix bugs
54+
55+
commit bba7fcb7a0e7803eef416375ff9142afa243707f
56+
Author: Alexeev Bronislav <[email protected]>
57+
Date: Sat Sep 21 16:03:19 2024 +0700
58+
59+
docs: update docs
60+
61+
commit 33043c4e702bfaac7ac2e357c6e4d1ce6b3424c9
62+
Author: Alexeev Bronislav <[email protected]>
63+
Date: Sat Sep 21 15:28:38 2024 +0700
64+
65+
fix/docs/feat: improve example, fix small bugs, improve docs
66+
67+
commit cc791ac42ec6c929fd85425c470405940a88e38d
68+
Author: Alexeev Bronislav <[email protected]>
69+
Date: Sat Sep 21 01:22:16 2024 +0700
70+
71+
fix: fix example-2 and math core
72+
73+
commit 916d8a0c74a0607c002e60f99d673a57ac3d96eb
74+
Author: Alexeev Bronislav <[email protected]>
75+
Date: Sat Sep 21 01:18:43 2024 +0700
76+
77+
feat/fix/docs: add another&old ApproximatePower, fix bugs, improve docs
78+
79+
commit cbcdf9dcf671417fa05544cc490fc164d6c79923
80+
Author: Alexeev Bronislav <[email protected]>
81+
Date: Wed Sep 18 19:11:43 2024 +0700
82+
83+
docs: update docs
84+
85+
commit 5559d67cfa5c7bd6f4a5297f9d02d913b2d11dc0
86+
Author: Alexeev Bronislav <[email protected]>
87+
Date: Wed Sep 18 15:11:22 2024 +0700
88+
89+
feat: add mathematics utils, quadratic equations calculator
90+
91+
commit 8abbc316033638bcd6ad7f007439f477adff138f
92+
Author: Alexeev Bronislav <[email protected]>
93+
Date: Tue Sep 17 22:22:31 2024 +0700
94+
95+
docs: update docs
96+
97+
commit 8afd35504c1e0f17bd2e3009b32ae31cfd2ac8c1
98+
Author: Alexeev Bronislav <[email protected]>
99+
Date: Tue Sep 17 22:17:16 2024 +0700
100+
101+
style: refactor style
102+
103+
commit ab86f1dd165335d89f1ebd0016b7f209c36fbcc5
104+
Author: Alexeev Bronislav <[email protected]>
105+
Date: Tue Sep 17 22:00:15 2024 +0700
106+
107+
Update Changelog
108+
109+
commit 498f96c409c97cf317a4f5054b4c00b5c637a52b
110+
Author: Alexeev Bronislav <[email protected]>
111+
Date: Tue Sep 17 21:59:43 2024 +0700
112+
113+
fix/docs: improve docs, fix bugs, improve examples
114+
115+
commit 41d7429c950c43922268dbfd1a3df77f0a7700d6
116+
Author: Alexeev Bronislav <[email protected]>
117+
Date: Tue Sep 17 21:19:41 2024 +0700
118+
119+
docs: update docs
120+
121+
commit 34584104807ac685563b82cafdeed018bdb4b256
122+
Author: Alexeev Bronislav <[email protected]>
123+
Date: Tue Sep 17 21:18:03 2024 +0700
124+
125+
Update Changelog
126+
127+
commit e823bb7179a856e4b8df596f6b090c7ae6cc3e2d
128+
Author: Alexeev Bronislav <[email protected]>
129+
Date: Tue Sep 17 21:17:41 2024 +0700
130+
131+
docs/feat: add more functions in kinematics, update docs
132+
133+
commit dd715c9957dd3f88e7b748e961542e02f06a9e04
134+
Author: Alexeev Bronislav <[email protected]>
135+
Date: Tue Sep 17 18:20:52 2024 +0700
136+
137+
Update Changelog
138+
139+
commit bf4856308e6b5a448999319d69f9755e95eec04d
140+
Author: Alexeev Bronislav <[email protected]>
141+
Date: Tue Sep 17 18:20:26 2024 +0700
142+
143+
docs: improve docs
144+
145+
commit f7920eb7467cfb20128c7c6ccb43d3d50a780df8
146+
Author: Alexeev Bronislav <[email protected]>
147+
Date: Mon Sep 16 23:42:15 2024 +0700
148+
149+
docs: improve docs
150+
151+
commit ee6017e0514d1c14bd5c13ec6ea9047aba81f26e
152+
Author: Alexeev Bronislav <[email protected]>
153+
Date: Mon Sep 16 23:23:12 2024 +0700
154+
155+
feat/docs: improve docs and add basic physics kinematics functions
156+
157+
commit 809c5bdc4ffe3a2800d1682b3c925f81ecd96af6
158+
Merge: ef0f515 0b13cac
159+
Author: Alexeev Bronislav <[email protected]>
160+
Date: Mon Sep 16 20:31:36 2024 +0700
161+
162+
Merge branch 'main' of github.com:alxvdev/libnumerixpp
163+
164+
commit ef0f515001f7503f97d5c89dee0771028e3e0f3d
165+
Author: Alexeev Bronislav <[email protected]>
166+
Date: Mon Sep 16 20:31:11 2024 +0700
167+
168+
improve docs
169+
170+
commit 07a37af8b939b79fe55aefda2248754cf94f0e2b
171+
Author: Alexeev Bronislav <[email protected]>
172+
Date: Mon Sep 16 20:28:42 2024 +0700
173+
174+
improve docs
175+
176+
commit 0b13cac85d2fc043724c967f6b2aa4efe93310fc
177+
Author: Alexeev Bronislav <[email protected]>
178+
Date: Mon Sep 16 20:27:42 2024 +0700
179+
180+
Create static.yml
181+
182+
commit beebe06b7fbd60aef9f373818e94174fdda02cb1
183+
Merge: 09ad38d 82948b0
184+
Author: Alexeev Bronislav <[email protected]>
185+
Date: Mon Sep 16 20:26:54 2024 +0700
186+
187+
fix/docs: improve docs, fix project architecture
188+
189+
commit 09ad38dc9256b10223db22e3d1ed1343589dfc6a
190+
Author: Alexeev Bronislav <[email protected]>
191+
Date: Mon Sep 16 20:25:41 2024 +0700
192+
193+
fix/docs: improve docs, fix project architecture
194+
195+
commit 82948b087b29827762303d700915f0d32120ac27
196+
Author: Alexeev Bronislav <[email protected]>
197+
Date: Mon Sep 16 00:26:57 2024 +0700
198+
199+
Update README.md
200+
201+
commit 138ff40fb5a96b17d9f7a82f728c2c2a8f2fd3c3
202+
Author: Alexeev Bronislav <[email protected]>
203+
Date: Mon Sep 16 00:26:03 2024 +0700
204+
205+
Create cmake-multi-platform.yml
206+
207+
commit ecfeb305d1d7765bdfbbed3614796f1aded59faa
208+
Author: Alexeev Bronislav <[email protected]>
209+
Date: Mon Sep 16 00:23:57 2024 +0700
210+
211+
feat/docs: create base project architecture, build system and docs
212+
213+
commit 5e6e70b5bb4967ac3e4a86aba6e00da74bc17a6d
214+
Author: Alexeev Bronislav <[email protected]>
215+
Date: Fri Sep 13 23:00:21 2024 +0700
216+
217+
Initial commit

CMakeLists.txt

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
cmake_minimum_required(VERSION 3.14)
2+
3+
include(cmake/prelude.cmake)
4+
5+
project(
6+
libnumerixpp
7+
VERSION 0.1.1
8+
DESCRIPTION "A Powerful C++ Library for High-Performance Numerical Computing"
9+
HOMEPAGE_URL "https://alxvdev.github.io/libnumerixpp"
10+
LANGUAGES CXX
11+
)
12+
13+
include(cmake/project-is-top-level.cmake)
14+
include(cmake/variables.cmake)
15+
16+
# ---- Declare library ----
17+
18+
add_library(
19+
libnumerixpp_libnumerixpp
20+
src/libnumerixpp.cpp
21+
src/core/common.cpp
22+
src/mathematics/equations.cpp
23+
src/mathematics/core.cpp
24+
src/mathematics/quadratic_equations.cpp
25+
src/mathematics/statistics.cpp
26+
src/physics/core.cpp
27+
src/physics/kinematics.cpp
28+
src/computerscience/core.cpp
29+
)
30+
add_library(libnumerixpp::libnumerixpp ALIAS libnumerixpp_libnumerixpp)
31+
32+
include(GenerateExportHeader)
33+
generate_export_header(
34+
libnumerixpp_libnumerixpp
35+
BASE_NAME libnumerixpp
36+
EXPORT_FILE_NAME export/libnumerixpp/libnumerixpp_export.hpp
37+
CUSTOM_CONTENT_FROM_VARIABLE pragma_suppress_c4251
38+
)
39+
40+
if(NOT BUILD_SHARED_LIBS)
41+
target_compile_definitions(libnumerixpp_libnumerixpp PUBLIC LIBNUMERIXPP_STATIC_DEFINE)
42+
endif()
43+
44+
set_target_properties(
45+
libnumerixpp_libnumerixpp PROPERTIES
46+
CXX_VISIBILITY_PRESET hidden
47+
VISIBILITY_INLINES_HIDDEN YES
48+
VERSION "${PROJECT_VERSION}"
49+
SOVERSION "${PROJECT_VERSION_MAJOR}"
50+
EXPORT_NAME libnumerixpp
51+
OUTPUT_NAME libnumerixpp
52+
)
53+
54+
target_include_directories(
55+
libnumerixpp_libnumerixpp ${warning_guard}
56+
PUBLIC
57+
"\$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>"
58+
)
59+
60+
target_include_directories(
61+
libnumerixpp_libnumerixpp SYSTEM
62+
PUBLIC
63+
"\$<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/export>"
64+
)
65+
66+
target_compile_features(libnumerixpp_libnumerixpp PUBLIC cxx_std_17)
67+
68+
find_package(fmt REQUIRED)
69+
target_link_libraries(libnumerixpp_libnumerixpp PRIVATE fmt::fmt)
70+
71+
# ---- Install rules ----
72+
73+
if(NOT CMAKE_SKIP_INSTALL_RULES)
74+
include(cmake/install-rules.cmake)
75+
endif()
76+
77+
# ---- Developer mode ----
78+
79+
if(NOT libnumerixpp_DEVELOPER_MODE)
80+
return()
81+
elseif(NOT PROJECT_IS_TOP_LEVEL)
82+
message(
83+
AUTHOR_WARNING
84+
"Developer mode is intended for developers of libnumerixpp"
85+
)
86+
endif()
87+
88+
include(cmake/dev-mode.cmake)

0 commit comments

Comments
 (0)