code stringlengths 3 6.57k |
|---|
is_string_like(b) |
InvalidBase(msg=b) |
np.isclose(b, np.e) |
InvalidBase(b) |
np.log(b) |
log(x, func=np.log) |
func(x) |
Operations(object) |
log_2(x-y) |
log_2(x) |
log_2(1 - 2^[ log_2(y) |
log_2(x) |
log(y) |
log(x) |
get_base() |
get_base(self, numerical=False) |
np.exp(1) |
is_null(self, p) |
np.isclose(self.zero, p) |
is_null_exact(self, p) |
add(self, x, y) |
add_inplace(self, x, y) |
add_reduce(self, x) |
mult(self, x, y) |
mult_inplace(self, x, y) |
mult_reduce(self, x) |
invert(self, x) |
normalize(self, x) |
LinearOperations(Operations) |
methods (undesirably) |
bound (or even unbound methods) |
instead (desirably) |
staticmethod(exp_func(base) |
staticmethod(log_func(base) |
add(self, x, y) |
shape (n,) |
shape (n,) |
add_inplace(self, x, y) |
shape (n,) |
shape (n,) |
add_reduce(self, x, axis=None) |
x.sum(axis=axis) |
mult(self, x, y) |
shape (n,) |
shape (n,) |
mult_inplace(self, x, y) |
shape (n,) |
shape (n,) |
mult_reduce(self, x, axis=None) |
np.prod(x, axis=axis) |
invert(self, x) |
shape (n,) |
shape (n,) |
normalize(self, x, axis=None) |
sum(x) |
shape (n,) |
shape (n,) |
x.sum(axis=None) |
set_add(ops) |
add(self, x, y, func=np.logaddexp2) |
func(x, y) |
np.isclose(base, np.e) |
add(self, x, y, func=np.logaddexp) |
func(x, y) |
add(self, x, y) |
np.log2(base) |
np.log2(base) |
np.logaddexp2(x2, y2) |
self.log(2) |
shape (n,) |
shape (n,) |
MethodType(add, ops) |
set_add_inplace(ops) |
add_inplace(self, x, y, func=np.logaddexp2) |
func(x, y, x) |
np.isclose(base, np.e) |
add_inplace(self, x, y, func=np.logaddexp) |
func(x, y, x) |
add_inplace(self, x, y) |
np.log2(base) |
np.log2(base) |
np.logaddexp2(x, y2, x) |
self.log(2) |
shape (n,) |
shape (n,) |
MethodType(add_inplace, ops) |
set_add_reduce(ops) |
add_reduce(self, x, axis=None, func=np.logaddexp2) |
len(x) |
func.reduce(x, axis=axis, dtype=float) |
np.isclose(base, np.e) |
add_reduce(self, x, axis=None, func=np.logaddexp) |
len(x) |
func.reduce(x, axis=axis, dtype=float) |
add_reduce(self, x, axis=None) |
len(x) |
np.log2(base) |
np.logaddexp2.reduce(x2, axis=axis, dtype=float) |
np.log2(base) |
MethodType(add_reduce, ops) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.