Commit Graph

53 Commits

Author SHA1 Message Date
Ameya Chawla
5d89fff356
fix: using delete instead of free as mentioned in errors 2021-10-18 09:48:05 +05:30
Ameya Chawla
9b307dc144
fix: fixing memory leak errors 2021-10-18 09:36:14 +05:30
Ameya Chawla
5c23325ac5
fix : fixed array errors 2021-10-18 09:09:04 +05:30
Ameya Chawla
761eb5cdfa
Fixed many errors 2021-10-18 08:40:00 +05:30
Ameya Chawla
2b84683f02
Update fast_fourier_transform.cpp 2021-10-18 02:02:52 +05:30
Ameya Chawla
c813d4fbb6
Update fast_fourier_transform.cpp 2021-10-18 01:55:36 +05:30
Ameya Chawla
0828a87813
Fixed errors 2021-10-18 01:42:00 +05:30
Ameya Chawla
bb175dafe6
fix : fixed the integer values with their appropriate size 2021-10-18 01:17:11 +05:30
Ameya Chawla
a50aaa49fc
Update numerical_methods/fast_fourier_transform.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 01:02:49 +05:30
Ameya Chawla
713f25c931
Update numerical_methods/fast_fourier_transform.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 01:02:28 +05:30
Ameya Chawla
280ddf46b9
Update numerical_methods/fast_fourier_transform.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 01:02:17 +05:30
Ameya Chawla
d079f9d43e
Update numerical_methods/fast_fourier_transform.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 01:02:09 +05:30
Ameya Chawla
d361ff5131
Update numerical_methods/fast_fourier_transform.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 01:01:56 +05:30
Ameya Chawla
ad26efdf9a
Update numerical_methods/fast_fourier_transform.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-10-18 01:01:41 +05:30
Ameya Chawla
2e8077fbb3
fix : removed bad practice of using namespace td 2021-10-17 23:21:23 +05:30
Ameya Chawla
748ba48e9d
fix : updated the documentation 2021-10-17 23:12:52 +05:30
Ameya Chawla
89b2ce7b10
Fixing Code Formatter errors 2021-10-17 23:00:58 +05:30
ameyachawlaggsipu
5cd8142a84
fix : added comments to header 2021-10-07 21:10:00 +05:30
ameyachawlaggsipu
939c596630
feat : Implemented Fast Fourier Transform 2021-10-07 20:18:08 +05:30
ameyachawlaggsipu
3624574e80
feat ; Implemented Fast Fourier Transform 2021-10-07 20:16:31 +05:30
Kaustubh Damania
67e26cfbae
feat: Add ncr mod p code (#1325)
* feat: Add ncr mod p code (#1323)

* Update math/ncr_modulo_p.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Added all functions inside a class + added more asserts

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for f6df24a5

* Replace int64_t to uint64_t + add namespace + detailed documentation

* clang-format and clang-tidy fixes for e09a0579

* Add extra namespace + add const& in function arguments

* clang-format and clang-tidy fixes for 8111f881

* Update ncr_modulo_p.cpp

* clang-format and clang-tidy fixes for 2ad2f721

* Update math/ncr_modulo_p.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update math/ncr_modulo_p.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Update math/ncr_modulo_p.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* clang-format and clang-tidy fixes for 5b69ba5c

* updating DIRECTORY.md

* clang-format and clang-tidy fixes for a8401d4b

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-11-22 23:05:01 +05:30
rudraprasaddas
15ce8ac92d
feat: Add Runge Kutta Method (#1286)
* Runge Kutta Method

* statically cast and initialised

* changes applied

* changes applied

* minor changes applied

* Proper Documentation updated

* Proper Documentation updated with suggestions

* minor changes

* added returns to rungeKutta function

* made a small commit

* updating DIRECTORY.md

* made a small change at line 99

* made a small change at line 99

* Changes made as suggested

* Changes updated

* espace reverted

* changes made in the documentation

* minor additions

* Update rungekutta.cpp

* Update change

* Changes removed

* Minor updates

* test functions added

* Test functions outside namespace

* non-static to static test function

* used vector

* changed function brief

* made a single test function

* made a single test function and made a slight change

* changed numerical method namespace description

* made changes in test function

* made slight changes as suggested

* Added a space

* Added the new suggestions

* updated in latex

Co-authored-by: Rudra Prasad Das <rudraiitism@gmail.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2020-10-30 21:59:24 +05:30
samruddha patil
0c22356706
feat/fix: Improve numerical_methods/false_position.cpp (#1321)
* Update false_position.cpp

* Update false_position.cpp

* Update false_position.cpp

* Update false_position.cpp

* Improve numerical_methods/false_position.cpp

* Improve numerical_methods/false_position.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Improve numerical_methods/false_position.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Improve numerical_methods/false_position.cpp

* Improve numerical_methods/false_position.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Improve numerical_methods/false_position.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>

* Improve numerical_methods/false_position.cpp

* Improve numerical_methods/false_position.cpp

Co-authored-by: David Leal <halfpacho@gmail.com>
2020-10-30 17:04:33 +05:30
Krishna Vedala
8ab9a2ae93
[cpp fixes] tidied up code based on error reports by clang-tidy (#950)
* tidied up code based on error reports by clang-tidy

* added doc for activation function
2020-07-13 07:52:38 -04:00
Krishna Vedala
0690a140ec
move OLS regressor to machine learning folder 2020-06-26 09:03:20 -04:00
Krishna Vedala
9a8b6ddd2e
typo correction from #910 2020-06-26 08:22:12 -04:00
Krishna Vedala
7ff384e59b
replace cstdlib with cmath for float overload of std::abs() 2020-06-26 08:20:53 -04:00
Krishna Vedala
0d2a58409e
include cstdlib for std::abs() 2020-06-26 08:14:50 -04:00
Krishna Vedala
6d127e3adf
added inline documentation 2020-06-26 08:09:34 -04:00
Krishna Vedala
11a6542bf2
added test cases 2020-06-26 08:04:01 -04:00
Krishna Vedala
0429b5dd88
fix documentation 2020-06-25 18:01:41 -04:00
Krishna Vedala
68dd9b1235
added file documentation 2020-06-25 15:22:02 -04:00
Krishna Vedala
84cf0da2bb
automated self-test of LU decomposition using sample case and determinant checks 2020-06-25 15:04:14 -04:00
Krishna Vedala
c1b0635f99
create and added matrix type 2020-06-25 15:03:12 -04:00
Krishna Vedala
f29c14032a
added determinant computation using LU decomposition 2020-06-25 14:51:54 -04:00
Krishna Vedala
2c61414a83
split lu_decomposition to a header file and templated the function 2020-06-25 13:38:11 -04:00
Krishna Vedala
96ed582eb2
Merge pull request #874 from kvedala/minima-algorithm
[feat:] Minima algorithm
2020-06-22 22:48:23 -04:00
Krishna Vedala
db9fa4dd40
Merge pull request #878 from kvedala/brents-method
feat: Brent's method to find extrema
2020-06-22 22:46:18 -04:00
Krishna Vedala
ef957bae98
removed scaling during assert checks 2020-06-21 23:08:53 -04:00
Krishna Vedala
957fe5c6ce
fixed doc for #define 2020-06-21 23:05:36 -04:00
Krishna Vedala
db0fc17efb
feat: added brent's mthod to find extrema of a unimodal real function with real variables
Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-06-21 22:30:23 -04:00
Krishna Vedala
744da70bbf
added see-also reference to brents method 2020-06-21 22:28:50 -04:00
Krishna Vedala
e71ee9ccb0
better documentation of algorithm 2020-06-21 18:30:31 -04:00
Krishna Vedala
21e93919f3
limit print precision to 9 decimals 2020-06-21 17:50:04 -04:00
Krishna Vedala
9c186095a8
print number of steps taken for convergence 2020-06-21 17:31:53 -04:00
Krishna Vedala
00dda54f4f
ensure search window is increasing and greater than tolerance 2020-06-21 17:12:18 -04:00
Krishna Vedala
d8e76eda6f
added limits header file 2020-06-21 00:21:54 -04:00
Krishna Vedala
bf2b703131
remove redundant header includes 2020-06-21 00:18:34 -04:00
Krishna Vedala
b5e25f44cf
added minima algorithm using golden section search 2020-06-21 00:09:09 -04:00
Krishna Vedala
00fab77412
set epsilon to 1e-10 and update documentation 2020-06-20 08:26:59 -04:00