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
↓ 1 callers
Function
permute_props
(permute)
tests/laws.py:93
↓ 1 callers
Function
phase_difference
(a1, a2)
examples/pdm.py:14
↓ 1 callers
Method
pmf
Calculate the probability mass function ``pmf`` for the input values. The ``pmf`` is defined as .. math:: pmf(k) = Pr(X
bhv/poibin.py:102
↓ 1 callers
Function
propagate
(f, m)
tests/laws.py:26
↓ 1 callers
Function
propagate3
(f, m)
tests/sym_laws.py:35
↓ 1 callers
Method
rand
(cls)
bhv/symbolic.py:395
↓ 1 callers
Method
random
(cls, active: float)
bhv/pytorch.py:65
↓ 1 callers
Function
rec
(x)
tests/sym_laws.py:142
↓ 1 callers
Method
reconstruct
(self, *cs)
bhv/symbolic.py:44
↓ 1 callers
Method
rehash
(self)
bhv/pytorch.py:96
↓ 1 callers
Method
rehash
(self)
bhv/abstract.py:572
↓ 1 callers
Method
rehash
(self)
bhv/symbolic.py:418
↓ 1 callers
Method
rehash
(self)
bhv/np.py:54
↓ 1 callers
Function
report
(vs)
tests/representative_equivalent.py:215
↓ 1 callers
Function
reverse_Bits
(n, no_of_bits)
tests/lookup_expr.py:307
↓ 1 callers
Function
right_absorbing
(m, z)
tests/sym_laws.py:27
↓ 1 callers
Function
right_absorbing
(m, z)
tests/laws.py:20
↓ 1 callers
Method
roll_words
(self, n: int)
bhv/pytorch.py:173
↓ 1 callers
Function
run
()
tests/laws.py:189
↓ 1 callers
Function
run
(initial_viz: list[str], generations: int)
examples/gol.py:145
↓ 1 callers
Function
self_inverse_op
(f)
tests/laws.py:17
↓ 1 callers
Function
stable_hash
Python's `hash` is not stable. That's a problem if you want to use it for persistence and inter-run consistency. This one is hand rolled, so
bhv/shared.py:22
↓ 1 callers
Method
substitute
(self, vars)
bhv/symbolic.py:31
↓ 1 callers
Method
swap
(self)
bhv/symbolic.py:738
↓ 1 callers
Method
swap_halves
(self)
bhv/symbolic.py:415
↓ 1 callers
Method
synth_af
(cls, af: float, depth=1, v_gen=lambda x: Rand(x), threshold=1e-6)
bhv/symbolic.py:349
↓ 1 callers
Method
ternary
(self, y, z, op)
bhv/native.py:38
↓ 1 callers
Function
test_unbiased_variance
()
tests/inspect_random.py:14
↓ 1 callers
Function
to_bitmask
(s)
bhv/shared.py:90
↓ 1 callers
Method
to_bytes
(self)
bhv/native.py:115
↓ 1 callers
Method
to_bytes
(self)
bhv/np.py:276
↓ 1 callers
Method
to_bytes
(self)
bhv/vanilla.py:100
↓ 1 callers
Method
top
(self, vs: list[Self], k: int)
bhv/abstract.py:95
↓ 1 callers
Function
transport
(law, l, r)
tests/laws.py:50
↓ 1 callers
Function
transport3
(law, l, r)
tests/laws.py:52
↓ 1 callers
Method
tversky
(self, other: Self, l: float, r: float)
bhv/abstract.py:300
↓ 1 callers
Method
unpack
(self)
bhv/pytorch.py:212
↓ 1 callers
Function
unpack_long_to_bool
(packed_tensor)
bhv/pytorch.py:21
↓ 1 callers
Method
variant
(cls, vs: list[Self], f: float = .5, af=.5)
bhv/abstract.py:701
↓ 1 callers
Method
within
(self, vs: list[Self], d: int)
bhv/abstract.py:98
↓ 1 callers
Function
xor_props
(xor_, bot)
tests/sym_laws.py:58
↓ 1 callers
Function
xor_props
(xor_, bot)
tests/laws.py:58
Function
BHV_active
bhv/bindings.cpp:99
Function
BHV_and
bhv/bindings.cpp:463
Function
BHV_closest
bhv/bindings.cpp:228
Function
BHV_dealloc
bhv/bindings.cpp:22
Function
BHV_eq
bhv/bindings.cpp:498
Function
BHV_from_bytes
bhv/bindings.cpp:613
Function
BHV_hamming
bhv/bindings.cpp:220
Function
BHV_init
bhv/bindings.cpp:27
Function
BHV_invert
bhv/bindings.cpp:487
Function
BHV_level
bhv/bindings.cpp:210
Function
BHV_majority
bhv/bindings.cpp:310
Function
BHV_or
bhv/bindings.cpp:475
Function
BHV_parity
bhv/bindings.cpp:334
Function
BHV_permute
bhv/bindings.cpp:585
Function
BHV_permute_byte_bits
bhv/bindings.cpp:574
Function
BHV_permute_words
bhv/bindings.cpp:563
Function
BHV_rand
bhv/bindings.cpp:194
Function
BHV_random
bhv/bindings.cpp:200
Function
BHV_rehash
bhv/bindings.cpp:596
Function
BHV_representative
bhv/bindings.cpp:407
Function
BHV_richcompare
bhv/bindings.cpp:73
Function
BHV_roll_bits
bhv/bindings.cpp:553
Function
BHV_roll_word_bits
bhv/bindings.cpp:543
Function
BHV_roll_words
bhv/bindings.cpp:533
Function
BHV_select
bhv/bindings.cpp:508
Function
BHV_swap_even_odd
bhv/bindings.cpp:603
Function
BHV_ternary
bhv/bindings.cpp:520
Function
BHV_threshold
bhv/bindings.cpp:385
Function
BHV_to_bytes
bhv/bindings.cpp:609
Function
BHV_top
bhv/bindings.cpp:248
Function
BHV_weighted_threshold
bhv/bindings.cpp:355
Function
BHV_window
bhv/bindings.cpp:428
Function
BHV_within
bhv/bindings.cpp:280
Function
BHV_xor
bhv/bindings.cpp:451
Function
PyInit_cnative
bhv/bindings.cpp:675
Method
R
(*args)
tests/symbolic.py:158
Function
_L
(vs)
tests/representative_equivalent.py:87
Method
__and__
(self, other: Self)
bhv/slice.py:36
Method
__and__
(self, other)
bhv/native.py:26
Method
__and__
(self, other: 'TorchBoolBHV')
bhv/pytorch.py:110
Method
__and__
(self, other: 'TorchPackedBHV')
bhv/pytorch.py:194
Method
__and__
(self, other: Self)
bhv/abstract.py:205
Method
__and__
(self, other: Self)
bhv/symbolic.py:424
Method
__and__
(self, other: 'NumPyBoolBHV')
bhv/np.py:129
Method
__and__
(self, other: 'NumPyPacked8BHV')
bhv/np.py:252
Method
__and__
(self, other: 'NumPyPacked64BHV')
bhv/np.py:405
Method
__and__
(self, other: 'VanillaBHV')
bhv/vanilla.py:80
Method
__call__
(self, hv: 'TorchBoolBHV')
bhv/pytorch.py:50
Method
__call__
(self, hv: 'TorchPackedBHV')
bhv/pytorch.py:153
Method
__call__
(self, hv: 'AbstractBHV')
bhv/abstract.py:732
Method
__call__
(self, hv: 'SymbolicBHV')
bhv/symbolic.py:245
Method
__call__
(self, hv: 'NumPyBoolBHV')
bhv/np.py:25
Method
__call__
(self, hv: 'NumPyPacked8BHV')
bhv/np.py:197
Method
__call__
(self, hv: 'NumPyPacked64BHV')
bhv/np.py:310
Method
__call__
(self, hv: 'VanillaBHV')
bhv/vanilla.py:27
Method
__contains__
(self, item)
bhv/shared.py:123
Method
__deepcopy__
(self, memodict=None)
bhv/abstract.py:12
Method
__eq__
(self, other: Self)
bhv/slice.py:30
← previous
next →
301–400 of 786, ranked by callers