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

◆ get()

double MayaFlux::Kinesis::Stochastic::Weights::get ( size_t  row,
size_t  col 
) const
inlinenoexcept

Atomic read of one cell.

Definition at line 141 of file Weights.hpp.

142 {
143 return std::atomic_ref<double>(const_cast<double&>(m_data[row * m_cols + col]))
144 .load(std::memory_order_relaxed);
145 }
std::span< const double > row(size_t row) const noexcept
Non-atomic view of one row.
Definition Weights.hpp:150

References m_cols, m_data, and row().

Referenced by normalize_row().

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