MCPcopy Create free account

hub / github.com/b45ch1/algopy / functions

Functions1,636 in github.com/b45ch1/algopy

↓ 375 callersMethoddot
out = dot(x,y)
algopy/utpm/utpm.py:1913
↓ 298 callersMethodzeros
(cls, shape, dtype=None)
algopy/utpm/utpm.py:1610
↓ 197 callersFunctiondot
Same as NumPy dot but in UTP arithmetic
algopy/globalfuncs.py:250
↓ 156 callersMethodzeros_like
(self)
algopy/utpm/utpm.py:1620
↓ 134 callersMethodsum
(self, axis=None, dtype=None, out=None)
algopy/utpm/utpm.py:1179
↓ 119 callersMethoddot
(cls, lhs,rhs)
algopy/tracer/tracer.py:1145
↓ 104 callersMethodpushforward
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 callersFunctionf
(x, module)
algopy/tracer/tests/test_tracer_complex.py:48
↓ 86 callersFunctionzeros
generic implementation of numpy.zeros
algopy/globalfuncs.py:173
↓ 85 callersMethodcopy
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 callersMethodones
(self)
algopy/tracer/tracer.py:1081
↓ 73 callersMethodreshape
(self, dims)
algopy/utpm/utpm.py:1577
↓ 72 callersMethoddiag
Extract a diagonal or construct diagonal UTPM instance
algopy/utpm/utpm.py:3008
↓ 70 callersMethodprod
(self)
algopy/utpm/utpm.py:1223
↓ 67 callersMethodappend
(self, func)
algopy/tracer/tracer.py:66
↓ 63 callersMethodinit_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 callersMethodexp
computes y = exp(x) in UTP arithmetic
algopy/utpm/utpm.py:549
↓ 59 callersMethodtrace_off
(self)
algopy/tracer/tracer.py:62
↓ 58 callersMethodextract_jacobian
extracts the Jacobian from a UTPM instance if x.ndim == 1 it is equivalent to the gradient
algopy/utpm/utpm.py:1718
↓ 54 callersMethodpullback
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 callersMethodclone
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 callersMethodzeros
(self)
algopy/tracer/tracer.py:1078
↓ 47 callersFunctionsum
generic sum function calls either numpy.sum or Function.sum resp. UTPM.sum depending on the input
algopy/globalfuncs.py:59
↓ 43 callersMethodlog
computes y = log(x) in UTP arithmetic
algopy/utpm/utpm.py:589
↓ 42 callersMethodqr
(cls, A, out = None, work = None, epsilon = 1e-14)
algopy/utpm/utpm.py:2658
↓ 40 callersMethodtrace
(cls, x)
algopy/utpm/utpm.py:1445
↓ 34 callersMethodcopy
(self)
experimental/utps/utps.py:49
↓ 34 callersMethodgradient
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 callersMethodreshape
(self, shape)
algopy/tracer/tracer.py:1226
↓ 32 callersMethodjacobian
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 callersMethodreverse
(self,xbar)
experimental/vectorized_taylor_arithmetic.py:518
↓ 32 callersMethodsqrt
(self)
algopy/utpm/utpm.py:531
↓ 31 callersFunctioncos
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:469
↓ 31 callersMethodsum
(self, axis=None, dtype=None, out=None)
algopy/tracer/tracer.py:1129
↓ 31 callersMethodtranspose
(self)
algopy/tracer/tracer.py:1208
↓ 30 callersMethod_dot
z = dot(x,y)
algopy/utpm/algorithms.py:1173
↓ 30 callersMethod_transpose
Permute the dimensions of UTPM data
algopy/utpm/algorithms.py:2359
↓ 30 callersFunctionsin
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:465
↓ 29 callersMethodinv
(cls, A, out = None)
algopy/utpm/utpm.py:2014
↓ 28 callersMethod__zeros__
(cls, shp, dtype)
algopy/utpm/algorithms.py:1672
↓ 28 callersMethodconjugate
(self)
algopy/tracer/tracer.py:1211
↓ 28 callersMethodcos
(self)
algopy/utpm/utpm.py:654
↓ 26 callersMethodtrace
(self)
algopy/tracer/tracer.py:1199
↓ 24 callersMethodsin
(self)
algopy/utpm/utpm.py:634
↓ 24 callersMethodtranspose
(self, axes = None)
algopy/utpm/utpm.py:1586
↓ 23 callersMethod_amul
z += x*y
algopy/utpm/algorithms.py:358
↓ 23 callersFunctionexp
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:395
↓ 22 callersFunctionf
(t, x, p)
documentation/sphinx/examples/implicit_euler.py:8
↓ 22 callersMethodsolve
solves for y in: A y = x
algopy/utpm/utpm.py:2035
↓ 22 callersMethodtriu
(cls, x, k=0, out = None)
algopy/utpm/utpm.py:1670
↓ 21 callersFunctionctps_mul
==========================================================================*/
experimental/ctps/src/ctps.c:61
↓ 20 callersMethodplot
accepted filenames, e.g.: filename = 'myfolder/mypic.png' 'mypic.svg' etc. accepted methods
algopy/tracer/tracer.py:614
↓ 19 callersMethodabs
computes y = sign(x) in UTP arithmetic
algopy/utpm/utpm.py:1335
↓ 19 callersMethodextract_hessian
extracts the Hessian of shape (N,N) from the UTPM instance y
algopy/utpm/utpm.py:1841
↓ 19 callersMethodjac_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 callersFunctionsample_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 callersFunction_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 callersMethodeigh
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 callersFunctionf
(x)
experimental/vector_forward_mode.py:446
↓ 17 callersMethodinit_hessian
initializes this UTPM instance to compute the Hessian
algopy/utpm/utpm.py:1814
↓ 17 callersFunctionmakeMat
(m, n, complex_valued=True)
algopy/tracer/tests/test_tracer_complex.py:8
↓ 17 callersMethodouter
out = outer(x,y)
algopy/utpm/utpm.py:1966
↓ 17 callersFunctionsqrt
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:433
↓ 16 callersFunctioninv
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 callersMethodcopy
(self)
experimental/vectorized_taylor_arithmetic.py:51
↓ 15 callersFunctionf
rhs of the ODE
experimental/examples/q-robust-OED.py:62
↓ 15 callersMethodtrace_on
(self)
algopy/tracer/tracer.py:58
↓ 14 callersFunctionf
(z)
experimental/tests/vector_forward_mode_test.py:54
↓ 14 callersMethodgradient
(self, x)
documentation/sphinx/speed_comparison/use_adolc.py:19
↓ 14 callersMethodplot
accepted filenames, e.g.: filename = 'myfolder/mypic.png' 'mypic.svg' etc. accepted methods
experimental/vectorized_taylor_arithmetic.py:526
↓ 14 callersFunctionworkaround_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 callersMethod_broadcast_arrays
UTPM equivalent of numpy.broadcast_arrays
algopy/utpm/algorithms.py:266
↓ 13 callersMethod_square
z = x*x This can theoretically be twice as efficient as mul(x, x).
algopy/utpm/algorithms.py:636
↓ 13 callersMethodbroadcast
this is the UTPM equivalent to numpy.broadcast_arrays
algopy/utpm/utpm.py:2512
↓ 13 callersMethodsign
computes y = sign(x) in UTP arithmetic
algopy/utpm/utpm.py:1329
↓ 12 callersFunctionbroadcast_arrays_shape
(x_shp,y_shp)
algopy/utpm/algorithms.py:246
↓ 12 callersMethodmax
(cls, a, axis = None, out = None)
algopy/utpm/utpm.py:1424
↓ 12 callersFunctionnp_filled_like
(x, fill_value, out=None)
algopy/nthderiv/nthderiv.py:192
↓ 12 callersFunctionqr
QR decomposition of A Q,R = qr(A)
experimental/utps/utps.py:195
↓ 11 callersMethod__zeros_like__
(cls, data)
algopy/utpm/algorithms.py:1668
↓ 11 callersMethod_diag
Extract a diagonal or construct diagonal UTPM data
algopy/utpm/algorithms.py:2369
↓ 11 callersMethod_exp
(cls, x_data, out=None)
algopy/utpm/algorithms.py:689
↓ 11 callersMethodmultiply
(cls, x, y , out = None)
algopy/utpm/utpm.py:1420
↓ 11 callersMethodsquare
computes y = square(x) in UTP arithmetic
algopy/utpm/utpm.py:1043
↓ 10 callersFunctionalmost_equal
(ax,ay)
experimental/tests/vector_forward_mode_test.py:14
↓ 10 callersMethodcopy
(self)
experimental/vector_forward_mode.py:36
↓ 10 callersMethodforward
(self,x)
experimental/vectorized_taylor_arithmetic.py:509
↓ 10 callersFunctionlog
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:409
↓ 10 callersFunctionprod
generic sum function calls either numpy.sum or Function.sum resp. UTPM.sum depending on the input
algopy/globalfuncs.py:109
↓ 10 callersMethodprod
(self)
algopy/tracer/tracer.py:1132
↓ 10 callersMethodqr_full
(cls, A, out = None, work = None)
algopy/utpm/utpm.py:2686
↓ 10 callersMethodreciprocal
computes y = reciprocal(x) in UTP arithmetic
algopy/utpm/utpm.py:901
↓ 10 callersMethodsqrt
(self)
experimental/utps/utps.py:166
↓ 10 callersMethodtan
(self)
algopy/utpm/utpm.py:682
↓ 10 callersMethodtotype
tries to convert x to an object of the class
algopy/tracer/tracer.py:929
↓ 10 callersMethodtril
(cls, x, k=0, out = None)
algopy/utpm/utpm.py:1659
↓ 9 callersMethod__str__
human readable representation of the UTPS object for printing >>print UTPS([1,2,3])
experimental/utps/utps.py:185
↓ 9 callersMethod_reciprocal
z = 1/y
algopy/utpm/algorithms.py:395
↓ 9 callersMethodcos
(self)
algopy/tracer/tracer.py:1102
↓ 9 callersMethodcosh
computes y = cosh(x) in UTP arithmetic
algopy/utpm/utpm.py:1315
next →1–100 of 1,636, ranked by callers