#include <algorithm>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <cypress/core/data.hpp>
#include <cypress/core/exceptions.hpp>
#include <cypress/core/types.hpp>
#include <cypress/util/optional.hpp>
Go to the source code of this file.
#define CYPRESS_SYNAPSES_HPP |
#define NAMED_PARAMETER |
( |
|
NAME, |
|
|
|
IDX |
|
) |
| |
Value:static constexpr size_t idx_##NAME = IDX; \
{ \
m_params[IDX] = x; \
return *this; \
Real NAME()
const {
return m_params[IDX]; }
double Real
Definition: types.hpp:56
Macro used for defining the getters and setters associated with a neuron parameter value.