Matrix
First matrix implementation with print_matrix in io
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
// VARIABLE DESCRIPTION
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
namespace panic {
|
||||
|
||||
namespace constants{
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// Type Name : panic::pi
|
||||
//
|
||||
@@ -87,6 +87,7 @@ namespace panic {
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
static const panic::real_t e = static_cast<panic::real_t>(2.71828182845904523536);
|
||||
|
||||
} // namespace constants
|
||||
} // namespace panic
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
* Module Name: config
|
||||
* File Name: omp.hpp
|
||||
* Revision: 0.1.0
|
||||
* Date: 20-06-2026
|
||||
* Date: 23-06-2026
|
||||
* Author: Michelle Bausager
|
||||
*
|
||||
* Description:
|
||||
@@ -68,6 +68,14 @@
|
||||
#define PANIC_OMP_NUM_THREADS 0
|
||||
#endif
|
||||
|
||||
// If CMake did not define PANIC_OMP_ALLOW_NESTED, define it as 0.
|
||||
//
|
||||
// Meaning:
|
||||
// Not allow any nested parallel operations.
|
||||
#ifndef PANIC_OMP_ALLOW_NESTED
|
||||
#define PANIC_OMP_ALLOW_NESTED 0
|
||||
#endif
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
// OPENMP AVAILABILITY CHECK
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
@@ -181,8 +189,3 @@
|
||||
//---------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
// None.
|
||||
|
||||
//PANIC_OMP_PARALLEL_FOR
|
||||
//for (panic::uint_t i = 0; i < length; ++i) {
|
||||
// data[i] = value;
|
||||
//}
|
||||
Reference in New Issue
Block a user