1 #include <../../nrnconf.h>
48 for (
int i = 0;
i < sz; ++
i) {
55 for (
int i = 0;
i < sz; ++
i) {
100 opv->
pset(
i, hoc_hgetarg<double>(2));
145 auto const& y = opv->
pd_;
146 auto n = opv->
size();
147 char* label = opv->
label_;
161 }
else if (
narg() == 4) {
171 n = std::min(
n, vp2->
size());
172 for (
i = 0;
i <
n; ++
i)
176 double interval = *
getarg(2);
177 for (
i = 0;
i <
n; ++
i)
178 gv->
add(
i * interval, y[
i]);
182 for (
i = 0;
i <
n; ++
i)
214 sz = int(
chkarg(1, 1., 2e9));
const Brush * brush(int) const
const Color * color(int) const
virtual void save(std::ostream &, Coord, Coord)
void brush(const Brush *)
void color(const Color *)
virtual GlyphIndex glyph_index(const Glyph *)
GLabel * label(float x, float y, const char *s, int fixtype, float scale, float x_align, float y_align, const Color *)
void add(float, neuron::container::data_handle< double >)
virtual void append(Glyph *)
virtual Glyph * component(GlyphIndex) const
void class2oc(const char *, ctor_f *cons, dtor_f *destruct, Member_func *, Member_ret_obj_func *, Member_ret_str_func *)
HocReturnType hoc_return_type_code
double chkarg(int, double low, double high)
int hoc_is_object_arg(int narg)
double * hoc_getarg(int narg)
void check_obj_type(Object *obj, const char *type_name)
IvocVect * vector_arg(int i)
Symbol * hoc_lookup(const char *)
#define TRY_GUI_REDIRECT_METHOD_ACTUAL_DOUBLE(name, sym, v)
Object ** hoc_objgetarg(int)
void move(Item *q1, Item *q2, Item *q3)
double * vector_vec(IvocVect *v)
void hoc_execerror(const char *s1, const char *s2)
int vector_capacity(IvocVect *v)
constexpr do_not_search_t do_not_search
In mechanism libraries, cannot use auto const token = nrn_ensure_model_data_are_sorted(); because the...
int const size_t const size_t n
static const char ** ptr_label(void *v)
static Symbol * pv_class_sym_
static double pset(void *v)
static double getval(void *v)
static Member_ret_str_func retstr_members[]
static Member_func members[]
static void * cons(Object *)
static double gather(void *v)
static double setval(void *v)
static void destruct(void *v)
static const char * nullstr
static double resize(void *v)
static double get_size(void *v)
static double ptr_plot(void *v)
static double scatter(void *v)
void pset(int i, neuron::container::data_handle< double > dh)
void scatter(double *, int sz)
std::vector< neuron::container::data_handle< double > > pd_
OcPtrVector(std::size_t sz)
void gather(double *, int sz)