MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ scale_row()

void MayaFlux::Kinesis::Stochastic::Weights::scale_row ( size_t  row,
double  factor 
)
inlinenoexcept

Definition at line 162 of file Weights.hpp.

163 {
164 for (size_t col = 0; col < m_cols; ++col) {
165 Cell cell = (*this)(row, col);
166 cell = static_cast<double>(cell) * factor;
167 }
168 }
std::span< const double > row(size_t row) const noexcept
Non-atomic view of one row.
Definition Weights.hpp:150

References m_cols, and row().

Referenced by normalize_row().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: