Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Adam-Vandervorst/PyBHV
/ functions
Functions
786 in github.com/Adam-Vandervorst/PyBHV
⨍
Functions
786
◇
Types & classes
81
↓ 2 callers
Method
std_relation
(self, other: Self, compact=False, stdev=6, rounding=1)
bhv/abstract.py:120
↓ 2 callers
Method
switch
(self, cond: 'HV', left: 'HV', right: 'HV')
bhv/variants.py:60
↓ 2 callers
Method
threshold
(cls, vs: list[Self], t: int)
bhv/abstract.py:604
↓ 2 callers
Method
thresholds3
(self, x: 'HV', y: 'HV', z: 'HV')
bhv/variants.py:32
↓ 2 callers
Method
to_bytes
(self)
bhv/abstract.py:15
↓ 2 callers
Function
unify_variable
(v: str, t: Symbolic, knowledge: Knowledge)
bhv/unification.py:36
↓ 2 callers
Function
unique_by_id
(xs)
bhv/shared.py:102
↓ 1 callers
Method
_counting_representative
(cls, vs: list['NumPyBoolBHV'])
bhv/np.py:101
↓ 1 callers
Method
_direct_majority
(cls, vs: list['NumPyBoolBHV'])
bhv/np.py:76
↓ 1 callers
Method
_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 callers
Method
_feistal_round
(cls, block: Self, round_key: Self)
bhv/abstract.py:579
↓ 1 callers
Method
_get_composite
(cls, permutation_id: 'tuple[int, ...]')
bhv/abstract.py:758
↓ 1 callers
Method
_logic_majority
(cls, vs: list[Self])
bhv/slice.py:46
↓ 1 callers
Method
_logic_majority
(cls, vs: list[Self])
bhv/abstract.py:378
↓ 1 callers
Method
_majority3
(cls, a: Self, b: Self, c: Self)
bhv/abstract.py:470
↓ 1 callers
Method
_majority_via_custom
(cls, vs: list[Self])
bhv/abstract.py:514
↓ 1 callers
Method
_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 callers
Method
_permute_composite
(self, permutation_id: 'tuple')
bhv/native.py:91
↓ 1 callers
Method
_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 callers
Method
_sampling_representative
(cls, vs: list['NumPyBoolBHV'])
bhv/np.py:109
↓ 1 callers
Method
active
(self)
bhv/pytorch.py:119
↓ 1 callers
Method
active
(self)
bhv/np.py:138
↓ 1 callers
Method
active_fraction
(self)
bhv/symbolic.py:436
↓ 1 callers
Function
angle_difference
(a1, a2)
examples/pdm.py:13
↓ 1 callers
Function
associative3
(m)
tests/sym_laws.py:14
↓ 1 callers
Function
associative3
(m)
tests/laws.py:12
↓ 1 callers
Method
back
(self, input_hv: AbstractBHV, threshold=.1)
bhv/embedding.py:52
↓ 1 callers
Function
bhv_conv_ops
(dom: AbstractBHV, codom: AbstractBHV, l, r)
tests/laws.py:143
↓ 1 callers
Function
bhv_props
()
tests/sym_laws.py:96
↓ 1 callers
Function
bhv_props
(impl: AbstractBHV)
tests/laws.py:108
↓ 1 callers
Function
binw
(i, w)
bhv/shared.py:86
↓ 1 callers
Function
bitconfigs
(n)
bhv/shared.py:98
↓ 1 callers
Method
bits
(self)
bhv/abstract.py:22
↓ 1 callers
Function
boolean_algebra
(conj, disj, inv, zero, one)
tests/sym_laws.py:81
↓ 1 callers
Function
boolean_algebra
(conj, disj, inv, zero, one)
tests/laws.py:80
↓ 1 callers
Method
check_input_prob
Check that all the input probabilities are in the interval [0, 1].
bhv/poibin.py:282
↓ 1 callers
Method
check_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 callers
Function
chunk_grid
(g: list[list[bool]], w, h, w0=0, h0=0)
examples/gol.py:97
↓ 1 callers
Function
commutative3
(m)
tests/laws.py:14
↓ 1 callers
Function
commutative3_1
(m)
tests/sym_laws.py:15
↓ 1 callers
Function
commutative3_2
(m)
tests/sym_laws.py:16
↓ 1 callers
Function
distributive3
(m, w)
tests/sym_laws.py:17
↓ 1 callers
Function
distributive3
(m, w)
tests/laws.py:23
↓ 1 callers
Function
drop_left
(f, m)
tests/sym_laws.py:31
↓ 1 callers
Function
drop_left
(f, m)
tests/laws.py:25
↓ 1 callers
Function
expand_single_inner
(f, k, m, w)
tests/sym_laws.py:36
↓ 1 callers
Function
expand_single_inner
(f, k, m, w)
tests/laws.py:29
↓ 1 callers
Function
expand_single_outer
(f, k, m, w)
tests/sym_laws.py:37
↓ 1 callers
Function
expand_single_outer
(f, k, m, w)
tests/laws.py:30
↓ 1 callers
Function
extensionality3
(f, g)
tests/laws.py:34
↓ 1 callers
Method
flip_pow_off
(self, pow_flip_off: int)
bhv/abstract.py:249
↓ 1 callers
Method
flip_pow_on
(self, pow_flip_on: int)
bhv/abstract.py:246
↓ 1 callers
Method
forward
(self, x: float)
bhv/embedding.py:49
↓ 1 callers
Method
from_bitstream
(cls, bits_s: 'Iterator[bool]')
bhv/abstract.py:34
↓ 1 callers
Method
from_bytes
(cls, bs)
bhv/native.py:112
↓ 1 callers
Method
from_bytes
(cls, bs)
bhv/vanilla.py:104
↓ 1 callers
Function
frommask
(m)
tests/lsynthesis.py:7
↓ 1 callers
Function
generate_sample
()
examples/grandmother_example.py:23
↓ 1 callers
Method
get_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 callers
Method
get_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 callers
Method
get_one
(self)
bhv/variants.py:126
↓ 1 callers
Method
get_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 callers
Method
get_zero
(self)
bhv/variants.py:130
↓ 1 callers
Function
gf2
(add, mul, one, zero)
tests/sym_laws.py:61
↓ 1 callers
Function
gf2
(add, mul, one, zero)
tests/laws.py:61
↓ 1 callers
Method
historical_levels
(self)
bhv/variants.py:109
↓ 1 callers
Function
index_to_angle
(i)
examples/pdm.py:11
↓ 1 callers
Method
instantiate
(self, **kwargs)
bhv/symbolic.py:101
↓ 1 callers
Method
instantiate
(self, **kwargs)
bhv/symbolic.py:749
↓ 1 callers
Method
internal_size
(self)
bhv/symbolic.py:140
↓ 1 callers
Method
interval
(p)
bhv/abstract.py:348
↓ 1 callers
Function
invariant3
(m)
tests/laws.py:46
↓ 1 callers
Function
invariant3_1
(m)
tests/sym_laws.py:53
↓ 1 callers
Function
invariant3_2
(m)
tests/sym_laws.py:54
↓ 1 callers
Function
invariant3_2
(m)
tests/laws.py:47
↓ 1 callers
Function
invariant_under2
(f, p)
tests/sym_laws.py:49
↓ 1 callers
Function
involutive
(f)
tests/sym_laws.py:24
↓ 1 callers
Method
labeled_children
(self, **kwargs)
bhv/symbolic.py:202
↓ 1 callers
Function
lattice
(join)
tests/sym_laws.py:56
↓ 1 callers
Function
lattice
(join)
tests/laws.py:56
↓ 1 callers
Function
logic_majority
(vs)
tests/inspect_logic_majority.py:8
↓ 1 callers
Function
logic_representative_plot
()
tests/sym.py:18
↓ 1 callers
Function
lolipop
(p, q, U, neighborhood=3)
tests/lolipop.py:5
↓ 1 callers
Function
maj3_inv
(maj3, inv)
tests/laws.py:71
↓ 1 callers
Method
majority
(cls, vs: list[Self])
bhv/symbolic.py:409
↓ 1 callers
Function
make_rule
(r: int)
examples/ca_rules.py:6
↓ 1 callers
Function
nbs
(i, w)
bhv/shared.py:79
↓ 1 callers
Method
nodename
(self, **kwargs)
bhv/symbolic.py:16
↓ 1 callers
Function
not_props
(not_, bot, top)
tests/sym_laws.py:59
↓ 1 callers
Function
not_props
(not_, bot, top)
tests/laws.py:59
↓ 1 callers
Method
nrandom
(cls, n)
bhv/abstract.py:713
↓ 1 callers
Function
occurs_check
(v: str, t, knowledge: Knowledge)
bhv/unification.py:47
↓ 1 callers
Function
or_and_props
(or_, and_)
tests/sym_laws.py:60
↓ 1 callers
Function
or_and_props
(or_, and_)
tests/laws.py:60
↓ 1 callers
Function
pack_bool_to_long
(bool_tensor)
bhv/pytorch.py:7
↓ 1 callers
Method
parity
(cls, vs: list[Self])
bhv/abstract.py:74
↓ 1 callers
Method
perfect
(cls, hvt, low: float = 0., high: float = 1., divisions: int = 5, overlap: int = 2, ends: bool = False)
bhv/embedding.py:94
↓ 1 callers
Method
permute
(self, permutation_id: 'int | tuple')
bhv/native.py:97
↓ 1 callers
Method
permute
(self, permutation_id: 'int | tuple[int, ...]')
bhv/symbolic.py:412
↓ 1 callers
Method
permute
(self, x: 'HV', permutation_id: int)
bhv/variants.py:85
← previous
next →
201–300 of 786, ranked by callers