SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
cmbmatrix.cpp File Reference
#include "cmbmatrix.h"
#include "QJsonArray"
#include "Vector.h"
#include <QFile>
Include dependency graph for cmbmatrix.cpp:

Go to the source code of this file.

Functions

CMBVector operator* (const CMBMatrix &M, const CMBVector &V)
 Matrix-vector multiplication operator.
 

Function Documentation

◆ operator*()

CMBVector operator* ( const CMBMatrix M,
const CMBVector V 
)

Matrix-vector multiplication operator.

Multiplies a CMBMatrix by a CMBVector, preserving row labels in the result.

Parameters
MMatrix (left operand)
VVector (right operand)
Returns
Resulting vector with row labels from matrix M

Definition at line 189 of file cmbmatrix.cpp.

References CMBMatrix::RowLabels(), CMBVector::SetLabels(), CMBMatrix::toMatrix(), and CMBVector::toVector().