MCPcopy Index your code

hub / github.com/cvxpy/cvxpy / functions

Functions13,519 in github.com/cvxpy/cvxpy

↓ 1,496 callersMethodsolve
Compiles and solves the problem using the specified method. Populates the :code:`status` and :code:`value` attributes on the problem
cvxpy/problems/problem.py:591
↓ 1,338 callersMethodarray
cvxpy/cvxcore/include/Eigen/src/Core/MatrixBase.h:319
↓ 828 callersMethodsum
Equivalent to `cp.sum(self, axis, keepdims)`.
cvxpy/expressions/expression.py:1100
↓ 769 callersMethodassertAlmostEqual
(self, a, b, places: int = 5, delta=None)
cvxpy/tests/base_test.py:38
↓ 444 callersMethodcoeff
cvxpy/cvxcore/include/Eigen/src/Core/Diagonal.h:123
↓ 431 callersMethodappend
(self, x)
cvxpy/cvxcore/python/cvxcore.py:293
↓ 320 callersMethodassertItemsAlmostEqual
(self, a, b, places: int = 5)
cvxpy/tests/base_test.py:25
↓ 287 callersMethodones
(self, shape: tuple[int, ...])
cvxpy/interface/base_matrix_interface.py:76
↓ 245 callersMethodsolve
(self, solver, **kwargs)
cvxpy/tests/solver_test_helpers.py:38
↓ 241 callersFunctionSWIG_CheckState
cvxpy/cvxcore/python/cvxcore_wrap.cxx:382
↓ 237 callersMethodnorm
cvxpy/cvxcore/include/Eigen/src/Core/Dot.h:108
↓ 234 callersMethodcols
\returns the number of rows */
cvxpy/cvxcore/include/Eigen/src/Core/BandMatrix.h:217
↓ 232 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/Core/Diagonal.h:80
↓ 232 callersFunctionrun
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:405
↓ 217 callersMethodall
cvxpy/cvxcore/include/Eigen/src/Core/BooleanRedux.h:79
↓ 213 callersMethodrun_and_assert
Run all derivative checks and assert correctness.
cvxpy/tests/nlp_tests/derivative_checker.py:269
↓ 201 callersMethodtoarray
Convert to dense array (stacked) for compatibility.
cvxpy/lin_ops/backends/coo_backend.py:135
↓ 195 callersMethoddata
cvxpy/cvxcore/include/Eigen/src/Core/Diagonal.h:104
↓ 194 callersFunctionpmul
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:800
↓ 193 callersMethodzeros
(self, shape: tuple[int, ...])
cvxpy/interface/base_matrix_interface.py:72
↓ 188 callersMethodreshape
(self, matrix, shape)
cvxpy/tests/test_base_classes.py:49
↓ 182 callersFunctionasptr
cvxpy/cvxcore/python/cvxcore_wrap.cxx:4532
↓ 179 callersMethodprod
Equivalent to `cp.prod(self, axis, keepdims)`.
cvxpy/expressions/expression.py:1068
↓ 178 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/SVD/SVDBase.h:213
↓ 177 callersMethodcol
\returns a vector expression of the \a i -th column, * only the meaningful part is returned. * \warning the internal storage must be colum
cvxpy/cvxcore/include/Eigen/src/Core/BandMatrix.h:68
↓ 175 callersFunctionabs
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:25
↓ 171 callersFunctionSWIG_Py_Void
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1603
↓ 170 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/SVD/SVDBase.h:212
↓ 162 callersMethodflatten
Vectorizes the expression. order: column-major ('F') or row-major ('C') order.
cvxpy/expressions/expression.py:614
↓ 154 callersMethodget_tensor_representation
Returns [A b].
cvxpy/lin_ops/backends/base.py:372
↓ 148 callersMethodabs
(self, solver)
cvxpy/tests/test_qp_solvers.py:188
↓ 145 callersMethoditems
(self)
cvxpy/cvxcore/python/cvxcore.py:715
↓ 143 callersMethodget
Get a value from inverse_data, returning default if not found. This method provides dictionary-like access compatible with code that
cvxpy/reductions/solvers/solver_inverse_data.py:45
↓ 143 callersFunctionrows
cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h:330
↓ 138 callersFunctionprint
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:834
↓ 129 callersFunctionsum
Wrapper for Sum class.
cvxpy/atoms/affine/sum.py:154
↓ 128 callersMethodvalue
cvxpy/cvxcore/include/Eigen/src/SparseCore/AmbiVector.h:329
↓ 126 callersFunctioncols
cvxpy/cvxcore/include/Eigen/src/Core/Replicate.h:93
↓ 124 callersMethodrow
\returns the row index of the current coefficient.
cvxpy/cvxcore/include/Eigen/src/Core/CoreIterators.h:59
↓ 122 callersFunctionpmadd
cvxpy/cvxcore/include/Eigen/src/Core/arch/SVE/PacketMath.h:132
↓ 122 callersMethodquad_form
(self, solver)
cvxpy/tests/test_qp_solvers.py:220
↓ 119 callersMethodvalue
\returns the value of the current coefficient.
cvxpy/cvxcore/include/Eigen/src/Core/CoreIterators.h:46
↓ 115 callersMethodsize
(self)
cvxpy/cvxcore/python/cvxcore.py:299
↓ 114 callersFunctionSWIG_AsVal_ptrdiff_t
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3855
↓ 114 callersFunctionconj
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1279
↓ 113 callersMethodsize
cvxpy/cvxcore/include/Eigen/src/SparseCore/AmbiVector.h:61
↓ 111 callersMethodcopy
Returns a shallow copy of the object. Used to reconstruct an object tree. Parameters ---------- args : list, optiona
cvxpy/expressions/leaf.py:219
↓ 108 callersMethodindex
cvxpy/cvxcore/include/Eigen/src/SparseCore/AmbiVector.h:328
↓ 108 callersMethodnestedExpression
cvxpy/cvxcore/include/Eigen/src/Core/VectorwiseOp.h:74
↓ 105 callersFunctionpmul
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:236
↓ 104 callersFunctionpadd
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:758
↓ 99 callersMethodsize
\returns the number of transpositions */
cvxpy/cvxcore/include/Eigen/src/Core/Transpositions.h:40
↓ 98 callersMethodis_affine
Is the expression affine?
cvxpy/expressions/expression.py:344
↓ 96 callersMethodverify_objective
(self, places)
cvxpy/tests/solver_test_helpers.py:233
↓ 96 callersMethodvstack
Given views (A0,b0), (A1,b1),..., (An,bn), first, stack them along axis 0 via hstack. Then, permute the rows of the resulting tensor
cvxpy/lin_ops/backends/base.py:850
↓ 95 callersMethodconcatenate
Concatenate multiple tensors along a specified axis. This method performs the concatenation of multiple tensors, following NumPy's behavior.
cvxpy/lin_ops/backends/base.py:825
↓ 95 callersFunctionreal
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1230
↓ 94 callersFunctionraw_uint16_to_half
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:334
↓ 93 callersMethodcopy
(self)
cvxpy/reductions/solution.py:85
↓ 92 callersMethoddot
cvxpy/cvxcore/include/Eigen/src/Core/Dot.h:69
↓ 88 callersMethodConstant
cvxpy/cvxcore/include/Eigen/src/Core/CwiseNullaryOp.h:188
↓ 88 callersMethodmax
Equivalent to `cp.max(self, axis, keepdims)`.
cvxpy/expressions/expression.py:1047
↓ 88 callersMethodtrace
Equivalent to `cp.trace(self)`.
cvxpy/expressions/expression.py:1107
↓ 87 callersMethodresize
cvxpy/cvxcore/include/Eigen/src/Core/Transpose.h:85
↓ 83 callersMethodbegin
(self)
cvxpy/cvxcore/python/cvxcore.py:305
↓ 82 callersMethodverify_primal_values
(self, places)
cvxpy/tests/solver_test_helpers.py:239
↓ 81 callersMethodhstack
Given views (A0,b0), (A1,b1),..., (An,bn), stack all tensors along axis 0, i.e., return (A0, b0) A1, b1 ...
cvxpy/lin_ops/backends/base.py:800
↓ 79 callersMethodpower
(self, solver)
cvxpy/tests/test_qp_solvers.py:198
↓ 79 callersMethodresize
cvxpy/cvxcore/include/Eigen/src/SparseCore/AmbiVector.h:54
↓ 78 callersFunctionsqrt
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1465
↓ 76 callersFunctionSWIG_AsVal_size_t
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3708
↓ 73 callersMethodcol
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:174
↓ 73 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/Eigenvalues/HessenbergDecomposition.h:364
↓ 73 callersMethodtranspose
\returns an expression of the transposed of the factored matrix. * * A typical usage is to solve for the transposed problem A^T x = b:
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:200
↓ 71 callersMethodreshape
Equivalent to `cp.reshape(self, shape, order)`.
cvxpy/expressions/expression.py:1082
↓ 69 callersMethodget_shape
cvxpy/cvxcore/src/LinOp.hpp:73
↓ 67 callersMethodouterStride
cvxpy/cvxcore/include/Eigen/src/Core/Map.h:114
↓ 67 callersFunctionpfirst
cvxpy/cvxcore/include/Eigen/src/Core/arch/AltiVec/PacketMath.h:1429
↓ 66 callersFunctionpsub
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:773
↓ 65 callersFunctionall
cvxpy/cvxcore/include/Eigen/src/Core/util/Macros.h:1435
↓ 65 callersMethodis_constant
Is the expression constant?
cvxpy/atoms/elementwise/power.py:278
↓ 64 callersMethodcoeff
\returns the value of the matrix at position \a i, \a j * This function returns Scalar(0) if the element is an explicit \em zero */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:190
↓ 64 callersMethodis_dcp
A PSD constraint is DCP if the constrained expression is affine.
cvxpy/constraints/psd.py:63
↓ 64 callersMethodname
(self)
cvxpy/tests/test_cone2cone.py:795
↓ 64 callersFunctionsize
cvxpy/cvxcore/include/Eigen/src/Core/util/Meta.h:479
↓ 63 callersMethodget_problem_data
Returns the problem data used in the call to the solver. When a problem is solved, CVXPY creates a chain of reductions enclosed in a
cvxpy/problems/problem.py:703
↓ 62 callersMethodadjoint
\returns an expression of the adjoint of the factored matrix * * A typical usage is to solve for the adjoint problem A' x = b: * \co
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:221
↓ 62 callersMethodany
cvxpy/cvxcore/include/Eigen/src/Core/BooleanRedux.h:103
↓ 62 callersFunctiondiag
Extracts the diagonal from a matrix or makes a vector a diagonal matrix. Parameters ---------- expr : Expression or numeric constant
cvxpy/atoms/affine/diag.py:27
↓ 61 callersMethodis_dgp
(self, dpp: bool = False)
cvxpy/constraints/psd.py:71
↓ 60 callersMethodrows
cvxpy/cvxcore/include/Eigen/src/Eigenvalues/HessenbergDecomposition.h:363
↓ 60 callersMethodupdate
cvxpy/cvxcore/include/Eigen/src/Cholesky/LDLT.h:451
↓ 56 callersFunctionget_runtime_value
cvxpy/cvxcore/include/Eigen/src/Core/util/IntegralConstant.h:156
↓ 56 callersFunctionmake_output_iterator
cvxpy/cvxcore/python/cvxcore_wrap.cxx:4908
↓ 56 callersMethodpmul
cvxpy/cvxcore/include/Eigen/src/Core/arch/AltiVec/Complex.h:35
↓ 56 callersMethodsetZero
Clear any existing decomposition * \sa rankUpdate(w,sigma) */
cvxpy/cvxcore/include/Eigen/src/Cholesky/LDLT.h:143
↓ 54 callersFunctionSWIG_Python_RaiseOrModifyTypeError
cvxpy/cvxcore/python/cvxcore_wrap.cxx:988
↓ 54 callersMethodcols
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:59
↓ 54 callersFunctionimag
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1251
↓ 54 callersMethodnoalias
cvxpy/cvxcore/include/Eigen/src/Core/NoAlias.h:102
next →1–100 of 13,519, ranked by callers