MCPcopy Create free account
hub / github.com/PythonOT/POT / exp

Method exp

ot/backend.py:442–450  ·  view source on GitHub ↗

r""" Computes the exponential value element-wise. This function follows the api from :any:`numpy.exp` See: https://numpy.org/doc/stable/reference/generated/numpy.exp.html

(self, a)

Source from the content-addressed store, hash-verified

440 raise NotImplementedError()
441
442 def exp(self, a):
443 r"""
444 Computes the exponential value element-wise.
445
446 This function follows the api from :any:`numpy.exp`
447
448 See: https://numpy.org/doc/stable/reference/generated/numpy.exp.html
449 """
450 raise NotImplementedError()
451
452 def log(self, a):
453 r"""

Callers 15

test_empty_backendFunction · 0.95
lowrank_sinkhornFunction · 0.45
kernel_nystroemFunction · 0.45
sinkhorn_low_rank_kernelFunction · 0.45
kernelFunction · 0.45
solveFunction · 0.45
make_1D_gaussFunction · 0.45
expMethod · 0.45
expMethod · 0.45
expMethod · 0.45
expMethod · 0.45
logsumexpMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_empty_backendFunction · 0.76
test_func_backendsFunction · 0.36
test_bregman_batchFunction · 0.36