MCPcopy Index your code

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 54 callersMethodouterIndexPtr
\returns a const pointer to the array of the starting positions of the inner vectors. * This function is aimed at interoperability with other li
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:168
↓ 52 callersMethodconj
Equivalent to `cp.conj(self)`.
cvxpy/expressions/expression.py:1026
↓ 52 callersMethodformat_labeled
Format atom with labels, mirroring name() where safe. - If this atom or any ancestor has set a label, return it. - If the subclass di
cvxpy/atoms/atom.py:70
↓ 51 callersFunctionabs2
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1286
↓ 51 callersMethodcheck_complementarity
(self, places)
cvxpy/tests/solver_test_helpers.py:101
↓ 51 callersMethodis_nonneg
Is the expression nonnegative?
cvxpy/atoms/atom.py:149
↓ 51 callersMethodmin
Equivalent to `cp.min(self, axis, keepdims)`.
cvxpy/expressions/expression.py:1061
↓ 51 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:58
↓ 50 callersMethodcoeffs
\returns a read-only view of the stored coefficients as a 1D array expression. * * \warning this method is for \b compressed \b storage \b
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseCompressedBase.h:114
↓ 50 callersFunctionpand
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h:1050
↓ 50 callersMethodpmadd
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/ConjHelper.h:66
↓ 49 callersMethodcast_to_const
Converts a non-Expression to a Constant.
cvxpy/expressions/expression.py:718
↓ 49 callersMethoddata
cvxpy/cvxcore/include/Eigen/src/Core/util/BlasUtil.h:217
↓ 49 callersFunctionpsub
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:221
↓ 48 callersMethoddiagonal
cvxpy/cvxcore/include/Eigen/src/Core/Diagonal.h:186
↓ 48 callersMethodget
(self, reduction_type)
cvxpy/reductions/chain.py:45
↓ 48 callersMethodpush_back
(self, x)
cvxpy/cvxcore/python/cvxcore.py:332
↓ 47 callersMethodget_empty_view
Return a TensorView that has shape information, but no data.
cvxpy/lin_ops/backends/base.py:346
↓ 47 callersMethodmatrix
cvxpy/cvxcore/include/Eigen/src/Geometry/RotationBase.h:50
↓ 46 callersFunctionfailure_solution
Factory function for infeasible or unbounded solutions. Parameters ---------- status : str The problem status. attr : dict
cvxpy/reductions/solution.py:30
↓ 46 callersFunctionpstore
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:595
↓ 45 callersFunctionSWIG_AsVal_int
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3898
↓ 45 callersMethodis_hermitian
Is the Leaf hermitian?
cvxpy/expressions/leaf.py:302
↓ 45 callersMethodpop
(self)
cvxpy/cvxcore/python/cvxcore.py:290
↓ 44 callersMethodempty
(self)
cvxpy/cvxcore/python/cvxcore.py:296
↓ 44 callersMethodget_bounds
Returns the bounds on the expression. Indicator is 0 if constraints hold, +inf otherwise.
cvxpy/transforms/indicator.py:102
↓ 44 callersMethodsetZero
cvxpy/cvxcore/include/Eigen/src/SparseCore/AmbiVector.h:171
↓ 43 callersMethodgetSubMapper
cvxpy/cvxcore/include/Eigen/src/Core/util/BlasUtil.h:276
↓ 43 callersMethodprocess_constraint
Depth-first parsing of a linOp node. Parameters ---------- lin_op: a node in the linOp tree. empty_view: Ten
cvxpy/lin_ops/backends/base.py:518
↓ 42 callersMethodset_label
Set a custom label for this constraint. This method exists alongside the property setter (con.label = "name") to enable method chaini
cvxpy/constraints/constraint.py:91
↓ 42 callersMethodsum
cvxpy/cvxcore/include/Eigen/src/Core/Redux.h:458
↓ 41 callersFunctionBf16ToF32
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:3414
↓ 41 callersFunctionSWIG_From_int
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3891
↓ 41 callersFunction_eval
Solve a feasibility problem and return the value of expr via y == expr.
cvxpy/tests/test_logic.py:24
↓ 41 callersMethodapply
Applies the chain to a problem and returns an equivalent problem. Parameters ---------- problem : Problem The pro
cvxpy/reductions/chain.py:75
↓ 41 callersMethodcheck_primal_feasibility
(self, places)
cvxpy/tests/solver_test_helpers.py:41
↓ 41 callersMethodis_nonneg
Is the expression positive?
cvxpy/transforms/indicator.py:71
↓ 41 callersMethodis_symmetric
Is the Leaf symmetric?
cvxpy/expressions/leaf.py:307
↓ 40 callersMethod__matmul__
Expression : Matrix multiplication of two expressions.
cvxpy/expressions/expression.py:836
↓ 40 callersMethodassertExpression
Asserts that expr is an Expression with dimension shape.
cvxpy/tests/test_matrices.py:30
↓ 40 callersMethodend
(self)
cvxpy/cvxcore/python/cvxcore.py:308
↓ 40 callersMethodis_nonpos
Is the expression nonpositive?
cvxpy/atoms/atom.py:155
↓ 40 callersMethodis_scalar
Is the expression a scalar?
cvxpy/expressions/expression.py:627
↓ 40 callersMethodouterSize
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:62
↓ 40 callersFunctionpredux
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:874
↓ 40 callersMethodvaluePtr
\returns a const pointer to the array of values. * This function is aimed at interoperability with other libraries. * \sa innerIndexPtr(),
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:150
↓ 39 callersMethodconst_to_matrix
(self, value, convert_scalars: bool = False)
cvxpy/tests/test_base_classes.py:32
↓ 39 callersFunctionreal_ref
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1236
↓ 39 callersMethodswap
cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h:259
↓ 39 callersMethodvariables
Accessor method for variables. Returns ------- list of :class:`~cvxpy.expressions.variable.Variable` A list of th
cvxpy/problems/problem.py:456
↓ 38 callersFunctionF32ToBf16
Convert float to bfloat16 according to round-to-nearest-even/denormals algorithm.
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h:1274
↓ 38 callersMethodinitAcc
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:468
↓ 38 callersFunctionpstoreu
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:600
↓ 38 callersMethodsave_value
(self, val, sparse_path=False)
cvxpy/expressions/leaf.py:517
↓ 38 callersMethodvariables
Returns the variables in the problem.
cvxpy/transforms/partial_optimize.py:210
↓ 37 callersMethodassertAlmostEqual
(self, a, b, places: int = 2)
cvxpy/tests/test_conic_solvers.py:175
↓ 37 callersMethodbroadcast_to
Broadcast view to a new shape.
cvxpy/lin_ops/backends/base.py:713
↓ 37 callersMethodget_param_slice
Returns a single slice of the tensor for a given parameter offset.
cvxpy/lin_ops/backends/base.py:248
↓ 37 callersMethodinnerIndexPtr
\returns a const pointer to the array of inner indices. * This function is aimed at interoperability with other libraries. * \sa valuePtr(
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:159
↓ 37 callersMethodparameters
(self)
cvxpy/atoms/gmatmul.py:111
↓ 37 callersFunctionpor
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h:1042
↓ 37 callersMethodrow
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:173
↓ 36 callersMethodcheck_dual_domains
(self, places)
cvxpy/tests/solver_test_helpers.py:70
↓ 36 callersFunctioncoeff
cvxpy/cvxcore/include/Eigen/src/Core/Select.h:75
↓ 36 callersFunctionvec4f_swizzle1
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:113
↓ 35 callersMethodacc
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:533
↓ 35 callersMethodapplyOnTheRight
cvxpy/cvxcore/include/Eigen/src/Jacobi/Jacobi.h:310
↓ 35 callersMethodassertItemsAlmostEqual
(self, a, b, places: int = 2)
cvxpy/tests/test_conic_solvers.py:171
↓ 35 callersFunctionpselect
cvxpy/cvxcore/include/Eigen/src/Core/arch/SSE/PacketMath.h:377
↓ 34 callersFunctioncombine_half
This is equivalent to make_half2, which is undocumented and doesn't seem to always exist.
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:531
↓ 34 callersFunctionei_declare_aligned_stack_constructed_variable
cvxpy/cvxcore/include/Eigen/src/SparseCore/ConservativeSparseSparseProduct.h:29
↓ 34 callersMethodis_convex
Is the expression convex?
cvxpy/transforms/indicator.py:49
↓ 34 callersMethodis_dpp
Does the problem satisfy DPP rules? DPP is a mild restriction of DGP. When a problem involving Parameters is DPP, subsequent solves c
cvxpy/problems/problem.py:347
↓ 34 callersMethodquad_over_lin
(self, solver)
cvxpy/tests/test_qp_solvers.py:176
↓ 33 callersFunctioncall_assignment_no_alias
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:872
↓ 33 callersFunctionconvert_index
cvxpy/cvxcore/include/Eigen/src/Core/util/XprHelper.h:30
↓ 33 callersMethodcumsum
Equivalent to `cp.cumsum(self, axis)`.
cvxpy/expressions/expression.py:1040
↓ 33 callersFunctionget_half2_low
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:540
↓ 33 callersFunctionpmadd
cvxpy/cvxcore/include/Eigen/src/Core/arch/MSA/PacketMath.h:260
↓ 33 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/CholmodSupport/CholmodSupport.h:259
↓ 33 callersFunctionwarn
Issue a warning that appears to originate from user code. Walks up the call stack from the caller until a frame outside the cvxpy package (or
cvxpy/utilities/warn.py:61
↓ 32 callersFunctionBf16ToF32
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/PacketMath.h:1940
↓ 32 callersFunctionBf16ToF32
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h:1260
↓ 32 callersMethodaccepts
A problem is accepted if the sequence of reductions is valid. In particular, the i-th reduction must accept the output of the i-1th r
cvxpy/reductions/chain.py:51
↓ 32 callersMethodcoeff
cvxpy/cvxcore/include/Eigen/src/Core/CoreEvaluators.h:909
↓ 32 callersMethodget_bounds
Returns bounds (lower, upper) of the expression. Combines bounds_from_args() with sign information for potentially tighter bounds. R
cvxpy/atoms/atom.py:130
↓ 32 callersMethodget_data
Returns info needed to reconstruct the expression besides the args.
cvxpy/transforms/indicator.py:91
↓ 32 callersFunctionget_half2_high
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:548
↓ 32 callersFunctionhalf2float
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/PacketMath.h:1428
↓ 32 callersFunctionhalf2float
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h:988
↓ 32 callersMethodtest_lp_0
(solver, places: int = 4, duals: bool = True, **kwargs)
cvxpy/tests/solver_test_helpers.py:1136
↓ 31 callersMethodLinOp
cvxpy/cvxcore/src/LinOp.hpp:63
↓ 31 callersMethodapplyOnTheLeft
cvxpy/cvxcore/include/Eigen/src/Jacobi/Jacobi.h:294
↓ 31 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:230
↓ 31 callersMethodconjugate
cvxpy/cvxcore/include/Eigen/src/Core/arch/MSA/Complex.h:39
↓ 31 callersMethodget_args
cvxpy/cvxcore/src/LinOp.hpp:75
↓ 31 callersMethodkeys
(self)
cvxpy/cvxcore/python/cvxcore.py:709
↓ 31 callersMethodmakeCompressed
Turns the matrix into the \em compressed format. */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:467
↓ 31 callersMethodtocoo
Convert to COO format (stacked) for compatibility.
cvxpy/lin_ops/backends/coo_backend.py:123
↓ 30 callersFunctionabs
()
cvxpy/expressions/cvxtypes.py:95
← previousnext →101–200 of 13,519, ranked by callers