MCPcopy Create free account

hub / github.com/Adam-Vandervorst/PyBHV / functions

Functions786 in github.com/Adam-Vandervorst/PyBHV

↓ 2 callersMethodstd_relation
(self, other: Self, compact=False, stdev=6, rounding=1)
bhv/abstract.py:120
↓ 2 callersMethodswitch
(self, cond: 'HV', left: 'HV', right: 'HV')
bhv/variants.py:60
↓ 2 callersMethodthreshold
(cls, vs: list[Self], t: int)
bhv/abstract.py:604
↓ 2 callersMethodthresholds3
(self, x: 'HV', y: 'HV', z: 'HV')
bhv/variants.py:32
↓ 2 callersMethodto_bytes
(self)
bhv/abstract.py:15
↓ 2 callersFunctionunify_variable
(v: str, t: Symbolic, knowledge: Knowledge)
bhv/unification.py:36
↓ 2 callersFunctionunique_by_id
(xs)
bhv/shared.py:102
↓ 1 callersMethod_counting_representative
(cls, vs: list['NumPyBoolBHV'])
bhv/np.py:101
↓ 1 callersMethod_direct_majority
(cls, vs: list['NumPyBoolBHV'])
bhv/np.py:76
↓ 1 callersMethod_discrete_sample
Samples data points from a list based on a center point and a kernel. Parameters: - data: List of data points to sample from
bhv/embedding.py:129
↓ 1 callersMethod_feistal_round
(cls, block: Self, round_key: Self)
bhv/abstract.py:579
↓ 1 callersMethod_get_composite
(cls, permutation_id: 'tuple[int, ...]')
bhv/abstract.py:758
↓ 1 callersMethod_logic_majority
(cls, vs: list[Self])
bhv/slice.py:46
↓ 1 callersMethod_logic_majority
(cls, vs: list[Self])
bhv/abstract.py:378
↓ 1 callersMethod_majority3
(cls, a: Self, b: Self, c: Self)
bhv/abstract.py:470
↓ 1 callersMethod_majority_via_custom
(cls, vs: list[Self])
bhv/abstract.py:514
↓ 1 callersMethod_perfect_overlap
Generate a list of intervals dividing a given range [low, high] into 'divisions' with a specified 'overlap'. Example: >>> In
bhv/embedding.py:62
↓ 1 callersMethod_permute_composite
(self, permutation_id: 'tuple')
bhv/native.py:91
↓ 1 callersMethod_position_infer
Infers the center point in the data list that most closely matches the given data point `x` based on a kernel. Parameters: -
bhv/embedding.py:194
↓ 1 callersMethod_sampling_representative
(cls, vs: list['NumPyBoolBHV'])
bhv/np.py:109
↓ 1 callersMethodactive
(self)
bhv/pytorch.py:119
↓ 1 callersMethodactive
(self)
bhv/np.py:138
↓ 1 callersMethodactive_fraction
(self)
bhv/symbolic.py:436
↓ 1 callersFunctionangle_difference
(a1, a2)
examples/pdm.py:13
↓ 1 callersFunctionassociative3
(m)
tests/sym_laws.py:14
↓ 1 callersFunctionassociative3
(m)
tests/laws.py:12
↓ 1 callersMethodback
(self, input_hv: AbstractBHV, threshold=.1)
bhv/embedding.py:52
↓ 1 callersFunctionbhv_conv_ops
(dom: AbstractBHV, codom: AbstractBHV, l, r)
tests/laws.py:143
↓ 1 callersFunctionbhv_props
()
tests/sym_laws.py:96
↓ 1 callersFunctionbhv_props
(impl: AbstractBHV)
tests/laws.py:108
↓ 1 callersFunctionbinw
(i, w)
bhv/shared.py:86
↓ 1 callersFunctionbitconfigs
(n)
bhv/shared.py:98
↓ 1 callersMethodbits
(self)
bhv/abstract.py:22
↓ 1 callersFunctionboolean_algebra
(conj, disj, inv, zero, one)
tests/sym_laws.py:81
↓ 1 callersFunctionboolean_algebra
(conj, disj, inv, zero, one)
tests/laws.py:80
↓ 1 callersMethodcheck_input_prob
Check that all the input probabilities are in the interval [0, 1].
bhv/poibin.py:282
↓ 1 callersMethodcheck_xi_are_real
Check whether all the ``xi``s have imaginary part equal to 0. The probabilities :math:`\\xi(k) = pmf(k) = Pr(X = k)` have to be posit
bhv/poibin.py:271
↓ 1 callersFunctionchunk_grid
(g: list[list[bool]], w, h, w0=0, h0=0)
examples/gol.py:97
↓ 1 callersFunctioncommutative3
(m)
tests/laws.py:14
↓ 1 callersFunctioncommutative3_1
(m)
tests/sym_laws.py:15
↓ 1 callersFunctioncommutative3_2
(m)
tests/sym_laws.py:16
↓ 1 callersFunctiondistributive3
(m, w)
tests/sym_laws.py:17
↓ 1 callersFunctiondistributive3
(m, w)
tests/laws.py:23
↓ 1 callersFunctiondrop_left
(f, m)
tests/sym_laws.py:31
↓ 1 callersFunctiondrop_left
(f, m)
tests/laws.py:25
↓ 1 callersFunctionexpand_single_inner
(f, k, m, w)
tests/sym_laws.py:36
↓ 1 callersFunctionexpand_single_inner
(f, k, m, w)
tests/laws.py:29
↓ 1 callersFunctionexpand_single_outer
(f, k, m, w)
tests/sym_laws.py:37
↓ 1 callersFunctionexpand_single_outer
(f, k, m, w)
tests/laws.py:30
↓ 1 callersFunctionextensionality3
(f, g)
tests/laws.py:34
↓ 1 callersMethodflip_pow_off
(self, pow_flip_off: int)
bhv/abstract.py:249
↓ 1 callersMethodflip_pow_on
(self, pow_flip_on: int)
bhv/abstract.py:246
↓ 1 callersMethodforward
(self, x: float)
bhv/embedding.py:49
↓ 1 callersMethodfrom_bitstream
(cls, bits_s: 'Iterator[bool]')
bhv/abstract.py:34
↓ 1 callersMethodfrom_bytes
(cls, bs)
bhv/native.py:112
↓ 1 callersMethodfrom_bytes
(cls, bs)
bhv/vanilla.py:104
↓ 1 callersFunctionfrommask
(m)
tests/lsynthesis.py:7
↓ 1 callersFunctiongenerate_sample
()
examples/grandmother_example.py:23
↓ 1 callersMethodget_cdf
Return the values of the cumulative density function. Return a list which contains all the values of the cumulative density function
bhv/poibin.py:180
↓ 1 callersMethodget_chi
Return the values of ``chi`` for the specified indices. :param idx_array: array of indices for which the ``chi`` values should be
bhv/poibin.py:220
↓ 1 callersMethodget_one
(self)
bhv/variants.py:126
↓ 1 callersMethodget_pmf_xi
Return the values of the variable ``xi``. The components ``xi`` make up the probability mass function, i.e. :math:`\\xi(k) = pmf(k) =
bhv/poibin.py:195
↓ 1 callersMethodget_zero
(self)
bhv/variants.py:130
↓ 1 callersFunctiongf2
(add, mul, one, zero)
tests/sym_laws.py:61
↓ 1 callersFunctiongf2
(add, mul, one, zero)
tests/laws.py:61
↓ 1 callersMethodhistorical_levels
(self)
bhv/variants.py:109
↓ 1 callersFunctionindex_to_angle
(i)
examples/pdm.py:11
↓ 1 callersMethodinstantiate
(self, **kwargs)
bhv/symbolic.py:101
↓ 1 callersMethodinstantiate
(self, **kwargs)
bhv/symbolic.py:749
↓ 1 callersMethodinternal_size
(self)
bhv/symbolic.py:140
↓ 1 callersMethodinterval
(p)
bhv/abstract.py:348
↓ 1 callersFunctioninvariant3
(m)
tests/laws.py:46
↓ 1 callersFunctioninvariant3_1
(m)
tests/sym_laws.py:53
↓ 1 callersFunctioninvariant3_2
(m)
tests/sym_laws.py:54
↓ 1 callersFunctioninvariant3_2
(m)
tests/laws.py:47
↓ 1 callersFunctioninvariant_under2
(f, p)
tests/sym_laws.py:49
↓ 1 callersFunctioninvolutive
(f)
tests/sym_laws.py:24
↓ 1 callersMethodlabeled_children
(self, **kwargs)
bhv/symbolic.py:202
↓ 1 callersFunctionlattice
(join)
tests/sym_laws.py:56
↓ 1 callersFunctionlattice
(join)
tests/laws.py:56
↓ 1 callersFunctionlogic_majority
(vs)
tests/inspect_logic_majority.py:8
↓ 1 callersFunctionlogic_representative_plot
()
tests/sym.py:18
↓ 1 callersFunctionlolipop
(p, q, U, neighborhood=3)
tests/lolipop.py:5
↓ 1 callersFunctionmaj3_inv
(maj3, inv)
tests/laws.py:71
↓ 1 callersMethodmajority
(cls, vs: list[Self])
bhv/symbolic.py:409
↓ 1 callersFunctionmake_rule
(r: int)
examples/ca_rules.py:6
↓ 1 callersFunctionnbs
(i, w)
bhv/shared.py:79
↓ 1 callersMethodnodename
(self, **kwargs)
bhv/symbolic.py:16
↓ 1 callersFunctionnot_props
(not_, bot, top)
tests/sym_laws.py:59
↓ 1 callersFunctionnot_props
(not_, bot, top)
tests/laws.py:59
↓ 1 callersMethodnrandom
(cls, n)
bhv/abstract.py:713
↓ 1 callersFunctionoccurs_check
(v: str, t, knowledge: Knowledge)
bhv/unification.py:47
↓ 1 callersFunctionor_and_props
(or_, and_)
tests/sym_laws.py:60
↓ 1 callersFunctionor_and_props
(or_, and_)
tests/laws.py:60
↓ 1 callersFunctionpack_bool_to_long
(bool_tensor)
bhv/pytorch.py:7
↓ 1 callersMethodparity
(cls, vs: list[Self])
bhv/abstract.py:74
↓ 1 callersMethodperfect
(cls, hvt, low: float = 0., high: float = 1., divisions: int = 5, overlap: int = 2, ends: bool = False)
bhv/embedding.py:94
↓ 1 callersMethodpermute
(self, permutation_id: 'int | tuple')
bhv/native.py:97
↓ 1 callersMethodpermute
(self, permutation_id: 'int | tuple[int, ...]')
bhv/symbolic.py:412
↓ 1 callersMethodpermute
(self, x: 'HV', permutation_id: int)
bhv/variants.py:85
← previousnext →201–300 of 786, ranked by callers