MCPcopy Create free account

hub / github.com/b45ch1/algopy / functions

Functions1,636 in github.com/b45ch1/algopy

↓ 3 callersFunctionF_fcn
implicit function to solve: 0 = F(x_new, x, t_new, t_old)
documentation/sphinx/examples/implicit_euler.py:19
↓ 3 callersMethodFtoJT
Combines several directional derivatives and combines them to a transposed Jacobian JT, i.e. x.data.shape = (D,P,shp) y = x.F
algopy/utpm/utpm.py:1518
↓ 3 callersMethod_absolute
z = |x|
algopy/utpm/algorithms.py:588
↓ 3 callersMethod_iouter
computes dyadic product and adds it to out out += x y^T
algopy/utpm/algorithms.py:1646
↓ 3 callersMethod_log
(cls, x_data, out = None)
algopy/utpm/algorithms.py:811
↓ 3 callersMethod_negative
z = -x
algopy/utpm/algorithms.py:620
↓ 3 callersMethod_pb_sincos
(cls, sbar_data, cbar_data, x_data, s_data, c_data, out = None)
algopy/utpm/algorithms.py:935
↓ 3 callersMethod_reshape
(cls, a_data, newshape, order = 'C')
algopy/utpm/algorithms.py:1628
↓ 3 callersMethod_sign
(cls, x_data, out = None)
algopy/utpm/algorithms.py:759
↓ 3 callersMethod_sincos
computes sin and cos in Taylor arithmetic
algopy/utpm/algorithms.py:916
↓ 3 callersMethod_sinhcosh
(cls, x_data, out = None)
algopy/utpm/algorithms.py:1000
↓ 3 callersMethod_sqrt
(cls, x_data, out = None)
algopy/utpm/algorithms.py:664
↓ 3 callersFunctioncreate_random_symmetric_matrix
()
documentation/sphinx/examples/expm_identities.py:60
↓ 3 callersFunctiondawsn
generic implementation of y = dawsn(x) x: either a * float * numpy.ndarray * algopy.UTPM
algopy/special/special.py:329
↓ 3 callersMethoddpm_hyp2f0
computes y = hyp2f0(a1, a2, x) in UTP arithmetic
algopy/utpm/utpm.py:788
↓ 3 callersMethodeig
computes the eigenvalue decomposition Q^-1 A Q = L of a diagonalizable matrix A with distinct eigenvalues (l,Q) = UTPM.eig(A
algopy/utpm/utpm.py:2791
↓ 3 callersFunctionerf
generic implementation of y = erf(x) x: either a * float * numpy.ndarray * algopy.UTPM
algopy/special/special.py:273
↓ 3 callersMethoderf
computes y = erf(x) in UTP arithmetic
algopy/utpm/utpm.py:1065
↓ 3 callersFunctionerfi
generic implementation of y = erfi(x) x: either a * float * numpy.ndarray * algopy.UTPM
algopy/special/special.py:299
↓ 3 callersFunctioneval_f
@param theta: length six unconstrained vector of free variables
documentation/sphinx/examples/codon_model.py:630
↓ 3 callersFunctioneval_f2
(x)
documentation/sphinx/examples/gauss_newton.py:52
↓ 3 callersMethodeval_g
(self, x)
algopy/tracer/tests/test_tracer.py:2479
↓ 3 callersFunctioneval_grad_f
compute the gradient of f in the forward mode of AD
documentation/sphinx/examples/matrixexponential.py:113
↓ 3 callersFunctioneval_hess_f
compute the hessian of f in the forward mode of AD
documentation/sphinx/examples/matrixexponential.py:121
↓ 3 callersFunctionexpm_tS_v1
Compute expm(t*S) using AlgoPy default expm. t: truncated univariate Taylor polynomial S: symmetric numpy matrix
documentation/sphinx/examples/expm_identities.py:21
↓ 3 callersFunctionexpm_tS_v2
Compute expm(t*S) using AlgoPy eigendecomposition and an identity. t: truncated univariate Taylor polynomial S: symmetric numpy matrix
documentation/sphinx/examples/expm_identities.py:34
↓ 3 callersFunctionexpm_tS_v3
Compute expm(t*S) using LAPACK eigendecomposition and an identity. t: truncated univariate Taylor polynomial S: symmetric numpy matrix
documentation/sphinx/examples/expm_identities.py:47
↓ 3 callersMethodextract_jac_vec
extracts the Jacobian vector product from a UTPM instance if x.ndim == 1 it is equivalent to the gradient
algopy/utpm/utpm.py:1760
↓ 3 callersFunctionf
(x)
documentation/sphinx/runtime_comparison.py:8
↓ 3 callersFunctionf
(x)
documentation/sphinx/examples/series_expansion.py:4
↓ 3 callersMethodfunction
(self, x)
documentation/sphinx/speed_comparison/use_theano.py:30
↓ 3 callersFunctiongammaln
generic implementation of y = gammaln(x) x: either a * float * numpy.ndarray * algopy.UTPM
algopy/special/special.py:247
↓ 3 callersFunctiongenerate_multi_indices
generate_multi_indices(N,deg) Create a 2D array of all possible multi-indices i with |i| = deg and :math:`i in N_0^N`. Parameters -
algopy/exact_interpolation.py:29
↓ 3 callersMethodhess_vec
computes the Hessian vector product dot(H,v) Hv = self.hess_vec(x, v) Parameters ---------- x: array_like
algopy/tracer/tracer.py:480
↓ 3 callersFunctionhessian
(f,in_x)
experimental/exact_interpolation.py:218
↓ 3 callersMethodimag
(self)
algopy/tracer/tracer.py:1141
↓ 3 callersMethodinit_jac_vec
initializes this UTPM instance to compute the Jacobian vector product J v, it is possible to force the dtype to a certain dtype, if
algopy/utpm/utpm.py:1736
↓ 3 callersMethodlogdet
compute logdet using algopy.lu2 as described in http://www.mathworks.com/matlabcentral/fileexchange/22026-safe-computation-of-logarit
algopy/utpm/utpm.py:1480
↓ 3 callersFunctionlogit
generic implementation of y = logit(x) x: either a * float * numpy.ndarray * algopy.UTPM
algopy/special/special.py:355
↓ 3 callersFunctionmeasurement_model
(x,p,q)
experimental/examples/gradient_of_optimal_experimental_design_objective_function.py:47
↓ 3 callersFunctionmeasurement_model
(x,p,q)
experimental/examples/q-robust-OED.py:59
↓ 3 callersFunctionmeasurement_model
(x,p,q)
experimental/examples/q_robust_OED.py:68
↓ 3 callersFunctionnp_polygamma
This is changed because scipy.special.polygamma does not have 'out'.
algopy/nthderiv/nthderiv.py:213
↓ 3 callersFunctionnp_recip_sqrt
(x, out=None)
algopy/nthderiv/nthderiv.py:222
↓ 3 callersMethodones_like
(self)
algopy/utpm/utpm.py:1623
↓ 3 callersMethodpb_diag
Extract a diagonal or construct diagonal UTPM instance
algopy/utpm/utpm.py:3013
↓ 3 callersMethodpb_inv
(cls, ybar, x, y, out = None)
algopy/utpm/utpm.py:2582
↓ 3 callersMethodpb_solve
(cls, ybar, A, x, y, out = None)
algopy/utpm/utpm.py:2595
↓ 3 callersMethodpb_trace
(cls, ybar, x, y, out = None)
algopy/utpm/utpm.py:2626
↓ 3 callersMethodpiv2mat
(cls, piv)
algopy/utpm/utpm.py:2259
↓ 3 callersFunctionpolygamma
generic implementation of y = polygamma(n, x) x: either a * float * numpy.ndarray * algopy.UT
algopy/special/special.py:195
↓ 3 callersFunctionpsi
generic implementation of y = psi(x) x: either a * float * numpy.ndarray * algopy.UTPM
algopy/special/special.py:221
↓ 3 callersMethodreciprocal
(self)
algopy/tracer/tracer.py:1114
↓ 3 callersFunctionrosen
Arbitrary-dimensional Rosenbrock function for testing.
algopy/utpm/tests/test_utpm_convenience.py:22
↓ 3 callersFunctionsample_nonzero
Sample an ndarray of random normal variables then push them away from zero. @param utpm_shape: an array shape @param eps: push the random
algopy/utpm/tests/test_special_function_identities.py:58
↓ 3 callersFunctionsample_unit_radius
Sample an ndarray between -1 and 1. @param utpm_shape: an array shape @param eps: push the random numbers this far away from 0 and 1
algopy/utpm/tests/test_special_function_identities.py:24
↓ 3 callersMethodsquare
(self)
algopy/tracer/tracer.py:1108
↓ 3 callersMethodtransform_params
(self, Y)
algopy/tests/test_examples.py:19
↓ 3 callersFunctiontruncated_triple_dot
computes d^D/dt^D ( [X]_D [Y]_D [Z]_D) with t set to zero after differentiation X,Y,Z are (DT,P,N,M) arrays s.t. the dimensions match to com
algopy/utpm/algorithms.py:205
↓ 3 callersMethodvec_hess
computes the hessian of dot(w, F(x)), where F:R^N ---> R^M wH = self.vec_hess(w, x) Parameters ---------- w: array
algopy/tracer/tracer.py:523
↓ 3 callersFunctionwrite
(data)
algopy/_six.py:231
↓ 2 callersFunctionF
(x)
documentation/sphinx/examples/first_order_forward.py:4
↓ 2 callersMethodJTtoF
inverse operation of FtoJT x.data.shape = (D,1, P,shp) y = x.JTtoF() y.data.shape = (D+1, P, shp)
algopy/utpm/utpm.py:1529
↓ 2 callersFunctionJ_fcn
computes the Jacobian of F_fcn all inputs are double arrays
documentation/sphinx/examples/implicit_euler.py:23
↓ 2 callersFunctionLogNormalLikelihood
(x, mu, sigma)
documentation/sphinx/examples/posterior_log_probability.py:3
↓ 2 callersFunctionPhi
prototypical OED objective function
experimental/examples/gradient_of_optimal_experimental_design_objective_function.py:59
↓ 2 callersMethod__abs__
absolute value of polynomials FIXME: theory tells us to check first coefficient if the zero'th coefficient is zero
algopy/utpm/utpm.py:1351
↓ 2 callersMethod_dawsn
(cls, x_data, out=None)
algopy/utpm/algorithms.py:856
↓ 2 callersMethod_eigh1
computes the solution of the relaxed problem of order 1 L,Q = eig(A) for symmetric matrix A with possibly repeated eigenval
algopy/utpm/algorithms.py:2017
↓ 2 callersMethod_hyp0f1
(cls, b, x_data, out=None)
algopy/utpm/algorithms.py:1122
↓ 2 callersMethod_hyp2f0
(cls, a1, a2, x_data, out=None)
algopy/utpm/algorithms.py:1110
↓ 2 callersMethod_hyperu
(cls, a, b, x_data, out=None)
algopy/utpm/algorithms.py:1086
↓ 2 callersMethod_inv
computes y = inv(x)
algopy/utpm/algorithms.py:1333
↓ 2 callersMethod_pow_real
y = x**r, where r is scalar
algopy/utpm/algorithms.py:474
↓ 2 callersMethod_qr_rectangular
computation of qr(A) where A.shape(M,N) with M >= N this function is called by the more general function _qr
algopy/utpm/algorithms.py:1717
↓ 2 callersMethod_qr_rectangular_pullback
assumes that A.shape = M,N with M >= N
algopy/utpm/algorithms.py:2278
↓ 2 callersMethod_tansec2
computes tan and sec in Taylor arithmetic
algopy/utpm/algorithms.py:886
↓ 2 callersFunctionad_df
(x)
experimental/tests/trash/unit_test_with_sympy.py:79
↓ 2 callersFunctionarctan
experimental/ctps/src/ctps.c:539
↓ 2 callersMethodas_utpm
tries to convert a container (e.g. list or numpy.array) with UTPM elements as instances to a UTPM instance
algopy/utpm/utpm.py:190
↓ 2 callersFunctionbinomial
(z,k)
experimental/exact_interpolation.py:47
↓ 2 callersFunctionbinomial
(z,k)
experimental/vector_forward_mode.py:239
↓ 2 callersMethodcholesky
(cls, A, out = None)
algopy/utpm/utpm.py:2082
↓ 2 callersFunctionconvert_multi_indices_to_pos
(in_I)
experimental/exact_interpolation.py:21
↓ 2 callersMethodcreate
Creates a new function node. INPUTS: x anything current value args
algopy/tracer/tracer.py:753
↓ 2 callersFunctioncreate_transition_matrix_numeric
Use numerical integration. This is not so compatible with algopy because it goes through fortran. Note that d = 2*h - 1 following Kimura
documentation/sphinx/examples/preferred_nucleotide.py:142
↓ 2 callersFunctionctps_inv
==========================================================================*/
experimental/ctps/src/ctps.c:213
↓ 2 callersFunctionctps_log
==========================================================================*/
experimental/ctps/src/ctps.c:247
↓ 2 callersFunctiondenom_not_genic
(c, d)
documentation/sphinx/examples/preferred_nucleotide.py:22
↓ 2 callersFunctiondna_to_codon_ord
(codons, dna_string)
documentation/sphinx/examples/codon_model.py:514
↓ 2 callersFunctiondo_searches
(f, g, h, x0)
documentation/sphinx/examples/minimization/minhelper.py:50
↓ 2 callersFunctioneq
(a,b)
experimental/tests/scalar_reverse.py:669
↓ 2 callersMethodeval
(self)
experimental/vectorized_taylor_arithmetic.py:405
↓ 2 callersFunctioneval_f
some function
documentation/sphinx/getting_started.py:4
↓ 2 callersFunctioneval_f1
(x)
documentation/sphinx/examples/gauss_newton.py:45
↓ 2 callersFunctioneval_f_explicit
Note that Y is last for compatibility with functools.partial. It is convenient for usage with numdifftools, although this parameter order
documentation/sphinx/examples/preferred_nucleotide.py:172
↓ 2 callersFunctioneval_g
some vector-valued function
documentation/sphinx/examples/taylor_series_of_jacobian.py:5
↓ 2 callersMethodeval_grad_f
compute the gradient of f in the forward mode of AD
algopy/tests/test_examples.py:127
↓ 2 callersFunctioneval_grad_f_eigh
compute the gradient of f in the forward mode of AD
documentation/sphinx/examples/matrixexponential.py:96
↓ 2 callersMethodeval_grad_f_forward
(self, x)
documentation/sphinx/examples/ampl_minimization_problem.py:25
← previousnext →201–300 of 1,636, ranked by callers