powered by
Computes <sort(vec(X)), sort(vec(W))> where X is an expression and W is a constant. A generalization of sum_largest and sum_smallest.
<sort(vec(X)), sort(vec(W))>
sum_largest
sum_smallest
dotsort(X, W)
A scalar convex Expression.
An Expression or numeric value.
A constant numeric vector or matrix.