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

◆ assign()

void MayaFlux::Kinesis::Stochastic::Weights::assign ( size_t  rows,
size_t  cols,
double  initial = 0.0 
)
inline

Replace dimensions and reset every cell.

Definition at line 118 of file Weights.hpp.

119 {
120 m_rows = rows;
121 m_cols = cols;
122 m_data.assign(rows * cols, initial);
123 }

References cols(), m_cols, m_data, m_rows, and rows().

+ Here is the call graph for this function: