src/Reservoir.cpp
void EchoBay::Reservoir::load_WrLayers(const std::string &folder)
{
    SparseMatrix<floatBO, 0x1> Wr;
    std::string tempName;
    for (int i = 0; i < _nLayers; ++i)
    {
        tempName = folder + "/Wr_eigen" + std::to_string(i) + ".mtx";
        loadMarket(Wr, tempName);
        WrLayers.push_back(Wr);
    }
}
/**
 * @brief Load Reservoir's weight layers from files
 * 
 * @param folder Path to the folder containing the files
 */
@brief Load Reservoir's weight layers from files

@param folder Path to the folder containing the files
@brief Load Reservoir ' s weight layers from files @param folder Path to the folder containing the files
void EchoBay::Reservoir::load_WrLayers(const std::string &folder)
{
    SparseMatrix<floatBO, 0x1> Wr;
    std::string tempName;
    for (int i = 0; i < _nLayers; ++i)
    {
        tempName = folder + "/Wr_eigen" + std::to_string(i) + ".mtx";
        loadMarket(Wr, tempName);
        WrLayers.push_back(Wr);
    }
}
void EchoBay :: Reservoir :: load_WrLayers ( const std :: string & folder ) { SparseMatrix < floatBO , 0x1 > Wr ; std :: string tempName ; for ( int i = 0 ; i < _nLayers ; ++ i ) { tempName = folder + " " + std :: to_string ( i ) + " " ; loadMarket ( Wr , tempName ) ; WrLayers . push_back ( Wr ) ; } }
@brief Load Reservoir's weight layers from files
@brief Load Reservoir ' s weight layers from files