Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cvxpy/cvxpy
/ functions
Functions
13,519 in github.com/cvxpy/cvxpy
⨍
Functions
13,519
◇
Types & classes
3,223
↳
Endpoints
49
↓ 6 callers
Function
expr_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 callers
Function
float2half
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/PacketMathHalf.h:447
↓ 6 callers
Method
front
(self)
cvxpy/cvxcore/python/cvxcore.py:335
↓ 6 callers
Function
gershgorin_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 callers
Function
get_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 callers
Function
get_coords
(c)
cvxpy/utilities/coo_array_compat.py:21
↓ 6 callers
Method
get_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 callers
Method
get_state
(self, name)
cvxpy/tests/test_scopes.py:26
↓ 6 callers
Method
gradient
Returns the gradient of the objective with respect to x.
cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py:197
↓ 6 callers
Method
has_constraints
Whether the problem will have constraints after canonicalization.
cvxpy/problems/problem_form.py:326
↓ 6 callers
Method
innerSize
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:61
↓ 6 callers
Function
is_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 callers
Method
is_dpp
Check that the variable is DPP in the given context.
cvxpy/expressions/variable.py:115
↓ 6 callers
Function
is_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 callers
Method
is_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 callers
Method
is_sparse
cvxpy/cvxcore/src/LinOp.hpp:90
↓ 6 callers
Function
log
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:458
↓ 6 callers
Function
lt_mask
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:174
↓ 6 callers
Method
matrixQ
\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 callers
Method
matrixU
\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 callers
Method
nonZerosEstimate
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseVector.h:430
↓ 6 callers
Function
not_equal_strict
cvxpy/cvxcore/include/Eigen/src/Core/util/Meta.h:797
↓ 6 callers
Method
numeric
Returns the largest entry in x.
cvxpy/atoms/max.py:46
↓ 6 callers
Method
objective_forward
Evaluate objective. Returns obj_value float.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:80
↓ 6 callers
Function
outerStride
\returns the outer-stride of the underlying dense matrix * \sa DenseCoeffsBase::outerStride() */
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:371
↓ 6 callers
Function
pexp_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:437
↓ 6 callers
Function
por
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/PacketMath.h:1512
↓ 6 callers
Function
predux_half_dowto4
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:710
↓ 6 callers
Function
predux_max
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:905
↓ 6 callers
Function
predux_min
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:890
↓ 6 callers
Function
ptranspose
cvxpy/cvxcore/include/Eigen/src/Core/arch/AltiVec/Complex.h:224
↓ 6 callers
Function
pxor
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/PacketMath.h:1517
↓ 6 callers
Function
rowIndexByOuterInner
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:692
↓ 6 callers
Method
rows
cvxpy/cvxcore/include/Eigen/src/Core/Reshaped.h:177
↓ 6 callers
Method
rows
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:284
↓ 6 callers
Function
smart_memmove
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:539
↓ 6 callers
Method
sparseView
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseView.h:226
↓ 6 callers
Method
store
cvxpy/cvxcore/include/Eigen/src/Core/util/BlasUtil.h:122
↓ 6 callers
Function
sum_expr
Add linear operators. Parameters ---------- operators : list A list of linear operators. Returns ------- LinOp
cvxpy/lin_ops/lin_utils.py:159
↓ 6 callers
Method
supToCol
* Return the array of supernode-to-column mapping */
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:141
↓ 6 callers
Method
test_lp_6
(solver, places: int = 4, duals: bool = True, **kwargs)
cvxpy/tests/solver_test_helpers.py:1191
↓ 6 callers
Method
test_sdp_2
(self, places=4)
cvxpy/tests/test_KKT.py:122
↓ 6 callers
Function
to_int
Convert everything but None to an int.
cvxpy/utilities/key_utils.py:105
↓ 6 callers
Method
transpose
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrixBase.h:354
↓ 6 callers
Method
twistedBy
\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 callers
Method
unpack_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 callers
Method
upper_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 callers
Method
value
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDenseProduct.h:265
↓ 6 callers
Function
viewAsCholmod
cvxpy/cvxcore/include/Eigen/src/CholmodSupport/CholmodSupport.h:58
↓ 5 callers
Function
SWIG_Python_str_FromChar
cvxpy/cvxcore/python/cvxcore_wrap.cxx:860
↓ 5 callers
Function
SwigPyObject_Check
cvxpy/cvxcore/python/cvxcore_wrap.cxx:1851
↓ 5 callers
Method
_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 callers
Method
_has_lower_bounds
Does the variable have lower bounds?
cvxpy/expressions/leaf.py:320
↓ 5 callers
Method
_has_upper_bounds
Does the variable have upper bounds?
cvxpy/expressions/leaf.py:335
↓ 5 callers
Method
_is_commercial
(self, solver)
cvxpy/tests/test_problem_form.py:184
↓ 5 callers
Method
_is_real
(self)
cvxpy/atoms/atom.py:349
↓ 5 callers
Function
_lower_problem
Evaluates lazy constraints.
cvxpy/reductions/solvers/bisection.py:25
↓ 5 callers
Function
_to_scalar_shape
Reshape expression to scalar form (1,) for SOC constructor.
cvxpy/reductions/cone2cone/soc_dim3.py:111
↓ 5 callers
Method
_value_impl
(self)
cvxpy/atoms/atom.py:456
↓ 5 callers
Method
adjoint
\brief Adjoint (conjugate transpose) of the Householder sequence. */
cvxpy/cvxcore/include/Eigen/src/Householder/HouseholderSequence.h:266
↓ 5 callers
Method
append
cvxpy/cvxcore/include/Eigen/src/SparseCore/CompressedStorage.h:101
↓ 5 callers
Method
broadcast
Broadcast the binary operator.
cvxpy/expressions/expression.py:731
↓ 5 callers
Method
can_solve
Check if this solver can handle a problem with the given structure. Parameters ---------- problem_form : ProblemForm
cvxpy/reductions/solvers/solver.py:144
↓ 5 callers
Method
clear
* Empty the pointer list */
cvxpy/cvxcore/include/Eigen/src/Core/arch/SYCL/SyclMemoryModel.h:323
↓ 5 callers
Function
coeff
\sa MatrixBase::coeff() * \warning the coordinates must fit into the referenced triangular part */
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:417
↓ 5 callers
Method
coeff
cvxpy/cvxcore/include/Eigen/src/Core/Visitor.h:86
↓ 5 callers
Method
coeffByOuterInner
cvxpy/cvxcore/include/Eigen/src/Core/Redux.h:380
↓ 5 callers
Method
cols
cvxpy/cvxcore/include/Eigen/src/Core/Block.h:219
↓ 5 callers
Method
combine_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 callers
Method
constraints
Returns the constraint values.
cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py:201
↓ 5 callers
Function
construct_elements_of_array
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:295
↓ 5 callers
Method
diagonalSize
\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 callers
Function
eigen_pastix
cvxpy/cvxcore/include/Eigen/src/PaStiXSupport/PaStiXSupport.h:67
↓ 5 callers
Method
evalTo
cvxpy/cvxcore/include/Eigen/src/Geometry/Homogeneous.h:272
↓ 5 callers
Function
exp
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:451
↓ 5 callers
Method
extractData
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:706
↓ 5 callers
Method
from_stacked_sparse
Convert from stacked sparse matrix.
cvxpy/lin_ops/backends/coo_backend.py:158
↓ 5 callers
Function
get_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 callers
Method
get_simple_problem
Example problem that can be used within additional tests.
cvxpy/tests/test_conic_solvers.py:2561
↓ 5 callers
Function
hypot
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1331
↓ 5 callers
Method
index
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:208
↓ 5 callers
Method
innerNonZeroPtr
\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 callers
Method
invert
Returns the solution to the original problem given the inverse_data.
cvxpy/reductions/solvers/conic_solvers/clarabel_conif.py:122
↓ 5 callers
Method
is_atom_smooth
Is the atom smooth?
cvxpy/atoms/atom.py:191
↓ 5 callers
Method
is_complex
Is the Leaf complex valued?
cvxpy/expressions/constants/constant.py:179
↓ 5 callers
Method
is_concave
Is the expression concave?
cvxpy/expressions/expression.py:364
↓ 5 callers
Method
is_convex
Is the expression convex?
cvxpy/expressions/expression.py:358
↓ 5 callers
Method
is_log_log_concave
Is the expression log-log concave?
cvxpy/atoms/atom.py:328
↓ 5 callers
Method
is_log_log_concave
Is the expression log-log concave?
cvxpy/expressions/expression.py:432
↓ 5 callers
Method
is_log_log_constant
Is the expression log-log constant, ie, elementwise positive?
cvxpy/expressions/expression.py:407
↓ 5 callers
Method
is_log_log_convex
Is the expression log-log convex?
cvxpy/atoms/atom.py:311
↓ 5 callers
Method
is_log_log_convex
Is the expression log-log convex?
cvxpy/expressions/expression.py:426
↓ 5 callers
Method
is_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 callers
Method
is_pos
Is the expression positive?
cvxpy/expressions/leaf.py:294
↓ 5 callers
Method
kill_principal
cvxpy/cvxcore/include/Eigen/src/OrderingMethods/Eigen_Colamd.h:173
↓ 5 callers
Method
loadRhsQuad
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:494
↓ 5 callers
Function
log1p
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:465
↓ 5 callers
Function
lower_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 callers
Function
lower_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 callers
Function
m_rows
cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h:362
← previous
next →
701–800 of 13,519, ranked by callers