Commit Graph

1728 Commits

Author SHA1 Message Date
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
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
Tom Henderson
281b2383a9 core: main-random-variable-stream: avoid unused return value 2023-02-25 16:38:10 +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
f9b7fe4b94 core: main-random-variable-stream: enable Empirical and Deterministic 2023-02-13 16:31:28 -08:00
Peter D. Barnes, Jr
100762572e core: empirical-random-variable-example: show cdf 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
Peter D. Barnes, Jr
e64d589073 doc: environment variables 2023-01-05 15:49:30 -08:00
Peter D. Barnes, Jr
820c029e8b doc: (void)' -> ()' in documentation 2023-01-05 23:47:13 +00:00
Eduardo Almeida
e3b8bc49b5 Fix casing of classes, structs and enums to start with an uppercase letter 2022-12-28 18:15:44 +00:00
Tommaso Pecorella
edbb411762 core: remove deprecated RefCountBase 2022-12-13 02:02:46 +01:00
Peter D. Barnes, Jr
ebb5647905 core: simplify paren grouping 2022-12-08 17:59:47 +00:00
Tommaso Pecorella
7f53029020 core: (fixes #819) disable deprecation warnings for Object registration 2022-12-08 00:32:09 +01:00
Eduardo Almeida
e3c5c9831a Remove unnecessary casts to double for hard-coded numbers 2022-12-07 17:40:15 +00:00
Peter D. Barnes, Jr
fec6a2c1d7 core: use maybe_unused instead of `(void)' cast 2022-12-06 08:34:47 +00:00
Eduardo Almeida
4e3a97e1fa core: Fix implicit bool conversion in attribute-test-suite.cc 2022-12-05 23:11:31 +00:00
Eduardo Almeida
4930479af4 Remove enum / struct specifiers when declaring the variable's type 2022-12-05 19:05:45 +00:00
Eduardo Almeida
18225243f2 examples: Add missing return 0 2022-11-29 21:33:09 +00:00
Eduardo Almeida
b9562ba520 Fix formatting of braced-init-lists by adding trailing comma 2022-11-24 16:13:09 +00:00
Tom Henderson
40ec1d7a21 Remove NS_DEPRECATED_3_35 methods 2022-11-12 17:07:29 -08:00
Tom Henderson
6d4eff6961 Remove NS_DEPRECATED_3_34 methods 2022-11-12 17:07:29 -08:00