Added reference headers and moved some code.

This commit is contained in:
John Dupuy
2023-11-02 18:12:13 -05:00
parent dbf1cbdf59
commit ae7ab0c29b
17 changed files with 610 additions and 573 deletions

View File

@@ -7,6 +7,7 @@
***************************************************************************/
#include "FullRow.h"
#include "FullMatrix.h"
using namespace MbD;
@@ -15,7 +16,7 @@ FMatsptr<T> FullRow<T>::transposeTimesFullRow(FRowsptr<T> fullRow)
{
//"a*b = a(i)b(j)"
auto nrow = (int)this->size();
auto answer = std::make_shared<MbD::FullMatrix<double>>(nrow);
auto answer = std::make_shared<FullMatrix<double>>(nrow);
for (int i = 0; i < nrow; i++)
{
answer->atiput(i, fullRow->times(this->at(i)));