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
06845023d1
core: prevent static initialization issue with Time::Resolution on Cppyy 3
2023-05-29 21:51:49 +00: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
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
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
0028ae845e
core: Fix MatrixArray::HermitianTranspose
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
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
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
8894c8fad9
core: add delimiters to log message so fields don't run together
2023-02-27 09:49:09 -08:00
Peter D. Barnes, Jr
34b6c4f097
core: allow examples to return an error in examples-as-tests
2023-02-27 17:41:02 +00:00
Peter D. Barnes, Jr
63912dfc4a
core: fix output redirection in example-as-test
2023-02-27 17:41:02 +00:00
Peter Barnes
038527e57e
core: refactor char* to string in log
2023-02-23 22:46:31 +00:00
Gabriel Ferreira
6f076416e7
Fix typos
2023-02-21 22:29:29 -03:00
Peter D. Barnes, Jr
b97c2f239f
core: refactor log.cc
2023-02-16 18:40:30 +00:00
Peter D. Barnes, Jr
a680839d4c
core: accept std::vector for DeterministicRandomVariable values
2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
fda68d305a
docs: Fix formulas, use consistent outline for RandomVariableStreams
2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
c9769a47f2
docs: reduce duplication in RandomVariableStream
2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
bf8b442aeb
core: refactor GetInteger() in the random variable streams
2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
ce4026523a
core: enable environment variable for Windows
2023-02-11 17:18:04 +00:00
Eduardo Almeida
d3426db18d
Fix typos
2023-02-09 15:36:32 +00:00
Eduardo Almeida
971e5c15fa
Fix clang-tidy readability-container-size-empty warnings
2023-02-02 17:41:31 +00:00
Peter D. Barnes, Jr
1df846296e
core: fix error when log label is longer than minimum
2023-01-27 16:15:16 +00:00
Peter D. Barnes, Jr
e12f062188
core: ( fixes #857 ): Handle default levels when log component is merely mentioned.
2023-01-27 16:15:16 +00:00
Eduardo Almeida
45ae14cadc
core: Fix unused variable warning of no-op NS_ASSERT macros
2023-01-26 19:10:15 +00:00
Tommaso Pecorella
06d0ff20d0
doc: ( fixes #817 ) various fixes highlighted by doxygen 1.9.6
2023-01-26 15:32:58 +00:00
Tommaso Pecorella
e312d69ab3
core: ( fixes #578 ): test-runner exits if no TestSuite is specified
2023-01-24 19:53:49 +00:00
André Apitzsch
16e725fd96
core: Add missing library in system-path.cc
...
fixes error: use of undeclared identifier 'memset'; did you mean 'wmemset'?
2023-01-18 20:58:20 -08:00
Peter Barnes
d547cf4a02
util: SplitString function to split a string on a delimiter
2023-01-06 02:00:19 +00:00
Peter D. Barnes, Jr
0951dbc128
core: cache parsing of environment variables
2023-01-05 15:49:31 -08:00