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
↓ 1 callers
Method
eval_hess_vec_f_reverse
(self, x, v)
documentation/sphinx/examples/ampl_minimization_problem.py:77
↓ 1 callers
Method
eval_jac_g_forward
(self, x)
algopy/tracer/tests/test_tracer.py:2485
↓ 1 callers
Method
eval_jac_g_reverse
(self, x)
documentation/sphinx/examples/ampl_minimization_problem.py:71
↓ 1 callers
Method
eval_jac_g_reverse
(self, x)
algopy/tracer/tests/test_tracer.py:2503
↓ 1 callers
Method
eval_jac_vec_g_forward
(self, x, v)
documentation/sphinx/examples/ampl_minimization_problem.py:33
↓ 1 callers
Method
eval_vec_hess_g_forward
(self, w, x)
documentation/sphinx/examples/ampl_minimization_problem.py:44
↓ 1 callers
Method
eval_vec_hess_g_forward
(self, w, x)
algopy/tracer/tests/test_tracer.py:2489
↓ 1 callers
Method
eval_vec_hess_g_reverse
(self, w, x)
documentation/sphinx/examples/ampl_minimization_problem.py:80
↓ 1 callers
Method
eval_vec_hess_g_reverse
(self, w, x)
algopy/tracer/tests/test_tracer.py:2506
↓ 1 callers
Function
exec_
Execute code in a namespace.
algopy/_six.py:209
↓ 1 callers
Function
expectation_of_phi
(v,DM,sigma)
experimental/examples/q_robust_OED.py:168
↓ 1 callers
Method
expit
(cls, x)
algopy/tracer/tracer.py:1322
↓ 1 callers
Method
expm1
(self)
algopy/tracer/tracer.py:1093
↓ 1 callers
Function
expm_higham_2005
Compute the matrix exponential using the method of Higham 2005. N. J. Higham, "The Scaling and Squaring Method for the Matrix Exponentia
algopy/linalg/compound.py:91
↓ 1 callers
Method
extract_hess_vec
extracts the Hessian-vector product from a UTPM instance
algopy/utpm/utpm.py:1904
↓ 1 callers
Method
extract_tensor
extracts the Hessian of shape (N,N) from the UTPM instance y
algopy/utpm/utpm.py:1788
↓ 1 callers
Function
f
(x,y,z)
documentation/sphinx/symbolic_differentiation.py:4
↓ 1 callers
Function
f
(y)
documentation/sphinx/examples/error_propagation.py:4
↓ 1 callers
Function
f
(x)
documentation/sphinx/examples/first_order_forward.py:36
↓ 1 callers
Function
f
(x,y)
documentation/sphinx/examples/comparison_forward_reverse_mode.py:4
↓ 1 callers
Function
f
(x)
documentation/sphinx/examples/explicit_euler.py:8
↓ 1 callers
Function
f
(x)
documentation/AD_tutorial_TU_Berlin/example5_code_tracing_with_pyadolc.py:2
↓ 1 callers
Function
f
(x)
documentation/AD_tutorial_TU_Berlin/example6_utps_simple_function.py:3
↓ 1 callers
Function
f
(x)
documentation/AD_tutorial_TU_Berlin/example9_explicit_euler.py:4
↓ 1 callers
Function
f
(y)
documentation/examples/error_propagation.py:54
↓ 1 callers
Function
f
(x)
experimental/tests/trash/unit_test_with_sympy_x_as_vector.py:49
↓ 1 callers
Function
f
(x)
experimental/tests/trash/unit_test_with_sympy_x_as_matrix_input.py:35
↓ 1 callers
Function
f
rhs of the ODE
experimental/examples/gradient_of_optimal_experimental_design_objective_function.py:50
↓ 1 callers
Function
f_fcn
(x)
documentation/AD_tutorial_TU_Berlin/example7_simple_computation_of_the_hessian.py:10
↓ 1 callers
Function
factorial
(n)
algopy/exact_interpolation.py:23
↓ 1 callers
Method
fft
(self, n=None, axis=-1)
algopy/tracer/tracer.py:1251
↓ 1 callers
Function
fitfunc
This is the equation
documentation/sphinx/examples/leastsquaresfitting.py:12
↓ 1 callers
Function
floor
(x, out=None, n=0)
algopy/nthderiv/nthderiv.py:308
↓ 1 callers
Method
forwardgradient
(self, x)
documentation/sphinx/speed_comparison/use_algopy.py:50
↓ 1 callers
Method
forwardhessian
(self, x)
documentation/sphinx/speed_comparison/use_algopy.py:57
↓ 1 callers
Function
fullsplit
Split a pathname into components (the opposite of os.path.join) in a platform-neutral way.
setup.py:100
↓ 1 callers
Function
fun
(x)
experimental/performance_tests/profiling_reverse_mode.py:18
↓ 1 callers
Method
function
(self, x)
documentation/sphinx/speed_comparison/use_algopy.py:18
↓ 1 callers
Method
function
computes the function of a function y = f(x_list), where y is a scalar and x_list is a list or tuple of input arguments. The computa
algopy/tracer/tracer.py:177
↓ 1 callers
Method
g
(x)
algopy/utpm/tests/test_utpm.py:444
↓ 1 callers
Function
gamma
Compute gamma(i,j), where gamma(i,j) is define as in Griewanks book in Eqn (13.13)
algopy/exact_interpolation.py:214
↓ 1 callers
Function
gamma
i and j multi-indices
experimental/vector_forward_mode.py:244
↓ 1 callers
Method
gammaln
(cls, x)
algopy/tracer/tracer.py:1302
↓ 1 callers
Function
gauss_solver
(f, jac, x0, tol)
documentation/sphinx/examples/gauss_newton.py:20
↓ 1 callers
Function
generate_Gamma_and_rays
generates a big matrix Gamma with elements gamma(i,j) and rays Parameters ---------- N: int deg: int S: numpy.ndarray with s
algopy/exact_interpolation.py:270
↓ 1 callers
Function
generate_multi_indices
(N,D)
experimental/vector_forward_mode.py:197
↓ 1 callers
Function
generate_permutations
returns a generator for all permutations of a list x = [x1,x2,x3,...] Example:: >>> for perm in generate_permutations([0,1,2]):
algopy/exact_interpolation.py:244
↓ 1 callers
Function
generate_permutations
(in_x)
experimental/vector_forward_mode.py:228
↓ 1 callers
Method
get_ID
return function ID Rationale: When code tracing is active, each Function is added to a Cgraph instance and i
algopy/tracer/tracer.py:719
↓ 1 callers
Function
get_aic
(y, X, theta)
documentation/sphinx/examples/neg_binom_regression.py:20
↓ 1 callers
Function
get_asym_compo
This is an ugly function. Its purpose is to help determine which is the mutant nucleotide type given an ordered pair of background and mu
documentation/sphinx/examples/codon_model.py:477
↓ 1 callers
Function
get_compo
Get a matrix defining site-independent nucleotide composition of codons. @return: integer matrix
documentation/sphinx/examples/codon_model.py:465
↓ 1 callers
Function
get_empirical_summary
Get codon counts and substitution counts. @param ncodons: allowed number of codons @param human_mtdna_ord: human codons converted into in
documentation/sphinx/examples/codon_model.py:523
↓ 1 callers
Function
get_hamming
Get the hamming distance between codons, in {0, 1, 2, 3}. @param codons: sequence of lower case codon strings @return: matrix of hamming
documentation/sphinx/examples/codon_model.py:419
↓ 1 callers
Function
get_lb_expected_subs
Get the lower bound of expected substitutions. This is expected minimum possible number of substitutions between aligned codons.
documentation/sphinx/examples/codon_model.py:498
↓ 1 callers
Function
get_log_likelihood
The stationary distribution of P is empirically derived. It is proportional to the codon counts by construction. @param P: a transition m
documentation/sphinx/examples/codon_model.py:617
↓ 1 callers
Function
get_neg_ll
(y, X, theta)
documentation/sphinx/examples/neg_binom_regression.py:23
↓ 1 callers
Function
get_selection_F
The F and S notation is from Yang and Nielsen 2008. Note that three of the four log nt weights are free parameters. One of the four log w
documentation/sphinx/examples/codon_model.py:552
↓ 1 callers
Function
get_selection_S
The F and S notation is from Yang and Nielsen 2008. Speed matters. @param F: a selection value for each codon, up to an additive constant
documentation/sphinx/examples/codon_model.py:568
↓ 1 callers
Function
get_syn_nonsyn
Get binary matrices defining synonymous or nonynonymous codon pairs. @return: two binary matrices
documentation/sphinx/examples/codon_model.py:451
↓ 1 callers
Function
get_ts_tv
Get binary matrices defining codon pairs differing by single changes. @param codons: sequence of lower case codon strings @return: two bi
documentation/sphinx/examples/codon_model.py:432
↓ 1 callers
Method
gradient
(self, x)
documentation/sphinx/speed_comparison/use_algopy.py:21
↓ 1 callers
Function
gradient_and_hessian_of_Phi
(x)
experimental/examples/newtons_method.py:59
↓ 1 callers
Function
gradient_of_E_PHI
computes the gradient of the expectation of PHI, i.e. grad( E[PHI] ), where E[PHI] is approximated by the method of moments up to moment degree DM
experimental/examples/q-robust-OED.py:217
↓ 1 callers
Function
hessian
(f,in_x)
experimental/vector_forward_mode.py:410
↓ 1 callers
Method
hyperu
(cls, a, b, x)
algopy/tracer/tracer.py:1273
↓ 1 callers
Method
ifft
(self, n=None, axis=-1)
algopy/tracer/tracer.py:1255
↓ 1 callers
Function
implicit_euler
implicit euler with fixed stepsizes, using Newton's method to solve the occuring implicit system of nonlinear equations
documentation/sphinx/examples/implicit_euler.py:14
↓ 1 callers
Method
init_hess_vec
initializes this UTPM instance to compute the Hessian vector product H v, it is possible to force the dtype to a certain dtype, if n
algopy/utpm/utpm.py:1870
↓ 1 callers
Method
init_tensor
initializes this UTPM instance to compute the dth degree derivative tensor, e.g. d=2 is the Hessian
algopy/utpm/utpm.py:1768
↓ 1 callers
Method
initialposition
(self)
documentation/sphinx/examples/hessian_of_potential_function.py:52
↓ 1 callers
Function
inv
(in_A)
experimental/performance_tests/UTPS_vs_UTPM.py:49
↓ 1 callers
Method
iouter
(cls, x, y, out)
algopy/utpm/utpm.py:3122
↓ 1 callers
Method
logit
(cls, x)
algopy/tracer/tracer.py:1318
↓ 1 callers
Method
lu
(self)
algopy/tracer/tracer.py:1169
↓ 1 callers
Method
lu_factor
univariate Taylor arithmetic of scipy.linalg.lu_factor
algopy/utpm/utpm.py:2102
↓ 1 callers
Function
main
()
documentation/sphinx/examples/preferred_nucleotide.py:283
↓ 1 callers
Function
main
()
documentation/sphinx/examples/logistic_regression.py:249
↓ 1 callers
Function
main
()
documentation/sphinx/examples/expm_accuracy.py:270
↓ 1 callers
Function
main
()
documentation/sphinx/examples/matrixexponential.py:131
↓ 1 callers
Function
main
()
documentation/sphinx/examples/neg_binom_regression.py:44
↓ 1 callers
Function
main
()
documentation/sphinx/examples/codon_model.py:681
↓ 1 callers
Function
main
()
documentation/sphinx/examples/minimization/himmelblau_minimization.py:25
↓ 1 callers
Function
main
()
documentation/sphinx/examples/minimization/rosenbrock_banana.py:24
↓ 1 callers
Function
main
()
documentation/sphinx/examples/minimization/wood_function_minimization.py:34
↓ 1 callers
Method
maximum
(cls, x, y)
algopy/utpm/utpm.py:955
↓ 1 callers
Method
minimum
(cls, x, y)
algopy/utpm/utpm.py:943
↓ 1 callers
Method
mul
(cls, x, y , out = None)
algopy/utpm/utpm.py:1412
↓ 1 callers
Function
mult
==========================================================================*/
experimental/ctps/src/ctps.c:761
↓ 1 callers
Function
multi_index_factorial
(i)
algopy/exact_interpolation.py:96
↓ 1 callers
Function
mybinomial
(i,j)
algopy/exact_interpolation.py:116
↓ 1 callers
Function
myqr
(in_A)
experimental/performance_tests/UTPS_vs_UTPM.py:12
↓ 1 callers
Method
neg
(cls, x, out = None)
algopy/utpm/utpm.py:1400
↓ 1 callers
Method
negative
(self)
algopy/tracer/tracer.py:1117
↓ 1 callers
Function
newtons_method
(x0)
experimental/examples/newtons_method.py:97
↓ 1 callers
Method
next
(self)
algopy/_six.py:138
↓ 1 callers
Function
outer
Same as NumPy outer but in UTP arithmetic
algopy/globalfuncs.py:265
↓ 1 callers
Method
outer
(cls, lhs,rhs)
algopy/tracer/tracer.py:1153
↓ 1 callers
Method
pb___add__
(cls, zbar, x, y , z, out = None)
algopy/utpm/utpm.py:2295
↓ 1 callers
Method
pb___getitem__
y = getitem(x, sl) Warning: this includes a workaround for tuples, e.g. for Q,R = qr(A) where A,Q,R are Function obj
algopy/utpm/utpm.py:157
← previous
next →
501–600 of 1,636, ranked by callers