Skip to content

Commit 173ceaf

Browse files
committed
GoldenSectionSearch is header only now
1 parent 3df2899 commit 173ceaf

16 files changed

+50
-101
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@
3535
cmake-build-debug/
3636
.idea/
3737
.vscode/
38-
build/
38+
build/
39+
bin/

CMakeLists.txt

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,7 @@ set(CATCH_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/lib)
1212
add_library(Catch INTERFACE)
1313
target_include_directories(Catch INTERFACE ${CATCH_INCLUDE_DIR})
1414

15-
add_executable(AutomaticDifferentiation ${sourcefiles} examples/AutomaticDifferentiation/main.cpp)
16-
add_executable(BBP ${sourcefiles} examples/BBPTypeFormula/main.cpp)
17-
add_executable(BrentSalaminFormula ${sourcefiles} examples/BrentSalaminFormula/main.cpp)
18-
add_executable(DiscreteFourierTransform ${sourcefiles} examples/DiscreteFourierTransform/main.cpp)
19-
add_executable(EigenExamples examples/EigenExamples/main.cpp)
20-
add_executable(FixedPointIteration ${sourcefiles} examples/FixedPointIteration/main.cpp)
21-
add_executable(LagrangeInterpolation ${sourcefiles} examples/LagrangeInterpolation/main.cpp)
22-
add_executable(IntegerFactorization ${sourcefiles} examples/IntegerFactorization/main.cpp)
23-
add_executable(MetropolisHastings ${sourcefiles} examples/MetropolisHastings/main.cpp)
24-
add_executable(NumericalIntegration ${sourcefiles} examples/NumericalIntegration/main.cpp)
25-
add_executable(RandomNumberGeneration ${sourcefiles} examples/RandomNumberGenerators/main.cpp)
26-
add_executable(RungeKuttaMethod ${sourcefiles} examples/RungeKutta/main.cpp)
27-
2815
set(TEST_SOURCES ${PROJECT_SOURCE_DIR}/tests/testmain.cpp)
2916
add_executable(tests ${sourcefiles} ${TEST_SOURCES})
3017
target_link_libraries(tests Catch)
31-
set_target_properties(tests
32-
PROPERTIES
33-
COMPILE_FLAGS "-ftest-coverage -fprofile-arcs"
34-
LINK_FLAGS "-lgcov --coverage"
35-
)
18+

bin/AutomaticDifferentiation

-88.8 KB
Binary file not shown.

bin/BBP

-86.9 KB
Binary file not shown.

bin/BrentSalaminFormula

-81.8 KB
Binary file not shown.

bin/DiscreteFourierTransform

-93 KB
Binary file not shown.

bin/FixedPointIteration

-91.7 KB
Binary file not shown.

bin/GoldenSectionSearch

-112 KB
Binary file not shown.

bin/IntegerFactorization

-82.4 KB
Binary file not shown.

bin/Knapsack

-86.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)