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
↓ 5 callers
Function
mul_bounds
Bounds for elementwise multiplication: x * y. Uses interval arithmetic: the result is [min(products), max(products)] where products are all c
cvxpy/utilities/bounds.py:249
↓ 5 callers
Method
name
(self)
cvxpy/constraints/psd.py:60
↓ 5 callers
Method
name
The name of the solver.
cvxpy/reductions/solvers/conic_solvers/scs_conif.py:123
↓ 5 callers
Method
name
(self)
cvxpy/reductions/solvers/conic_solvers/highs_conif.py:133
↓ 5 callers
Method
name
The name of the solver.
cvxpy/reductions/solvers/conic_solvers/diffcp_conif.py:43
↓ 5 callers
Function
neg_expr
Negate an operator. Parameters ---------- expr : LinOp The operator to be negated. Returns ------- LinOp The
cvxpy/lin_ops/lin_utils.py:175
↓ 5 callers
Method
nonZeros
\returns the number of non zero coefficients */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseCompressedBase.h:56
↓ 5 callers
Method
nonZerosEstimate
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:546
↓ 5 callers
Method
normalized
cvxpy/cvxcore/include/Eigen/src/Geometry/Quaternion.h:132
↓ 5 callers
Method
objective
Returns the scalar value of the objective given x.
cvxpy/reductions/solvers/nlp_solvers/nlp_solver.py:193
↓ 5 callers
Method
oprelcone_1
These tests construct two matrices that commute (imposing all eigenvectors equal) and then use the fact that: T=Dop(A, B) for (A, B,
cvxpy/tests/test_cone2cone.py:644
↓ 5 callers
Function
pconj
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX512/Complex.h:69
↓ 5 callers
Function
pexp_double
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:488
↓ 5 callers
Function
pexpm1
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:922
↓ 5 callers
Function
pfloor
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:829
↓ 5 callers
Function
plog1p
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:914
↓ 5 callers
Function
pmadd
cvxpy/cvxcore/include/Eigen/src/Core/arch/AltiVec/PacketMath.h:827
↓ 5 callers
Function
predux_helper
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:858
↓ 5 callers
Function
pscatter
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:631
↓ 5 callers
Function
psqrt
cvxpy/cvxcore/include/Eigen/src/Core/arch/MSA/PacketMath.h:723
↓ 5 callers
Method
rank
\returns the rank of the matrix of which *this is the complete orthogonal * decomposition. * * \note This method has to determine which pivot
cvxpy/cvxcore/include/Eigen/src/QR/CompleteOrthogonalDecomposition.h:235
↓ 5 callers
Method
row
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:209
↓ 5 callers
Method
rows
cvxpy/cvxcore/include/Eigen/src/Core/Block.h:218
↓ 5 callers
Function
rsqrt
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1481
↓ 5 callers
Function
run
(cmd: list[str])
tools/release_notes.py:32
↓ 5 callers
Method
scalar_value
(self, matrix)
cvxpy/interface/base_matrix_interface.py:68
↓ 5 callers
Method
select_rows
Select and reorder rows from each parameter slice. Semantics match SciPy: new_tensor[i, :] = old_tensor[rows[i], :] This mea
cvxpy/lin_ops/backends/coo_backend.py:176
↓ 5 callers
Method
setup
(self)
cvxpy/tests/test_expressions.py:1739
↓ 5 callers
Function
sparse_eye
* Returns an N x N sparse identity matrix. */
cvxpy/cvxcore/src/LinOpOperations.cpp:196
↓ 5 callers
Function
sqrt
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:471
↓ 5 callers
Method
test_lp_eq_constraints
(cls, solver: str)
cvxpy/tests/solver_test_helpers.py:1615
↓ 5 callers
Method
test_lp_ineq_constraints
(cls, solver: str)
cvxpy/tests/solver_test_helpers.py:1594
↓ 5 callers
Method
test_pcp_1
(self, places: int = 4)
cvxpy/tests/test_KKT.py:176
↓ 5 callers
Method
test_pcp_2
(self, places: int = 4)
cvxpy/tests/test_KKT.py:184
↓ 5 callers
Method
test_sdp_1max
(self, places=4)
cvxpy/tests/test_KKT.py:114
↓ 5 callers
Method
toDenseMatrix
cvxpy/cvxcore/include/Eigen/src/Core/BandMatrix.h:145
↓ 5 callers
Method
transpose
cvxpy/cvxcore/include/Eigen/src/Core/Transpose.h:180
↓ 5 callers
Function
vst1_f32
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:455
↓ 5 callers
Function
wrap_neg_index
Converts a negative index into a positive index. Args: index: The index to convert. Can be None. dim: The length of the dimension
cvxpy/utilities/key_utils.py:114
↓ 4 callers
Function
F32MaskToBf16Mask
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:3419
↓ 4 callers
Function
SWIG_PyUnicode_AsUTF8AndSize
Wrapper around PyUnicode_AsUTF8AndSize - call Py_XDECREF on the returned pbytes when finished with the returned string */
cvxpy/cvxcore/python/cvxcore_wrap.cxx:838
↓ 4 callers
Function
_all_isinf
Check if all values are inf, sparse-aware (O(nnz) for sparse).
cvxpy/utilities/bounds.py:79
↓ 4 callers
Function
_compute_size_by_dict
Computes the product of the elements in indices based on the dictionary idx_dict. Parameters ---------- indices : iterable
cvxpy/utilities/einsum_utilities.py:85
↓ 4 callers
Function
_ensure_dense
Convert sparse matrix to dense numpy array and expand to shape if given. Parameters ---------- arr : array-like The array to dens
cvxpy/utilities/bounds.py:24
↓ 4 callers
Function
_infeasible
(problem)
cvxpy/reductions/solvers/bisection.py:46
↓ 4 callers
Method
_is_at_section
(self)
doc/sphinxext/docscrape.py:139
↓ 4 callers
Method
_make_prob
(self)
cvxpy/tests/test_parametric_bounds.py:217
↓ 4 callers
Function
_mm_castpd_si128
cvxpy/cvxcore/include/Eigen/src/Core/arch/SSE/PacketMath.h:1498
↓ 4 callers
Function
_mul
(a, b)
cvxpy/utilities/bounds.py:272
↓ 4 callers
Function
_random_symmetric_batch
Generate a batch of symmetric matrices with shape (*batch_shape, n, n).
cvxpy/tests/test_grad.py:1109
↓ 4 callers
Function
_safe_maximum
Element-wise maximum, handling sparse matrices. Uses scipy sparse's .maximum() when either operand is sparse, avoiding explicit densification
cvxpy/utilities/bounds.py:53
↓ 4 callers
Function
_safe_minimum
Element-wise minimum, handling sparse matrices. Uses scipy sparse's .minimum() when either operand is sparse, avoiding explicit densification
cvxpy/utilities/bounds.py:66
↓ 4 callers
Function
_solve
(problem, solver)
cvxpy/reductions/solvers/bisection.py:32
↓ 4 callers
Function
add_canon
(expr, args)
cvxpy/reductions/dgp2dcp/canonicalizers/add_canon.py:24
↓ 4 callers
Method
affine
cvxpy/cvxcore/include/Eigen/src/Geometry/Transform.h:399
↓ 4 callers
Function
aligned_malloc
\internal Allocates \a size bytes. The returned pointer is guaranteed to have 16 or 32 bytes alignment depending on the requirements. * On allocatio
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:174
↓ 4 callers
Method
apply
(self, problem)
cvxpy/reductions/eliminate_zero_sized.py:56
↓ 4 callers
Method
apply
Converts a DCP problem to a conic form.
cvxpy/reductions/dcp2cone/dcp2cone.py:66
↓ 4 callers
Method
apply
Returns a new problem and data for inverting the new solution. Returns ------- tuple (dict of arguments needed fo
cvxpy/reductions/solvers/conic_solvers/cbc_conif.py:82
↓ 4 callers
Function
arg
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1258
↓ 4 callers
Method
as_quad_approx
(self, m: int, k: int)
cvxpy/constraints/exponential.py:107
↓ 4 callers
Method
assertItemsAlmostEqual
(self, a, b, places: int = 2)
cvxpy/tests/test_param_cone_prog.py:27
↓ 4 callers
Function
assignCoeff
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:652
↓ 4 callers
Function
at_least_2D
Upcast 0D and 1D to 2D.
cvxpy/reductions/complex2real/canonicalizers/matrix_canon.py:167
↓ 4 callers
Method
block_add
Add the block to a slice of the matrix. Args: matrix: The matrix the block will be added to. block: The matrix/scalar
cvxpy/interface/base_matrix_interface.py:98
↓ 4 callers
Function
build_non_disciplined_error_msg
(problem, discipline_type)
cvxpy/utilities/debug_tools.py:27
↓ 4 callers
Method
canonicalize_tree
(self, expr, real2imag, leaf_map)
cvxpy/reductions/complex2real/complex2real.py:359
↓ 4 callers
Method
canonicalize_tree
( self, expr: Expression, affine_above: bool, cse_cache: dict[ConeCacheKey, Ex
cvxpy/reductions/dcp2cone/dcp2cone.py:99
↓ 4 callers
Method
check_factor
(self, L, places=5)
cvxpy/tests/test_linalg_utils.py:31
↓ 4 callers
Method
coeff
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseBlock.h:246
↓ 4 callers
Method
col
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseCwiseBinaryOp.h:199
↓ 4 callers
Method
colIndexByOuterInner
cvxpy/cvxcore/include/Eigen/src/Core/DenseCoeffsBase.h:74
↓ 4 callers
Function
coletree
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseColEtree.h:61
↓ 4 callers
Method
cols
cvxpy/cvxcore/include/Eigen/src/PaStiXSupport/PaStiXSupport.h:201
↓ 4 callers
Method
cols
\returns the number of columns. \sa rows() */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrixBase.h:178
↓ 4 callers
Method
cols
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseBlock.h:267
↓ 4 callers
Method
cols
cvxpy/cvxcore/include/Eigen/src/Core/CwiseTernaryOp.h:147
↓ 4 callers
Method
computeV
\returns true if \a V (full or thin) is asked for in this SVD decomposition */
cvxpy/cvxcore/include/Eigen/src/SVD/SVDBase.h:210
↓ 4 callers
Function
compute_indptr
Compute CSR/CSC-style indptr directly from COO indices. This avoids creating scipy sparse matrices just to get the indptr array. Returns
cvxpy/lin_ops/backends/coo_backend.py:51
↓ 4 callers
Method
conservativeResize
cvxpy/cvxcore/include/Eigen/src/Core/PlainObjectBase.h:382
↓ 4 callers
Function
conv_mul
Multiply by a convolution operator. arameters ---------- lin_op : LinOp The root linear operator. rh_val : NDArray Th
cvxpy/lin_ops/tree_mat.py:302
↓ 4 callers
Function
coo_mul_elem
Element-wise multiplication of two CooTensors. For parametrized case: lhs has param_size > 1, rhs has param_size = 1. Each lhs slice is
cvxpy/lin_ops/backends/coo_backend.py:1220
↓ 4 callers
Function
destruct_elements_of_array
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:285
↓ 4 callers
Method
diag_mat
Diagonal matrix to vector. Given (A, b) in view, select the rows corresponding to the elements on the diagonal in the original expres
cvxpy/lin_ops/backends/base.py:897
↓ 4 callers
Method
diagonal
cvxpy/cvxcore/include/Eigen/src/Geometry/AlignedBox.h:170
↓ 4 callers
Method
evalTo
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:616
↓ 4 callers
Function
exp
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1545
↓ 4 callers
Method
expcone_1
min 3 * x[0] + 2 * x[1] + x[2] s.t. 0.1 <= x[0] + x[1] + x[2] <= 1 x >= 0 and ... x[0]
cvxpy/tests/test_cone2cone.py:507
↓ 4 callers
Function
explicit_sum
(expr)
cvxpy/reductions/dgp2dcp/util.py:19
↓ 4 callers
Function
expression_gradcheck_batched_symmetric
Validate expression gradient for batched symmetric matrix inputs. For shape (*batch, n, n), perturbs each (n, n) slice symmetrically.
cvxpy/tests/test_grad.py:1029
↓ 4 callers
Function
find_contraction
Finds the contraction for a given set of input and output sets. Parameters ---------- positions : iterable Integer positions
cvxpy/utilities/einsum_utilities.py:114
↓ 4 callers
Function
floor
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1411
↓ 4 callers
Function
get_id
Returns a new id and updates the id counter. Returns ------- int A new id.
cvxpy/lin_ops/lin_utils.py:45
↓ 4 callers
Function
get_nd_matmul_dims
Compute dimensions for ND matmul C @ X. Parameters ---------- const_shape : tuple Shape of the constant C var_shape : tu
cvxpy/lin_ops/backends/base.py:71
↓ 4 callers
Function
get_nd_rmul_dims
Compute dimensions for ND rmul X @ C. Parameters ---------- var_shape : tuple Shape of the variable X const_shape : tupl
cvxpy/lin_ops/backends/base.py:100
↓ 4 callers
Function
get_runtime_reshape_size
cvxpy/cvxcore/include/Eigen/src/Core/util/ReshapedHelper.h:27
↓ 4 callers
Function
get_status
Map CPLEX status to CPXPY status.
cvxpy/reductions/solvers/conic_solvers/cplex_conif.py:147
↓ 4 callers
Function
get_status_map
Create status map from Xpress to CVXPY
cvxpy/reductions/solvers/conic_solvers/xpress_conif.py:555
↓ 4 callers
Method
identity
(self, size)
cvxpy/tests/test_base_classes.py:35
↓ 4 callers
Method
index
inline Index row() const { return (ArgType::Flags&RowMajorBit ? Base::outer() : this->index()); } inline Index col() const { return (ArgType::Flags&Ro
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseTriangularView.h:154
← previous
next →
801–900 of 13,519, ranked by callers