add stuff
Some checks failed
Linux arm64 / Build (push) Failing after 14m40s

This commit is contained in:
2024-02-13 11:38:52 +01:00
parent 820308b6c7
commit 23de24e9a1
5 changed files with 81 additions and 8 deletions

20
src/Vect.cpp Normal file
View File

@@ -0,0 +1,20 @@
#include "Vect.h"
Vect::Vect(const Matrix& mat) {
for (std::size_t i = 0; i < mat.GetColumnCount(); i++) {
std::size_t j;
for (j = 0; j < mat.GetRawCount(); j++) {
if(!IsEqualZero(mat.at(i, j)))
break;
}
if (j == mat.GetRawCount()) {
m_Data = mat.SubMatrix(0, 0, mat.GetRawCount(), j);
}
}
m_Data = mat;
}
// TODO
void Vect::Print() const {
}