/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/tools/ |
H A D | transform_model.py | 43 def __init__(self, data, ddof=1, const_idx=None, demean=True): argument 49 if const_idx is None: 50 const_idx = np.nonzero(self.scale == 0)[0] 51 if len(const_idx) == 0: 52 const_idx = 'n' 54 const_idx = int(const_idx) 56 if const_idx != 'n': 57 self.mean[const_idx] = 0 58 self.scale[const_idx] = 1 63 self.const_idx = const_idx [all …]
|
/dports/math/yices/yices-2.6.2/src/terms/ |
H A D | bvpoly_buffers.h | 158 bvpoly_buffer_add_mono64(buffer, const_idx, a); in bvpoly_buffer_add_const64() 162 bvpoly_buffer_sub_mono64(buffer, const_idx, a); in bvpoly_buffer_sub_const64() 166 bvpoly_buffer_add_monomial(buffer, const_idx, a); in bvpoly_buffer_add_constant() 170 bvpoly_buffer_sub_monomial(buffer, const_idx, a); in bvpoly_buffer_sub_constant() 174 bvpoly_buffer_add_var(buffer, const_idx); in bvpoly_buffer_add_one() 178 bvpoly_buffer_sub_var(buffer, const_idx); in bvpoly_buffer_sub_one() 183 bvpoly_buffer_addmul_mono64(buffer, const_idx, a, b); in bvpoly_buffer_addmul_const64() 187 bvpoly_buffer_submul_mono64(buffer, const_idx, a, b); in bvpoly_buffer_submul_const64() 191 bvpoly_buffer_addmul_monomial(buffer, const_idx, a, b); in bvpoly_buffer_addmul_constant() 195 bvpoly_buffer_submul_monomial(buffer, const_idx, a, b); in bvpoly_buffer_submul_constant() [all …]
|
H A D | poly_buffer.h | 131 poly_buffer_add_monomial(buffer, const_idx, a); in poly_buffer_add_const() 135 poly_buffer_sub_monomial(buffer, const_idx, a); in poly_buffer_sub_const() 139 poly_buffer_add_var(buffer, const_idx); in poly_buffer_add_one() 143 poly_buffer_sub_var(buffer, const_idx); in poly_buffer_sub_one() 151 poly_buffer_clear_monomial(buffer, const_idx); in poly_buffer_clear_const() 297 return buffer->nterms == 0 || (buffer->nterms == 1 && buffer->mono[0].var == const_idx); in poly_buffer_is_constant() 304 return buffer->nterms == 1 && buffer->mono[0].var == const_idx; in poly_buffer_is_nzconstant() 311 return buffer->nterms == 1 && buffer->mono[0].var == const_idx && in poly_buffer_is_pos_constant() 319 return buffer->nterms == 0 || (buffer->nterms == 1 && buffer->mono[0].var == const_idx && in poly_buffer_is_nonneg_constant() 327 return buffer->nterms == 1 && buffer->mono[0].var == const_idx && in poly_buffer_is_neg_constant() [all …]
|
H A D | bv64_polynomials.c | 130 if (b1->var != const_idx && b2->var != const_idx) { in disequal_bvpoly64() 135 if (b1->var == const_idx && b2->var == const_idx && in disequal_bvpoly64() 142 if (b1->var == const_idx) b1 ++; in disequal_bvpoly64() 143 if (b2->var == const_idx) b2 ++; in disequal_bvpoly64() 161 return p->nterms == 2 && p->mono[0].var == const_idx && p->mono[1].var == x && in bvpoly64_is_const_plus_var()
|
H A D | bv_polynomials.c | 155 if (b1->var != const_idx && b2->var != const_idx) { in disequal_bvpoly() 160 if (b1->var == const_idx && b2->var == const_idx && in disequal_bvpoly() 167 if (b1->var == const_idx) b1 ++; in disequal_bvpoly() 168 if (b2->var == const_idx) b2 ++; in disequal_bvpoly() 187 return p->nterms == 2 && p->mono[0].var == const_idx && p->mono[1].var == x && in bvpoly_is_const_plus_var()
|
H A D | polynomials.c | 295 if (p->var == const_idx) { in monarray_constant() 377 if ((v1 == const_idx && v2 == const_idx && q_eq(&p1->coeff, &p2->coeff)) in disequal_monarrays() 378 || (v1 != const_idx && v2 != const_idx)) { in disequal_monarrays() 384 if (v1 == const_idx) p1++; in disequal_monarrays() 385 if (v2 == const_idx) p2++; in disequal_monarrays() 454 if (v == const_idx) { in monarray_period_and_phase() 551 if (p->var == const_idx) p ++; in monarray_gcd() 812 return p->nterms == 1 && p->mono[0].var == const_idx in polynomial_is_pos() 817 return p->nterms == 1 && p->mono[0].var == const_idx in polynomial_is_neg() 823 (p->nterms == 1 && p->mono[0].var == const_idx in polynomial_is_nonneg() [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/base/ |
H A D | data.py | 84 self.const_idx = None 126 self.const_idx = None 135 self.k_constant = const_idx.size 138 if self.exog[:, const_idx].mean() != 0: 139 self.const_idx = int(const_idx) 147 for idx in const_idx: 151 self.const_idx = int(idx) 160 self.const_idx = int(const_idx[pos.argmax()]) 178 self.const_idx = None 628 const_idx = exog_var.argmin() [all …]
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/discrete/ |
H A D | discrete_margins.py | 37 const_idx = np.where(~effects_idx)[0] 39 const_idx = None 40 return effects_idx, const_idx 70 def _get_dummy_index(X, const_idx): argument 105 def _get_count_index(X, const_idx): argument 550 _, const_idx = _get_const_index(model.exog) 551 if const_idx is not None: 552 exog_names.pop(const_idx[0]) 673 effects_idx, const_idx = _get_const_index(exog) 677 dummy_idx, dummy = _get_dummy_index(exog, const_idx) [all …]
|
/dports/lang/clover/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/graphics/mesa-dri/mesa-21.3.6/src/intel/tools/ |
H A D | aubinator_viewer_urb.h | 42 int const_idx = 0; in DrawAllocation() local 52 ImVec2 const_tl(x + const_idx * alloc_delta, y); in DrawAllocation() 53 ImVec2 const_br(x + (const_idx + stages[s].const_rd_length) * alloc_delta, in DrawAllocation() 89 const_idx += stages[s].const_rd_length; in DrawAllocation()
|
/dports/math/py-statsmodels/statsmodels-0.13.1/statsmodels/sandbox/regression/ |
H A D | penalized.py | 133 const_idx = self.data.const_idx 135 const_idx = None 139 if const_idx is not None: 141 del keep_idx[const_idx]
|
/dports/math/yices/yices-2.6.2/src/mcsat/bv/explain/ |
H A D | arith_utils.c | 224 if (monom_var == const_idx) // constant coefficient gets aded to the buffer bv_poly in arith_eq0() 239 if (monom_var == const_idx) // constant coefficient gets aded to the buffer bv_poly in arith_eq0() 257 if (monom_var == const_idx) // constant coefficient gets added to the buffer bv_poly in arith_eq0() 268 if (monom_var == const_idx) in arith_eq0() 341 if (t_poly->mono[i].var != const_idx in arith_is_sum_norm() 351 if (t_poly->mono[i].var != const_idx in arith_is_sum_norm() 384 if (monom_var == const_idx) // constant coefficient gets added to the buffer bv_poly in arith_sum_norm() 421 if (monom_var == const_idx) // constant coefficient gets added to the buffer bv_poly in arith_sum_norm()
|
/dports/graphics/libosmesa/mesa-21.3.6/src/panfrost/bifrost/ |
H A D | disassemble.c | 581 unsigned const_idx; in dump_clause() member 605 unsigned const_idx = pos_table[pos].const_idx; in dump_clause() local 607 if (num_consts < const_idx + 2) in dump_clause() 608 num_consts = const_idx + 2; in dump_clause() 610 consts.raw[const_idx] = const0; in dump_clause() 611 consts.raw[const_idx + 1] = const1; in dump_clause() 626 decode_M(&consts.mods[const_idx], M1, M2, false); in dump_clause()
|
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/panfrost/bifrost/ |
H A D | disassemble.c | 581 unsigned const_idx; in dump_clause() member 605 unsigned const_idx = pos_table[pos].const_idx; in dump_clause() local 607 if (num_consts < const_idx + 2) in dump_clause() 608 num_consts = const_idx + 2; in dump_clause() 610 consts.raw[const_idx] = const0; in dump_clause() 611 consts.raw[const_idx + 1] = const1; in dump_clause() 626 decode_M(&consts.mods[const_idx], M1, M2, false); in dump_clause()
|
/dports/graphics/mesa-libs/mesa-21.3.6/src/panfrost/bifrost/ |
H A D | disassemble.c | 581 unsigned const_idx; in dump_clause() member 605 unsigned const_idx = pos_table[pos].const_idx; in dump_clause() local 607 if (num_consts < const_idx + 2) in dump_clause() 608 num_consts = const_idx + 2; in dump_clause() 610 consts.raw[const_idx] = const0; in dump_clause() 611 consts.raw[const_idx + 1] = const1; in dump_clause() 626 decode_M(&consts.mods[const_idx], M1, M2, false); in dump_clause()
|
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/panfrost/bifrost/ |
H A D | disassemble.c | 581 unsigned const_idx; in dump_clause() member 605 unsigned const_idx = pos_table[pos].const_idx; in dump_clause() local 607 if (num_consts < const_idx + 2) in dump_clause() 608 num_consts = const_idx + 2; in dump_clause() 610 consts.raw[const_idx] = const0; in dump_clause() 611 consts.raw[const_idx + 1] = const1; in dump_clause() 626 decode_M(&consts.mods[const_idx], M1, M2, false); in dump_clause()
|