Working on adding efficient eigenvector and value calculations #2

Merged
Cynopolis merged 11 commits from eigenvector-and-values into main 2025-06-06 22:32:19 +00:00
3 changed files with 10 additions and 4 deletions
Showing only changes of commit bec70facb2 - Show all commits

View File

@@ -76,7 +76,7 @@
"clangd.enable": true,
"C_Cpp.dimInactiveRegions": false,
"editor.defaultFormatter": "xaver.clang-format",
"clangd.inactiveRegions.useBackgroundHighlight": true,
"clangd.inactiveRegions.useBackgroundHighlight": false,
"clangd.arguments": [
"--compile-commands-dir=${workspaceFolder}/build"
],

View File

@@ -1,3 +1,10 @@
// This #ifndef section makes clangd happy so that it can properly do type hints
// in this file
#ifndef MATRIX_H_
#define MATRIX_H_
#include "Matrix.hpp"
#endif
#ifdef MATRIX_H_ // since the .cpp file has to be included by the .hpp file this
// will evaluate to true
#include "Matrix.hpp"

View File

@@ -1,5 +1,4 @@
#ifndef MATRIX_H_
#define MATRIX_H_
#pragma once
#include <array>
#include <cstdint>
@@ -258,6 +257,6 @@ private:
void setMatrixToArray(const std::array<float, rows * columns> &array);
};
#ifndef MATRIX_H_
#include "Matrix.cpp"
#endif // MATRIX_H_