MCPcopy Create free account

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 6 callersFunctionexpr_key
Build a hashable structural key for an Expression subtree. Variables/Parameters key by their ``.id`` (same source leaf -> same key). Constant
cvxpy/reductions/subexpr_cache.py:81
↓ 6 callersFunctionfloat2half
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/PacketMathHalf.h:447
↓ 6 callersMethodfront
(self)
cvxpy/cvxcore/python/cvxcore.py:335
↓ 6 callersFunctiongershgorin_psd_check
Use the Gershgorin Circle Theorem https://en.wikipedia.org/wiki/Gershgorin_circle_theorem As a sufficient condition for A being PSD
cvxpy/utilities/linalg.py:141
↓ 6 callersFunctionget_constant_data
* Returns the matrix stored in the data field of LIN as a sparse eigen matrix * If COLUMN is true, the matrix is reshaped into a column vector which
cvxpy/cvxcore/src/LinOpOperations.cpp:270
↓ 6 callersFunctionget_coords
(c)
cvxpy/utilities/coo_array_compat.py:21
↓ 6 callersMethodget_spacing_matrix
Returns a sparse matrix that spaces out an expression. Parameters ---------- shape : tuple (rows in matrix, colum
cvxpy/reductions/solvers/conic_solvers/conic_solver.py:128
↓ 6 callersMethodget_state
(self, name)
cvxpy/tests/test_scopes.py:26
↓ 6 callersMethodgradient
Returns the gradient of the objective with respect to x.
cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py:197
↓ 6 callersMethodhas_constraints
Whether the problem will have constraints after canonicalization.
cvxpy/problems/problem_form.py:326
↓ 6 callersMethodinnerSize
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:61
↓ 6 callersFunctionis_batch_varying
Check if constant has batch dimensions with product > 1. A batch-varying constant has different values for each batch element, requiring
cvxpy/lin_ops/backends/base.py:134
↓ 6 callersMethodis_dpp
Check that the variable is DPP in the given context.
cvxpy/expressions/variable.py:115
↓ 6 callersFunctionis_power2
Test if num is a positive integer power of 2. .. note:: Fails if num is a np.integer type like np.int32, np.int64, etc. This see
cvxpy/utilities/power_tools.py:152
↓ 6 callersMethodis_psd
Check a *sufficient condition* that the expression is PSD, by checking if both arguments are PSD or both are NSD.
cvxpy/atoms/affine/kron.py:88
↓ 6 callersMethodis_sparse
cvxpy/cvxcore/src/LinOp.hpp:90
↓ 6 callersFunctionlog
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:458
↓ 6 callersFunctionlt_mask
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:174
↓ 6 callersMethodmatrixQ
\returns an expression of the matrix Q as products of sparse Householder reflectors. * The common usage of this function is to apply it to a dense
cvxpy/cvxcore/include/Eigen/src/SparseQR/SparseQR.h:186
↓ 6 callersMethodmatrixU
\returns an expression of the matrix U, * The only operation available with this expression is the triangular solve * \code * y = b;
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:253
↓ 6 callersMethodnonZerosEstimate
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseVector.h:430
↓ 6 callersFunctionnot_equal_strict
cvxpy/cvxcore/include/Eigen/src/Core/util/Meta.h:797
↓ 6 callersMethodnumeric
Returns the largest entry in x.
cvxpy/atoms/max.py:46
↓ 6 callersMethodobjective_forward
Evaluate objective. Returns obj_value float.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:80
↓ 6 callersFunctionouterStride
\returns the outer-stride of the underlying dense matrix * \sa DenseCoeffsBase::outerStride() */
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:371
↓ 6 callersFunctionpexp_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:437
↓ 6 callersFunctionpor
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/PacketMath.h:1512
↓ 6 callersFunctionpredux_half_dowto4
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:710
↓ 6 callersFunctionpredux_max
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:905
↓ 6 callersFunctionpredux_min
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:890
↓ 6 callersFunctionptranspose
cvxpy/cvxcore/include/Eigen/src/Core/arch/AltiVec/Complex.h:224
↓ 6 callersFunctionpxor
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/PacketMath.h:1517
↓ 6 callersFunctionrowIndexByOuterInner
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:692
↓ 6 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/Core/Reshaped.h:177
↓ 6 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:284
↓ 6 callersFunctionsmart_memmove
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:539
↓ 6 callersMethodsparseView
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:226
↓ 6 callersMethodstore
cvxpy/cvxcore/include/Eigen/src/Core/util/BlasUtil.h:122
↓ 6 callersFunctionsum_expr
Add linear operators. Parameters ---------- operators : list A list of linear operators. Returns ------- LinOp
cvxpy/lin_ops/lin_utils.py:159
↓ 6 callersMethodsupToCol
* Return the array of supernode-to-column mapping */
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:141
↓ 6 callersMethodtest_lp_6
(solver, places: int = 4, duals: bool = True, **kwargs)
cvxpy/tests/solver_test_helpers.py:1191
↓ 6 callersMethodtest_sdp_2
(self, places=4)
cvxpy/tests/test_KKT.py:122
↓ 6 callersFunctionto_int
Convert everything but None to an int.
cvxpy/utilities/key_utils.py:105
↓ 6 callersMethodtranspose
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrixBase.h:354
↓ 6 callersMethodtwistedBy
\returns an expression of P H P^-1 where H is the matrix represented by \c *this */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrixBase.h:329
↓ 6 callersMethodunpack_results
Updates the problem state given the solver results. Updates problem.status, problem.value and value of primal and dual variables.
cvxpy/problems/problem.py:1422
↓ 6 callersMethodupper_tri
Given (A, b) in view, select the rows corresponding to the elements above the diagonal in the original expression. Note: The
cvxpy/lin_ops/backends/base.py:882
↓ 6 callersMethodvalue
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDenseProduct.h:265
↓ 6 callersFunctionviewAsCholmod
cvxpy/cvxcore/include/Eigen/src/CholmodSupport/CholmodSupport.h:58
↓ 5 callersFunctionSWIG_Python_str_FromChar
cvxpy/cvxcore/python/cvxcore_wrap.cxx:860
↓ 5 callersFunctionSwigPyObject_Check
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1851
↓ 5 callersMethod_grad
Gives the (sub/super)gradient of the atom w.r.t. each argument. Matrix expressions are vectorized, so the gradient is a matrix. Args
cvxpy/atoms/max.py:51
↓ 5 callersMethod_has_lower_bounds
Does the variable have lower bounds?
cvxpy/expressions/leaf.py:320
↓ 5 callersMethod_has_upper_bounds
Does the variable have upper bounds?
cvxpy/expressions/leaf.py:335
↓ 5 callersMethod_is_commercial
(self, solver)
cvxpy/tests/test_problem_form.py:184
↓ 5 callersMethod_is_real
(self)
cvxpy/atoms/atom.py:349
↓ 5 callersFunction_lower_problem
Evaluates lazy constraints.
cvxpy/reductions/solvers/bisection.py:25
↓ 5 callersFunction_to_scalar_shape
Reshape expression to scalar form (1,) for SOC constructor.
cvxpy/reductions/cone2cone/soc_dim3.py:111
↓ 5 callersMethod_value_impl
(self)
cvxpy/atoms/atom.py:456
↓ 5 callersMethodadjoint
\brief Adjoint (conjugate transpose) of the Householder sequence. */
cvxpy/cvxcore/include/Eigen/src/Householder/HouseholderSequence.h:266
↓ 5 callersMethodappend
cvxpy/cvxcore/include/Eigen/src/SparseCore/CompressedStorage.h:101
↓ 5 callersMethodbroadcast
Broadcast the binary operator.
cvxpy/expressions/expression.py:731
↓ 5 callersMethodcan_solve
Check if this solver can handle a problem with the given structure. Parameters ---------- problem_form : ProblemForm
cvxpy/reductions/solvers/solver.py:144
↓ 5 callersMethodclear
* Empty the pointer list */
cvxpy/cvxcore/include/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h:323
↓ 5 callersFunctioncoeff
\sa MatrixBase::coeff() * \warning the coordinates must fit into the referenced triangular part */
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:417
↓ 5 callersMethodcoeff
cvxpy/cvxcore/include/Eigen/src/Core/Visitor.h:86
↓ 5 callersMethodcoeffByOuterInner
cvxpy/cvxcore/include/Eigen/src/Core/Redux.h:380
↓ 5 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/Core/Block.h:219
↓ 5 callersMethodcombine_potentially_none
Adds the tensor a to b if they are both not none. If a (b) is not None but b (a) is None, returns a (b). Returns None if both
cvxpy/lin_ops/backends/base.py:337
↓ 5 callersMethodconstraints
Returns the constraint values.
cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py:201
↓ 5 callersFunctionconstruct_elements_of_array
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:295
↓ 5 callersMethoddiagonalSize
\returns the size of the main diagonal, which is min(rows(),cols()). * \sa rows(), cols(), SizeAtCompileTime. */
cvxpy/cvxcore/include/Eigen/src/Core/MatrixBase.h:101
↓ 5 callersFunctioneigen_pastix
cvxpy/cvxcore/include/Eigen/src/PaStiXSupport/PaStiXSupport.h:67
↓ 5 callersMethodevalTo
cvxpy/cvxcore/include/Eigen/src/Geometry/Homogeneous.h:272
↓ 5 callersFunctionexp
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:451
↓ 5 callersMethodextractData
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:706
↓ 5 callersMethodfrom_stacked_sparse
Convert from stacked sparse matrix.
cvxpy/lin_ops/backends/coo_backend.py:158
↓ 5 callersFunctionget_canon_backend
This function checks if the problem has expressions of dimension greater than 2 or if it lacks C++ support, then raises a warning if the defa
cvxpy/reductions/solvers/solving_chain_utils.py:9
↓ 5 callersMethodget_simple_problem
Example problem that can be used within additional tests.
cvxpy/tests/test_conic_solvers.py:2561
↓ 5 callersFunctionhypot
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1331
↓ 5 callersMethodindex
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:208
↓ 5 callersMethodinnerNonZeroPtr
\returns a const pointer to the array of the number of non zeros of the inner vectors. * This function is aimed at interoperability with other l
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:177
↓ 5 callersMethodinvert
Returns the solution to the original problem given the inverse_data.
cvxpy/reductions/solvers/conic_solvers/clarabel_conif.py:122
↓ 5 callersMethodis_atom_smooth
Is the atom smooth?
cvxpy/atoms/atom.py:191
↓ 5 callersMethodis_complex
Is the Leaf complex valued?
cvxpy/expressions/constants/constant.py:179
↓ 5 callersMethodis_concave
Is the expression concave?
cvxpy/expressions/expression.py:364
↓ 5 callersMethodis_convex
Is the expression convex?
cvxpy/expressions/expression.py:358
↓ 5 callersMethodis_log_log_concave
Is the expression log-log concave?
cvxpy/atoms/atom.py:328
↓ 5 callersMethodis_log_log_concave
Is the expression log-log concave?
cvxpy/expressions/expression.py:432
↓ 5 callersMethodis_log_log_constant
Is the expression log-log constant, ie, elementwise positive?
cvxpy/expressions/expression.py:407
↓ 5 callersMethodis_log_log_convex
Is the expression log-log convex?
cvxpy/atoms/atom.py:311
↓ 5 callersMethodis_log_log_convex
Is the expression log-log convex?
cvxpy/expressions/expression.py:426
↓ 5 callersMethodis_nsd
Check a *sufficient condition* that the expression is NSD, by checking if one argument is PSD and the other is NSD.
cvxpy/atoms/affine/kron.py:96
↓ 5 callersMethodis_pos
Is the expression positive?
cvxpy/expressions/leaf.py:294
↓ 5 callersMethodkill_principal
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:173
↓ 5 callersMethodloadRhsQuad
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:494
↓ 5 callersFunctionlog1p
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:465
↓ 5 callersFunctionlower_bound
Return a lower bound on the number of cones needed to represent the tuple. Based on two simple lower bounds. Examples -------- >
cvxpy/utilities/power_tools.py:666
↓ 5 callersFunctionlower_value
Extract the reduced representation of a leaf's value. Args: variable: The leaf whose attributes determine the reduction. value: I
cvxpy/reductions/cvx_attr2constr.py:104
↓ 5 callersFunctionm_rows
cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h:362
← previousnext →701–800 of 13,519, ranked by callers