MCPcopy Create free account

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 3 callersFunctionshuffle
fuctionally equivalent to _mm_shuffle_pd in SSE (i.e. shuffle(m, n, mask) equals _mm_shuffle_pd(m,n,mask)) Currently used in LU/arch/InverseSize4.h to
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:3655
↓ 3 callersMethodsign_from_args
Returns sign (is positive, is negative) of the expression.
cvxpy/atoms/max.py:82
↓ 3 callersFunctionslice_adjust
cvxpy/cvxcore/python/cvxcore_wrap.cxx:5048
↓ 3 callersMethodsolve
Solve the problem and return a Solution object.
cvxpy/reductions/solvers/solver.py:171
↓ 3 callersMethodsolve_example_mixed_integer_qp
(solver)
cvxpy/tests/test_custom_solver.py:88
↓ 3 callersFunctionsolve_sparse_through_dense_panels
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseSolverBase.h:22
↓ 3 callersMethodsolve_via_data
Returns the result of the call to the solver. Parameters ---------- data : dict Data generated via an apply call.
cvxpy/reductions/solvers/conic_solvers/scs_conif.py:218
↓ 3 callersMethodsplit_solution
Splits the solution into individual variables.
cvxpy/reductions/dcp2cone/cone_matrix_stuffing.py:305
↓ 3 callersMethodsquaredNorm
\returns the squared norm of the quaternion's coefficients * \sa QuaternionBase::norm(), MatrixBase::squaredNorm() */
cvxpy/cvxcore/include/Eigen/src/Geometry/Quaternion.h:120
↓ 3 callersMethodsquaredNorm
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDot.h:76
↓ 3 callersMethodstartCol
cvxpy/cvxcore/include/Eigen/src/Core/Block.h:313
↓ 3 callersMethodstartRow
cvxpy/cvxcore/include/Eigen/src/Core/Block.h:307
↓ 3 callersMethodstride
cvxpy/cvxcore/include/Eigen/src/Core/util/BlasUtil.h:216
↓ 3 callersMethodsum
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseRedux.h:16
↓ 3 callersMethodtensor_type
Returns the type of the underlying tensor
cvxpy/lin_ops/backends/base.py:452
↓ 3 callersMethodtest_mi_lp_4
(solver, places: int = 4, **kwargs)
cvxpy/tests/solver_test_helpers.py:1267
↓ 3 callersMethodtest_sdp_batched
(solver, places: int = 3, duals: bool = True, **kwargs)
cvxpy/tests/solver_test_helpers.py:1443
↓ 3 callersMethodtest_sdp_pcp_1
(solver, places: int = 3, duals: bool = False, **kwargs)
cvxpy/tests/solver_test_helpers.py:1483
↓ 3 callersFunctionto_dense_float
Convert a value to a dense float64 numpy array.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/helpers.py:29
↓ 3 callersFunctionto_tuple
Convert key to tuple if necessary.
cvxpy/utilities/key_utils.py:59
↓ 3 callersMethodtrace
cvxpy/cvxcore/include/Eigen/src/Core/Redux.h:507
↓ 3 callersFunctiontypecode_string
Given a NumPy typecode, return a string describing the type. */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3975
↓ 3 callersFunctionumfpack_free_symbolic
Free symbolic
cvxpy/cvxcore/include/Eigen/src/UmfPackSupport/UmfPackSupport.h:96
↓ 3 callersMethoduncompress
Turns the matrix into the uncompressed mode */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:498
↓ 3 callersMethodupdateRhs
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:485
↓ 3 callersFunctionupper_tri_to_full
Returns a coefficient matrix A that creates a symmetric matrix when multiplied with a variable vector v. That is, (A @ v).reshape((n, n))
cvxpy/atoms/affine/upper_tri.py:151
↓ 3 callersFunctionvalidate_column_name
Check if the name is a valid column name.
cvxpy/reductions/solvers/conic_solvers/highs_conif.py:46
↓ 3 callersMethodvariables
(self)
cvxpy/atoms/suppfunc.py:35
↓ 2 callersFunctionSA_eigsh
(sigma)
cvxpy/utilities/linalg.py:87
↓ 2 callersFunctionSWIG_AsVal_unsigned_SS_long
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3600
↓ 2 callersFunctionSWIG_From_ptrdiff_t
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3742
↓ 2 callersFunctionSWIG_PackData
Pack binary data into a string */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:689
↓ 2 callersFunctionSWIG_PackDataName
cvxpy/cvxcore/python/cvxcore_wrap.cxx:757
↓ 2 callersFunctionSWIG_TypeCast
Cast a pointer up an inheritance hierarchy */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:533
↓ 2 callersFunctionSWIG_TypeClientData
Set the clientdata field for a type */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:585
↓ 2 callersFunctionSWIG_TypePrettyName
Return the pretty name associated with this type, that is an unmangled type name in a form presentable to the user. */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:564
↓ 2 callersFunctionSWIG_UnpackData
Unpack binary data from a string */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:705
↓ 2 callersFunctionSWIG_globals
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1572
↓ 2 callersFunctionSwigPyObject_New
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2173
↓ 2 callersFunctionSwigPyObject_format
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1737
↓ 2 callersFunctionSwigPyPacked_Check
cvxpy/cvxcore/python/cvxcore_wrap.cxx:2245
↓ 2 callersFunction_EIGEN_DECLARE_CONST_FAST_Packet4f
These constants are endian-agnostic
cvxpy/cvxcore/include/Eigen/src/Core/arch/AltiVec/PacketMath.h:77
↓ 2 callersMethod__init__
(self, expr, constr_id=None)
cvxpy/constraints/nonpos.py:55
↓ 2 callersMethod__init__
(self, x: Expression, y: Expression, z: Expression, constr_id=None)
cvxpy/constraints/exponential.py:59
↓ 2 callersMethod__init__
(self, x)
cvxpy/atoms/elementwise/trig.py:27
↓ 2 callersMethod__init__
Parameters ---------- data : str String with lines separated by '\n'.
doc/sphinxext/docscrape.py:34
↓ 2 callersMethod__rmatmul__
Expression : Called for matrix @ Expression.
cvxpy/expressions/expression.py:888
↓ 2 callersMethod__setattr__
(self, name, value)
doc/source/conf.py:61
↓ 2 callersMethod_aggregate_metrics
Aggregates and caches metrics for expression trees in self.args. So far metrics include the maximum dimensionality ('max_ndim') and w
cvxpy/utilities/canonical.py:174
↓ 2 callersFunction_all_zero_or_inf
Check if all values are 0 or inf, sparse-aware (O(nnz) for sparse).
cvxpy/utilities/bounds.py:99
↓ 2 callersFunction_any_isnan
Check if any values are NaN, sparse-aware (O(nnz) for sparse).
cvxpy/utilities/bounds.py:90
↓ 2 callersMethod_bound_domain
A utility function to append constraints from lower and upper bounds. Parameters ---------- term: The term to encode in the c
cvxpy/expressions/leaf.py:350
↓ 2 callersFunction_bound_selector
(num_rows, num_cols, cols, value)
cvxpy/reductions/solvers/conic_solvers/copt_conif.py:54
↓ 2 callersFunction_broadcast_one
(arr, shape)
cvxpy/utilities/bounds.py:677
↓ 2 callersFunction_build_interleaved_matrix_mul
Build the interleaved matrix for batch-varying constant case. For C (..., m, k) @ X (..., k, n), builds I_n ⊗ M_interleaved where: M_int
cvxpy/lin_ops/backends/scipy_backend.py:37
↓ 2 callersFunction_build_interleaved_matrix_rmul
Build the interleaved matrix for batch-varying rmul case. For X (..., m, k) @ C (..., k, n), builds M_interleaved ⊗ I_m where: M_interle
cvxpy/lin_ops/backends/scipy_backend.py:164
↓ 2 callersFunction_build_interleaved_mul
Build interleaved matrix for batch-varying mul (C @ X). This handles the case where each batch element uses a DIFFERENT constant matrix:
cvxpy/lin_ops/backends/coo_backend.py:621
↓ 2 callersFunction_build_interleaved_param_mul
Build the interleaved matrix for a batch-varying parametric constant (C @ X). Parametric analogue of _build_interleaved_mul: C(B,m,k) @ X(B,
cvxpy/lin_ops/backends/coo_backend.py:759
↓ 2 callersFunction_build_interleaved_param_rmul
Build the interleaved matrix for a batch-varying parametric constant (X @ C). Parametric analogue of _build_interleaved_rmul: X(B,m,k) @ C(B
cvxpy/lin_ops/backends/coo_backend.py:1038
↓ 2 callersFunction_build_interleaved_rmul
Build interleaved matrix for batch-varying rmul case. This handles the case where each batch element uses a DIFFERENT constant matrix: X
cvxpy/lin_ops/backends/coo_backend.py:897
↓ 2 callersMethod_canonicalize_constraint
Recursively canonicalize a constraint. The DQCP grammar has expresions of the form INCR* QCVX DCP and DECR
cvxpy/reductions/dqcp2dcp/dqcp2dcp.py:146
↓ 2 callersMethod_check_dpp_args
Check if args satisfy DPP requirements for quad_form. For DPP with parametric P (in quad_form_dpp_scope): - x must be param-free (avo
cvxpy/atoms/quad_form.py:64
↓ 2 callersMethod_column_grad
Gives the (sub/super)gradient of the atom w.r.t. a column argument. Matrix expressions are vectorized, so the gradient is a matrix.
cvxpy/atoms/axis_atom.py:199
↓ 2 callersFunction_compose_id_map
Compose a sequence of ``{old_id: [new_id, ...]}`` mappings. Each step map comes from a reduction's ``var_id_map`` or ``param_id_map``. The r
cvxpy/reductions/chain.py:5
↓ 2 callersFunction_compute_numerical_jacobian
Compute numerical Jacobian via central finite differences. Parameters ---------- eval_func : callable Function that takes a
cvxpy/tests/test_grad.py:50
↓ 2 callersMethod_compute_symm_attr
Determine whether the constant is symmetric/Hermitian.
cvxpy/expressions/constants/constant.py:223
↓ 2 callersFunction_dense_ldl_factor
Fallback factor via dense pivoted LDL (Bunch-Kaufman, ``scipy.linalg.ldl``). Used when QDLDL cannot factor the matrix — either because it throws
cvxpy/utilities/linalg.py:223
↓ 2 callersFunction_expr_cone_atoms
Collect atom types needing conic canonicalization from an expression. Unlike ``_objective_cone_atoms``, this does not apply QP-path filtering.
cvxpy/problems/problem_form.py:110
↓ 2 callersFunction_find_atoms
Return all atoms of ``atom_cls`` reachable from ``expr.args``.
cvxpy/tests/test_dcp2cone_cse.py:32
↓ 2 callersFunction_flatten_dual
Flatten a dual value to 1D array for comparison. Normalizes both [t, X] format and flat array format to a consistent ordering: [t0, x0..., t1
cvxpy/tests/test_soc_dim3.py:61
↓ 2 callersMethod_format_block
Formats the block for block_add. Args: matrix: The matrix the block will be added to. block: The matrix/scalar to be
cvxpy/interface/base_matrix_interface.py:116
↓ 2 callersMethod_format_child
(self, child, use_labels: bool = False)
cvxpy/atoms/elementwise/logic.py:137
↓ 2 callersMethod_get_args_from_values
(values: list[np.ndarray])
cvxpy/atoms/dotsort.py:141
↓ 2 callersMethod_get_attr_str
Get a string representing the attributes.
cvxpy/expressions/leaf.py:196
↓ 2 callersFunction_get_lazy_and_real_constraints
(constraints)
cvxpy/reductions/dqcp2dcp/dqcp2dcp.py:53
↓ 2 callersFunction_has_unsupported_cones
Check if cone dimensions contain cones unsupported by QP solvers.
cvxpy/reductions/solvers/qp_solvers/qp_solver.py:28
↓ 2 callersFunction_is_point
(lb, ub)
cvxpy/utilities/bounds.py:774
↓ 2 callersFunction_kron_eye_r
Apply Kronecker product kron(I_reps, A) to a CooTensor. For a tensor with shape (m, k), this produces a tensor with shape (m*reps, k*reps)
cvxpy/lin_ops/backends/coo_backend.py:413
↓ 2 callersMethod_kron_impl
Unified Kronecker product implementation. If const_on_left=True: computes kron(constant, variable) If const_on_left=False: c
cvxpy/lin_ops/backends/coo_backend.py:2505
↓ 2 callersMethod_log_scipy_method_warning
(self, meth)
cvxpy/reductions/solvers/conic_solvers/scipy_conif.py:245
↓ 2 callersMethod_log_transform_bound
Transform a DGP bound to log-space. For a DGP variable x = exp(t), the bound value ``b`` in the positive domain maps to ``log(b)`` in
cvxpy/reductions/dgp2dcp/canonicalizers/__init__.py:126
↓ 2 callersFunction_minimal_ext_cmd
(cmd)
setup/versioning.py:44
↓ 2 callersFunction_parse_possible_contraction
Compute the cost (removed size + flops) and resultant indices for performing the contraction specified by ``positions``. Parameters -----
cvxpy/utilities/einsum_utilities.py:248
↓ 2 callersFunction_pnorm_p2_canon
Handle p == 2 case via SOC directly (shared by exact and approx).
cvxpy/reductions/dcp2cone/canonicalizers/pnorm_canon.py:36
↓ 2 callersMethod_quadratic_power
Utility function to check if power is 0, 1 or 2.
cvxpy/atoms/elementwise/power.py:364
↓ 2 callersMethod_random_psd
(self, n, rng)
cvxpy/tests/test_cone2cone.py:956
↓ 2 callersMethod_read_to_next_section
(self)
doc/sphinxext/docscrape.py:164
↓ 2 callersFunction_reconstruct_soc_dual
Reconstruct the original SOC dual from decomposed cone duals.
cvxpy/reductions/cone2cone/soc_dim3.py:374
↓ 2 callersMethod_reshape_single_constant_tensor
Reshape constant data from column format to matrix format. Dispatches to specialized functions based on whether data is parametric.
cvxpy/lin_ops/backends/scipy_backend.py:424
↓ 2 callersMethod_socp_3
(self, axis)
cvxpy/tests/test_cone2cone.py:168
↓ 2 callersMethod_solve_impl
cvxpy/cvxcore/include/Eigen/src/Cholesky/LLT.h:485
↓ 2 callersMethod_solve_problem
(self, problem, solver_name, **kwargs)
cvxpy/tests/test_qp_solvers.py:144
↓ 2 callersFunction_sparse_sum
Sum a sparse array, handling keepdims which scipy doesn't support.
cvxpy/utilities/bounds.py:191
↓ 2 callersFunction_sparse_triu_ones
Create a sparse upper triangular matrix of ones. This avoids allocating a dense dim x dim matrix. Used for cumsum gradient in CVXPY's convent
cvxpy/atoms/affine/cumsum.py:27
↓ 2 callersMethod_str_indent
(self, doc, indent=4)
doc/sphinxext/docscrape.py:320
↓ 2 callersMethod_str_param_list
(self, name)
doc/sphinxext/docscrape.py:344
↓ 2 callersMethod_str_section
(self, name)
doc/sphinxext/docscrape.py:354
↓ 2 callersMethod_str_section
(self, name)
doc/sphinxext/docscrape_sphinx.py:119
↓ 2 callersMethod_transpose_helper
2D matrix transpose (swap rows and cols). Internal helper for matrix operations like rmul. Not for ND linop transpose.
cvxpy/lin_ops/backends/coo_backend.py:378
↓ 2 callersMethod_validate_dgp_attrs
Check for unsupported DGP attributes and return supported ones. Raises ValueError if the leaf uses an attribute that DGP cannot enforce
cvxpy/reductions/dgp2dcp/canonicalizers/__init__.py:165
← previousnext →1,201–1,300 of 13,519, ranked by callers