Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/b45ch1/algopy
/ functions
Functions
1,636 in github.com/b45ch1/algopy
⨍
Functions
1,636
◇
Types & classes
88
↓ 375 callers
Method
dot
out = dot(x,y)
algopy/utpm/utpm.py:1913
↓ 298 callers
Method
zeros
(cls, shape, dtype=None)
algopy/utpm/utpm.py:1610
↓ 197 callers
Function
dot
Same as NumPy dot but in UTP arithmetic
algopy/globalfuncs.py:250
↓ 156 callers
Method
zeros_like
(self)
algopy/utpm/utpm.py:1620
↓ 134 callers
Method
sum
(self, axis=None, dtype=None, out=None)
algopy/utpm/utpm.py:1179
↓ 119 callers
Method
dot
(cls, lhs,rhs)
algopy/tracer/tracer.py:1145
↓ 104 callers
Method
pushforward
Apply a global push forward of the computational procedure defined by the computational graph saved in this CGraph instance.
algopy/tracer/tracer.py:94
↓ 94 callers
Function
f
(x, module)
algopy/tracer/tests/test_tracer_complex.py:48
↓ 86 callers
Function
zeros
generic implementation of numpy.zeros
algopy/globalfuncs.py:173
↓ 85 callers
Method
copy
this method is equivalent to `clone`. It's there to allow generic programming because ndarrays do not have the clone method.
algopy/utpm/utpm.py:1556
↓ 74 callers
Method
ones
(self)
algopy/tracer/tracer.py:1081
↓ 73 callers
Method
reshape
(self, dims)
algopy/utpm/utpm.py:1577
↓ 72 callers
Method
diag
Extract a diagonal or construct diagonal UTPM instance
algopy/utpm/utpm.py:3008
↓ 70 callers
Method
prod
(self)
algopy/utpm/utpm.py:1223
↓ 67 callers
Method
append
(self, func)
algopy/tracer/tracer.py:66
↓ 63 callers
Method
init_jacobian
initializes this UTPM instance to compute the Jacobian, it is possible to force the dtype to a certain dtype, if no dtype is provide
algopy/utpm/utpm.py:1681
↓ 62 callers
Method
exp
computes y = exp(x) in UTP arithmetic
algopy/utpm/utpm.py:549
↓ 59 callers
Method
trace_off
(self)
algopy/tracer/tracer.py:62
↓ 58 callers
Method
extract_jacobian
extracts the Jacobian from a UTPM instance if x.ndim == 1 it is equivalent to the gradient
algopy/utpm/utpm.py:1718
↓ 54 callers
Method
pullback
Apply the pullback of the cotangent element, e.g. for:: y = y(x) compute:: ybar dy(x) = xbar dx
algopy/tracer/tracer.py:117
↓ 52 callers
Method
clone
Returns a new UTPM instance with the same data. `clone` is opposed to `copy` or `deepcopy` by calling the __init__ function.
algopy/utpm/utpm.py:1543
↓ 52 callers
Method
zeros
(self)
algopy/tracer/tracer.py:1078
↓ 47 callers
Function
sum
generic sum function calls either numpy.sum or Function.sum resp. UTPM.sum depending on the input
algopy/globalfuncs.py:59
↓ 43 callers
Method
log
computes y = log(x) in UTP arithmetic
algopy/utpm/utpm.py:589
↓ 42 callers
Method
qr
(cls, A, out = None, work = None, epsilon = 1e-14)
algopy/utpm/utpm.py:2658
↓ 40 callers
Method
trace
(cls, x)
algopy/utpm/utpm.py:1445
↓ 34 callers
Method
copy
(self)
experimental/utps/utps.py:49
↓ 34 callers
Method
gradient
computes the gradient of a function f: R^N --> R g = gradient(self, x_list) Parameters ---------- x: array_like or
algopy/tracer/tracer.py:191
↓ 34 callers
Method
reshape
(self, shape)
algopy/tracer/tracer.py:1226
↓ 32 callers
Method
jacobian
computes the Jacobian of a function F:R^N --> R^M in the reverse mode J = self.jacobian(x) If x is a UTPM instance, the Taylor seri
algopy/tracer/tracer.py:263
↓ 32 callers
Method
reverse
(self,xbar)
experimental/vectorized_taylor_arithmetic.py:518
↓ 32 callers
Method
sqrt
(self)
algopy/utpm/utpm.py:531
↓ 31 callers
Function
cos
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:469
↓ 31 callers
Method
sum
(self, axis=None, dtype=None, out=None)
algopy/tracer/tracer.py:1129
↓ 31 callers
Method
transpose
(self)
algopy/tracer/tracer.py:1208
↓ 30 callers
Method
_dot
z = dot(x,y)
algopy/utpm/algorithms.py:1173
↓ 30 callers
Method
_transpose
Permute the dimensions of UTPM data
algopy/utpm/algorithms.py:2359
↓ 30 callers
Function
sin
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:465
↓ 29 callers
Method
inv
(cls, A, out = None)
algopy/utpm/utpm.py:2014
↓ 28 callers
Method
__zeros__
(cls, shp, dtype)
algopy/utpm/algorithms.py:1672
↓ 28 callers
Method
conjugate
(self)
algopy/tracer/tracer.py:1211
↓ 28 callers
Method
cos
(self)
algopy/utpm/utpm.py:654
↓ 26 callers
Method
trace
(self)
algopy/tracer/tracer.py:1199
↓ 24 callers
Method
sin
(self)
algopy/utpm/utpm.py:634
↓ 24 callers
Method
transpose
(self, axes = None)
algopy/utpm/utpm.py:1586
↓ 23 callers
Method
_amul
z += x*y
algopy/utpm/algorithms.py:358
↓ 23 callers
Function
exp
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:395
↓ 22 callers
Function
f
(t, x, p)
documentation/sphinx/examples/implicit_euler.py:8
↓ 22 callers
Method
solve
solves for y in: A y = x
algopy/utpm/utpm.py:2035
↓ 22 callers
Method
triu
(cls, x, k=0, out = None)
algopy/utpm/utpm.py:1670
↓ 21 callers
Function
ctps_mul
==========================================================================*/
experimental/ctps/src/ctps.c:61
↓ 20 callers
Method
plot
accepted filenames, e.g.: filename = 'myfolder/mypic.png' 'mypic.svg' etc. accepted methods
algopy/tracer/tracer.py:614
↓ 19 callers
Method
abs
computes y = sign(x) in UTP arithmetic
algopy/utpm/utpm.py:1335
↓ 19 callers
Method
extract_hessian
extracts the Hessian of shape (N,N) from the UTPM instance y
algopy/utpm/utpm.py:1841
↓ 19 callers
Method
jac_vec
computes the Jacobian-vector product J*v of a function F:R^N --> R^M in the forward mode Jv = self.jac_vec(x, v) Parameters
algopy/tracer/tracer.py:364
↓ 19 callers
Function
sample_randn
Sample an ndarray of random normal variables. @param utpm_shape: an array shape @return: a random UTPM object
algopy/utpm/tests/test_special_function_identities.py:48
↓ 18 callers
Function
_plus_const
Constants are only added to the d=0 slice of the data array. A function like this is not so useful for multiplication by a constant, beca
algopy/utpm/algorithms.py:38
↓ 18 callers
Method
eigh
computes the eigenvalue decomposition A = Q^T L Q of a symmetrical matrix A with distinct eigenvalues (l,Q) = UTPM.eigh(A, o
algopy/utpm/utpm.py:2715
↓ 18 callers
Function
f
(x)
experimental/vector_forward_mode.py:446
↓ 17 callers
Method
init_hessian
initializes this UTPM instance to compute the Hessian
algopy/utpm/utpm.py:1814
↓ 17 callers
Function
makeMat
(m, n, complex_valued=True)
algopy/tracer/tests/test_tracer_complex.py:8
↓ 17 callers
Method
outer
out = outer(x,y)
algopy/utpm/utpm.py:1966
↓ 17 callers
Function
sqrt
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:433
↓ 16 callers
Function
inv
computes the inverse of A by STEP 1: QR decomposition STEP 2: Solution of the extended linear system:: (Q R | I) =
experimental/utps/utps.py:239
↓ 15 callers
Method
copy
(self)
experimental/vectorized_taylor_arithmetic.py:51
↓ 15 callers
Function
f
rhs of the ODE
experimental/examples/q-robust-OED.py:62
↓ 15 callers
Method
trace_on
(self)
algopy/tracer/tracer.py:58
↓ 14 callers
Function
f
(z)
experimental/tests/vector_forward_mode_test.py:54
↓ 14 callers
Method
gradient
(self, x)
documentation/sphinx/speed_comparison/use_adolc.py:19
↓ 14 callers
Method
plot
accepted filenames, e.g.: filename = 'myfolder/mypic.png' 'mypic.svg' etc. accepted methods
experimental/vectorized_taylor_arithmetic.py:526
↓ 14 callers
Function
workaround_strides_function
peform the operation fun(x,y) where fun = operator.iadd, operator.imul, operator.setitem, etc. workaround for the bug
algopy/utpm/utpm.py:30
↓ 13 callers
Method
_broadcast_arrays
UTPM equivalent of numpy.broadcast_arrays
algopy/utpm/algorithms.py:266
↓ 13 callers
Method
_square
z = x*x This can theoretically be twice as efficient as mul(x, x).
algopy/utpm/algorithms.py:636
↓ 13 callers
Method
broadcast
this is the UTPM equivalent to numpy.broadcast_arrays
algopy/utpm/utpm.py:2512
↓ 13 callers
Method
sign
computes y = sign(x) in UTP arithmetic
algopy/utpm/utpm.py:1329
↓ 12 callers
Function
broadcast_arrays_shape
(x_shp,y_shp)
algopy/utpm/algorithms.py:246
↓ 12 callers
Method
max
(cls, a, axis = None, out = None)
algopy/utpm/utpm.py:1424
↓ 12 callers
Function
np_filled_like
(x, fill_value, out=None)
algopy/nthderiv/nthderiv.py:192
↓ 12 callers
Function
qr
QR decomposition of A Q,R = qr(A)
experimental/utps/utps.py:195
↓ 11 callers
Method
__zeros_like__
(cls, data)
algopy/utpm/algorithms.py:1668
↓ 11 callers
Method
_diag
Extract a diagonal or construct diagonal UTPM data
algopy/utpm/algorithms.py:2369
↓ 11 callers
Method
_exp
(cls, x_data, out=None)
algopy/utpm/algorithms.py:689
↓ 11 callers
Method
multiply
(cls, x, y , out = None)
algopy/utpm/utpm.py:1420
↓ 11 callers
Method
square
computes y = square(x) in UTP arithmetic
algopy/utpm/utpm.py:1043
↓ 10 callers
Function
almost_equal
(ax,ay)
experimental/tests/vector_forward_mode_test.py:14
↓ 10 callers
Method
copy
(self)
experimental/vector_forward_mode.py:36
↓ 10 callers
Method
forward
(self,x)
experimental/vectorized_taylor_arithmetic.py:509
↓ 10 callers
Function
log
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:409
↓ 10 callers
Function
prod
generic sum function calls either numpy.sum or Function.sum resp. UTPM.sum depending on the input
algopy/globalfuncs.py:109
↓ 10 callers
Method
prod
(self)
algopy/tracer/tracer.py:1132
↓ 10 callers
Method
qr_full
(cls, A, out = None, work = None)
algopy/utpm/utpm.py:2686
↓ 10 callers
Method
reciprocal
computes y = reciprocal(x) in UTP arithmetic
algopy/utpm/utpm.py:901
↓ 10 callers
Method
sqrt
(self)
experimental/utps/utps.py:166
↓ 10 callers
Method
tan
(self)
algopy/utpm/utpm.py:682
↓ 10 callers
Method
totype
tries to convert x to an object of the class
algopy/tracer/tracer.py:929
↓ 10 callers
Method
tril
(cls, x, k=0, out = None)
algopy/utpm/utpm.py:1659
↓ 9 callers
Method
__str__
human readable representation of the UTPS object for printing >>print UTPS([1,2,3])
experimental/utps/utps.py:185
↓ 9 callers
Method
_reciprocal
z = 1/y
algopy/utpm/algorithms.py:395
↓ 9 callers
Method
cos
(self)
algopy/tracer/tracer.py:1102
↓ 9 callers
Method
cosh
computes y = cosh(x) in UTP arithmetic
algopy/utpm/utpm.py:1315
next →
1–100 of 1,636, ranked by callers