Commit Graph

1766 Commits

Author SHA1 Message Date
Eduardo Almeida
31b8b8fb3a core: Fix Doxygen in callback.h 2023-08-08 18:02:14 +00:00
Gabriel Ferreira
6a71f98430 core: Remove unnecessary linking statements to threads libraries 2023-07-14 16:15:32 -03:00
Tom Henderson
45d7be2cd6 core: Add deprecated for ns-3.40 2023-07-09 00:49:13 +00:00
Tommaso Pecorella
829d8d5701 core: add test for attribute unordered map 2023-06-21 10:43:52 -05:00
Tom Henderson
b23e65c2bb core: (fixes #905) Move log severity class 'debug' below 'logic' 2023-06-12 03:46:38 +00:00
Eduardo Almeida
1d277d1ebc core,lte,network: Convert single enum to constexpr 2023-06-08 19:28:41 +00:00
Eduardo Almeida
3e95f4fbd5 core,dsr,netanim: Remove redundant casts when comparing strings 2023-06-06 21:34:20 +00:00
Gabriel Ferreira
668071ad09 Revert "core: prevent static initialization issue with Time::Resolution on Cppyy 3"
This reverts commit 06845023d1.
2023-06-03 02:05:16 +00:00
Eduardo Almeida
e103d6d810 core, dsr: Fix clang-tidy warnings 2023-06-01 20:16:40 +00:00
Eduardo Almeida
6923de623c Remove redundant break after return 2023-06-01 17:26:54 +00:00
Gabriel Ferreira
666e484b28 core: add missing cstdint include to random-variable-stream-helper.h 2023-06-01 15:57:59 +00:00
Gabriel Ferreira
06845023d1 core: prevent static initialization issue with Time::Resolution on Cppyy 3 2023-05-29 21:51:49 +00:00
Eduardo Almeida
42d6eea6de Remove emacs lines from Python and C++ files 2023-05-23 16:20:52 +00:00
Eduardo Almeida
1c8a76d993 core: Fixes and improvements to AttributeContainerTestSuite
- Rename function ReverseList() to ReverseDoubleList() and remove IntVec inversion to align the name and behavior of the function with the description in the Doxygen.
- Use container size instead of hard-coded values.
- Test the IntVec and DoubleList values with std::equal() instead of stringstream.
2023-05-18 05:39:21 +01:00
Eduardo Almeida
334c164b75 core: (fixes #902) Fix vector inversion in AttributeContainerTestSuite::ReverseList() 2023-05-17 18:35:43 +01:00
Eduardo Almeida
99c802113b Remove unnecessary struct specifier 2023-05-13 20:27:17 +00:00
Eduardo Almeida
6ea0a8975e Remove unnecessary enum specifier 2023-05-13 19:51:45 +00:00
Stefano Avallone
cff5678ac6 core, wifi: Make character separator a template parameter for AttributeContainerValue 2023-05-08 11:13:01 +02:00
Eduardo Almeida
70f8f80d9b Fix clang-tidy performance-unnecessary-copy-initialization warnings 2023-05-07 22:07:12 +01:00
Eduardo Almeida
a93c357141 Fix clang-tidy readability-simplify-boolean-expr warnings 2023-05-07 19:06:35 +01:00
Eduardo Almeida
68ef2890d0 Remove unnecessary enum specifiers 2023-05-01 13:09:06 +00:00
Eduardo Almeida
9b473e3333 core: Use unodered_map for LogComponent::ComponentList 2023-04-29 17:54:23 +01:00
Eduardo Almeida
f002b009a5 core: Find log component with std::map::find() 2023-04-29 17:54:23 +01:00
Eduardo Almeida
c62823effa core, internet, lte, spectrum: Add missing map header 2023-04-28 09:50:38 +01:00
Giovanni Grieco
94f77ac492 wifi, core: remove std qualifier for fixed-width integers 2023-04-27 22:24:08 +00:00
Biljana Bojovic
b7ce054ede core: Fix to not call a function on a moved-from object in MatrixArrayTestSuite 2023-04-10 16:26:38 +00:00
Biljana Bojovic
e995d45e4c core: Pass by ref. test name in ValArrayTestCase, MatrixArrayTestCase and ComplexMatrixArrayTestCase 2023-04-10 16:26:38 +00:00
Biljana Bojovic
8101dbb147 core: Change private to protected in MatrixArray to allow inheritance 2023-04-10 16:26:38 +00:00
Biljana Bojovic
b72c6437b7 core: Use size_t instead of uint16_t for easier integrations with std container types 2023-04-10 16:26:38 +00:00
Biljana Bojovic
e6b2ff7e7e core: Add an additional test case for MatrixArray transpose 2023-04-10 16:26:38 +00:00
Biljana Bojovic
8f2a1825b3 core: Add ComplexMatrixArray test case to test std::complex functions of MatrixArray 2023-04-10 16:26:38 +00:00
Biljana Bojovic
0028ae845e core: Fix MatrixArray::HermitianTranspose 2023-04-10 16:26:38 +00:00
Biljana Bojovic
1b25eee622 core: Add more test cases for testing MatrixArray multiplication 2023-04-10 16:26:38 +00:00
Biljana Bojovic
0b7e825484 core: Fix MatrixArray multiplication (use the correct matrix offset for lhs and rhs matrices) 2023-04-10 16:26:38 +00:00
Raghuram Kannan
e70609116a core: (fixes #855) Add caching to lognormal RNG 2023-03-23 16:39:47 +00:00
Gabriel Ferreira
540f48c55a Fix additional typos 2023-03-20 02:14:44 +00:00
André Apitzsch
05af2f45e0 Remove unused 'deprecated.h' includes 2023-03-16 14:58:02 +00:00
Tom Henderson
cc2552a166 core: Add deprecated for ns-3.39 2023-03-16 05:36:23 -07:00
Biljana Bojovic
b68ebc98a7 core: (fixes #866) Adjust testing of default ValArray move constructor and assignment 2023-03-09 14:33:54 -08:00
Biljana Bojovic
a811d8c593 core: (fixes #867) Remove noexcept from ValArray/MatrixArray move constructor/assignment 2023-03-09 14:33:48 -08:00
Tom Henderson
df20f5f5e8 doc: Fix errors found by codespell and aspell 2023-03-09 11:45:15 -08:00
Stefano Avallone
7da2f08a97 core: (fixes #859) Avoid signature mismatch when creating bound callbacks 2023-03-07 21:54:20 +00:00
Stefano Avallone
7e7f766ff0 core: Align Callback usage with signature (L309) in CommandLine class 2023-03-07 21:54:20 +00:00
Stefano Avallone
86d90acc3f core: Fix bound callback type in callback test suite 2023-03-07 21:54:20 +00:00
Eduardo Almeida
ce82692a21 antenna, core: Fix coding style, formatting and typos 2023-03-07 17:56:19 +00:00
Biljana Bojovic
b7c3ba83fb core: Add MatrixArray and MatrixArrayTestSuite
MatrixArray class is introduced for efficient operations on arrays of matrices
core: Allow using GetPagePtr as public function of MatrixArray
core: Remove Eigen include from matrix-array.h
core: Fix MatrixArray Doxygen
core: Fix MatrixArrayTestSuite Doxygen
core: Make HermitianTranspose member of MatrixArray
fix matrix-array spell check
core: Improve constructor Doxygen description
core: Move out MatrixArray inline function implementation from the class declaration (Thanks to Peter Barnes)
Use auto in MatrixArrayTestCase to be consistent
2023-03-03 21:15:50 +01:00
Biljana Bojovic
abcee41e3d core: Add ValArray and ValArrayTestSuite
core: Improve operator<< implementation, to not represent all numbers with the real and the imaginary parts, instead
use the operator<< of each of the types (Thanks to Peter Barnes)
core: Improve operator<< to remove unnecessary "\t" and remove "std::endl" flush from each row of the matrix (Thanks to Peter Barnes)
core: Improve constructor that accepts std::vector and copies it into the std::valarray, use std::copy operator (Thanks to Peter Barnes)
core: Move out inline implementations from ValArray class outside from the class declaration (Thanks to Peter Barnes)
core: Move implementations from val-array.cc file into val-array.h file to have achieve truely template ValArray (Thanks to Peter Barnes)
core: Use stl library and std::equal for the operator == (Thanks to Peter Barnes)
core: Use stl library and std::equal and lambda expression in IsAlmostEqual (Thanks to Peter Barnes)
core: Use size_t for the index in the ValArray instead of uint16_t (Thanks to Peter Barnes)
Use auto in ValArrayTestCase to be more consistent
Improve Doxygen
Remove cast to (uint16_t)
core: Remove definition of ValArray for int, double, complex,they are not needed any more after moving all implementation to the header file
Remove accidentally added new lines in core/CMakeLists.
2023-03-03 21:15:26 +01:00
Peter D. Barnes, Jr
aca3bd9638 core: (fixes #863) override d'tor 2023-02-27 18:09:47 -08:00
Peter D. Barnes, Jr
1b514e6344 core: assert-example program 2023-02-27 19:52:40 +00:00
Peter D. Barnes, Jr
531f2d6d22 core: log-example 2023-02-27 09:52:25 -08:00