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
↓ 8 callers
Method
sum_entries
Given (A, b) in view, return (sum(A,axis=0), sum(b, axis=0))
cvxpy/lin_ops/backends/base.py:744
↓ 8 callers
Function
swap
cvxpy/cvxcore/include/Eigen/src/Core/DenseStorage.h:324
↓ 8 callers
Method
test_mi_socp_1
(self)
cvxpy/tests/test_cone2cone.py:378
↓ 8 callers
Method
test_sdp_1min
(self, places=4)
cvxpy/tests/test_KKT.py:106
↓ 8 callers
Method
valuePtr
\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/SparseCompressedBase.h:71
↓ 8 callers
Method
verify_post_solve_guarantees
(prob: cp.Problem)
cvxpy/tests/solver_test_helpers.py:1553
↓ 7 callers
Function
_check_solution_matches
Check that inverted solution matches direct solve for all vars and duals.
cvxpy/tests/test_soc_dim3.py:88
↓ 7 callers
Function
_get
(solver_map, name)
cvxpy/problems/problem_form.py:352
↓ 7 callers
Function
_mm_castps_pd
cvxpy/cvxcore/include/Eigen/src/Core/arch/SSE/PacketMath.h:1499
↓ 7 callers
Method
_solve_both_backends
Solve with both SciPy and COO backends, return both optimal values.
cvxpy/tests/test_python_backends.py:3421
↓ 7 callers
Method
_str_indent
(self, doc, indent=4)
doc/sphinxext/docscrape_sphinx.py:38
↓ 7 callers
Function
abs
cvxpy/cvxcore/include/Eigen/src/Core/arch/CUDA/Half.h:446
↓ 7 callers
Method
add_dicts
Addition for dict-based tensors.
cvxpy/lin_ops/backends/base.py:458
↓ 7 callers
Method
applyThisOnTheLeft
cvxpy/cvxcore/include/Eigen/src/Core/EigenBase.h:110
↓ 7 callers
Function
attributes_present
Returns a list of the relevant attributes present among the variables.
cvxpy/reductions/cvx_attr2constr.py:69
↓ 7 callers
Method
begin
cvxpy/cvxcore/include/Eigen/src/Core/StlIterators.h:408
↓ 7 callers
Function
bitwise_and
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:126
↓ 7 callers
Function
bitwise_or
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:136
↓ 7 callers
Function
bitwise_xor
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:146
↓ 7 callers
Function
cols
cvxpy/cvxcore/include/Eigen/src/Core/CwiseNullaryOp.h:79
↓ 7 callers
Method
cols
* Get the number of columns of the input matrix. */
cvxpy/cvxcore/include/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h:169
↓ 7 callers
Method
computeU
\returns true if \a U (full or thin) is asked for in this SVD decomposition */
cvxpy/cvxcore/include/Eigen/src/SVD/SVDBase.h:208
↓ 7 callers
Method
conjugate
cvxpy/cvxcore/include/Eigen/src/Geometry/Quaternion.h:750
↓ 7 callers
Method
cross
cvxpy/cvxcore/include/Eigen/src/Geometry/OrthoMethods.h:31
↓ 7 callers
Method
determinant
cvxpy/cvxcore/include/Eigen/src/LU/FullPivLU.h:581
↓ 7 callers
Method
empty
Create an empty CooTensor with given dimensions.
cvxpy/lin_ops/backends/coo_backend.py:145
↓ 7 callers
Method
error
\returns the tolerance error reached during the last solve. * It is a close approximation of the true relative residual error |Ax-b|/|b|. */
cvxpy/cvxcore/include/Eigen/src/IterativeLinearSolvers/IterativeSolverBase.h:305
↓ 7 callers
Method
eval_impl
cvxpy/cvxcore/include/Eigen/src/Core/util/SymbolicIndex.h:257
↓ 7 callers
Method
get
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDenseProduct.h:269
↓ 7 callers
Method
get_allocator
(self)
cvxpy/cvxcore/python/cvxcore.py:320
↓ 7 callers
Method
is_dnlp
Does the problem satisfy disciplined nonlinear programming (DNLP) rules?
cvxpy/problems/problem.py:295
↓ 7 callers
Method
is_mixed_integer
Whether the problem has integer or boolean variables.
cvxpy/problems/problem_form.py:316
↓ 7 callers
Method
is_zero
Is the expression all zero?
cvxpy/expressions/expression.py:548
↓ 7 callers
Function
manage_caching_sizes
\internal */
cvxpy/cvxcore/include/Eigen/src/Core/products/GeneralBlockPanelKernel.h:86
↓ 7 callers
Method
mul
Multiply view with constant data from the left. When the lhs is parametrized, multiply each slice of the tensor with the sing
cvxpy/lin_ops/backends/base.py:694
↓ 7 callers
Method
norm
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseDot.h:83
↓ 7 callers
Method
operator()
cvxpy/cvxcore/include/Eigen/src/Core/util/BlasUtil.h:57
↓ 7 callers
Function
pcmp_eq
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:3809
↓ 7 callers
Function
pcos_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:753
↓ 7 callers
Function
plog
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:933
↓ 7 callers
Function
plog_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:252
↓ 7 callers
Function
pnegate
cvxpy/cvxcore/include/Eigen/src/Core/arch/SSE/Complex.h:70
↓ 7 callers
Function
pnorm
Factory function for a mathematical p-norm. Parameters ---------- p : numeric type or string The type of norm to construct; set th
cvxpy/atoms/pnorm.py:27
↓ 7 callers
Function
pselect
cvxpy/cvxcore/include/Eigen/src/Core/GenericPacketMath.h:451
↓ 7 callers
Function
psin_float
cvxpy/cvxcore/include/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:745
↓ 7 callers
Function
ptrue
cvxpy/cvxcore/include/Eigen/src/Core/arch/AVX/PacketMath.h:978
↓ 7 callers
Method
redux
cvxpy/cvxcore/include/Eigen/src/Core/Redux.h:408
↓ 7 callers
Method
reserve
cvxpy/cvxcore/python/cvxcore_wrap.cxx:5111
↓ 7 callers
Method
reverse
cvxpy/cvxcore/include/Eigen/src/Core/Reverse.h:119
↓ 7 callers
Function
rows
cvxpy/cvxcore/include/Eigen/src/Core/CwiseNullaryOp.h:60
↓ 7 callers
Method
rows
cvxpy/cvxcore/include/Eigen/src/QR/ColPivHouseholderQR.h:327
↓ 7 callers
Method
rowwise
cvxpy/cvxcore/include/Eigen/src/Core/VectorwiseOp.h:776
↓ 7 callers
Method
select_rows
Select 'rows' from tensor.
cvxpy/lin_ops/backends/base.py:379
↓ 7 callers
Method
setStorageType
cvxpy/cvxcore/include/Eigen/src/SuperLUSupport/SuperLUSupport.h:145
↓ 7 callers
Method
solveInPlace
cvxpy/cvxcore/include/Eigen/src/SparseCore/TriangularSolver.h:178
↓ 7 callers
Method
startCol
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseBlock.h:272
↓ 7 callers
Method
startVec
\internal * \sa insertBack, insertBackByOuterInner */
cvxpy/cvxcore/include/Eigen/src/SparseCore/SparseMatrix.h:415
↓ 7 callers
Method
test_mi_socp_2
(self)
cvxpy/tests/test_cone2cone.py:387
↓ 7 callers
Method
toRotationMatrix
cvxpy/cvxcore/include/Eigen/src/Geometry/RotationBase.h:45
↓ 7 callers
Function
trace
TLDR: Use alternate formulation for trace(A@B) for more efficient computation. trace(A@B) normally is O(n^3) because of the A@B operation.
cvxpy/atoms/affine/trace.py:28
↓ 7 callers
Method
valuePtr
* Return the array of nonzero values packed by column * * The size is nnz */
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU_SupernodalMatrix.h:90
↓ 7 callers
Function
vec_to_upper_tri
Reshapes a vector into an upper triangular matrix in row-major order. The strict argument specifies whether an upper or a strict upper triangular
cvxpy/atoms/affine/upper_tri.py:113
↓ 6 callers
Function
SWIG_CanCastAsInteger
cvxpy/cvxcore/python/cvxcore_wrap.cxx:3568
↓ 6 callers
Method
_apply_parametric_matmul
Left-multiply each variable tensor in the view by per-parameter matrices.
cvxpy/lin_ops/backends/coo_backend.py:1885
↓ 6 callers
Function
_decompose_soc_single
Decompose a single ||x|| <= t constraint into tree of exactly 3D cones. Parameters ---------- t_expr : Expression The scalar boun
cvxpy/reductions/cone2cone/soc_dim3.py:145
↓ 6 callers
Function
_get_flat_dual
Convert a dual value to flat array format. Dual values can come in two formats: - Flat array: [lambda, mu1, mu2, ...] (from solver) - Spl
cvxpy/reductions/cone2cone/soc_dim3.py:116
↓ 6 callers
Method
_non_const_idx
(self)
cvxpy/atoms/atom.py:345
↓ 6 callers
Function
_set_nlp_initial_point
Construct an initial point for variables without a user-specified value. Uses get_bounds() which incorporates sign attributes (nonneg, nonpos, et
cvxpy/reductions/solvers/nlp_solving_chain.py:69
↓ 6 callers
Method
_to_coo_tensor
Convert sparse matrix or dense array to CooTensor.
cvxpy/lin_ops/backends/coo_backend.py:2177
↓ 6 callers
Function
abs_canon
(expr, real_args, imag_args, real2imag)
cvxpy/reductions/complex2real/canonicalizers/abs_canon.py:20
↓ 6 callers
Function
aligned_free
\internal Frees memory allocated with aligned_malloc. */
cvxpy/cvxcore/include/Eigen/src/Core/util/Memory.h:198
↓ 6 callers
Method
assign
cvxpy/cvxcore/python/cvxcore_wrap.cxx:5265
↓ 6 callers
Method
assignCoeff
cvxpy/cvxcore/include/Eigen/src/Core/TriangularMatrix.h:776
↓ 6 callers
Function
asval
cvxpy/cvxcore/python/cvxcore_wrap.cxx:4577
↓ 6 callers
Method
atoms
Accessor method for atoms. Returns ------- list of :class:`~cvxpy.atoms.Atom` A list of the atom types in the pro
cvxpy/problems/problem.py:501
↓ 6 callers
Function
bitwise_andnot
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:156
↓ 6 callers
Method
build_matrix
Main function called from canonInterface. Given a list of LinOp trees, each representing a constraint (or the objective), get the
cvxpy/lin_ops/backends/base.py:279
↓ 6 callers
Method
capacity
(self)
cvxpy/cvxcore/python/cvxcore.py:353
↓ 6 callers
Function
ceil
cvxpy/cvxcore/include/Eigen/src/Core/MathFunctions.h:1431
↓ 6 callers
Method
center
cvxpy/cvxcore/include/Eigen/src/Geometry/AlignedBox.h:152
↓ 6 callers
Function
cgetpos
cvxpy/cvxcore/python/cvxcore_wrap.cxx:5096
↓ 6 callers
Function
colIndexByOuterInner
cvxpy/cvxcore/include/Eigen/src/Core/AssignEvaluator.h:701
↓ 6 callers
Method
cols
cvxpy/cvxcore/include/Eigen/src/Core/Reshaped.h:178
↓ 6 callers
Method
cols
cvxpy/cvxcore/include/Eigen/src/PardisoSupport/PardisoSupport.h:139
↓ 6 callers
Method
colsPermutation
Get the permutation that was applied to columns of A
cvxpy/cvxcore/include/Eigen/src/SPQRSupport/SuiteSparseQRSupport.h:216
↓ 6 callers
Method
colwise
cvxpy/cvxcore/include/Eigen/src/Core/VectorwiseOp.h:762
↓ 6 callers
Method
combine
Concatenates the row, col, parameter_offset, and data fields of a list of TensorRepresentations.
cvxpy/lin_ops/backends/base.py:176
↓ 6 callers
Method
compute
* Compute the symbolic and numeric factorization of the input sparse matrix. * The input matrix should be in column-major storage. */
cvxpy/cvxcore/include/Eigen/src/SparseLU/SparseLU.h:182
↓ 6 callers
Method
const_to_matrix
Convert an arbitrary value into a matrix of type self.target_matrix. Args: value: The constant to be converted. conve
cvxpy/interface/base_matrix_interface.py:30
↓ 6 callers
Method
constraint_forward
Evaluate constraints only. Returns constraint_values array.
cvxpy/reductions/solvers/nlp_solvers/diff_engine/c_problem.py:84
↓ 6 callers
Function
coo_matmul
Matrix multiplication of two CooTensors. lhs has shape (param_size_lhs, m, k) per slice rhs has shape (param_size_rhs, k, n) per slice
cvxpy/lin_ops/backends/coo_backend.py:1085
↓ 6 callers
Method
diag_vec
Diagonal vector to matrix. Given (A, b) with n rows in view, add rows of zeros such that the original rows now correspond to the diag
cvxpy/lin_ops/backends/base.py:782
↓ 6 callers
Method
divide
cvxpy/cvxcore/include/Eigen/src/SVD/BDCSVD.h:411
↓ 6 callers
Function
eigen_neon_shuffle_mask
cvxpy/cvxcore/include/Eigen/src/Core/arch/NEON/PacketMath.h:111
↓ 6 callers
Method
end
cvxpy/cvxcore/include/Eigen/src/Core/StlIterators.h:437
↓ 6 callers
Method
eof
(self)
doc/sphinxext/docscrape.py:70
↓ 6 callers
Function
eq_mask
cvxpy/cvxcore/include/Eigen/src/Core/arch/GPU/PacketMath.h:165
↓ 6 callers
Method
evalTo
cvxpy/cvxcore/include/Eigen/src/SparseQR/SparseQR.h:625
↓ 6 callers
Function
eval_expr_given_size
Replace symbolic last/end "keywords" by their true runtime value
cvxpy/cvxcore/include/Eigen/src/Core/util/IndexedViewHelper.h:63
↓ 6 callers
Function
expand_complex
We expand the matrix A to B = [[Re(A), -Im(A)], [Im(A), Re(A)]]. The resulting matrix has special structure if A is Hermitian. Specifica
cvxpy/reductions/complex2real/canonicalizers/matrix_canon.py:36
← previous
next →
601–700 of 13,519, ranked by callers