sedumipy.amul¶
Port of Amul.m: y = A*x or A’*x, with a correction for columns that were pulled out of the sparse A into a separate dense matrix (the “dense columns” bookkeeping – see dense.cols/dense.A, produced by getdense.m, not yet ported; a dense dict with empty cols skips the correction entirely, same as the .m file’s own if ~isempty(dense.cols) guard).
Functions
|
y = amul(At,dense,x,transp): transp=False computes A*x (x has length m, y has length N); transp=True computes A'*x (x has length N, y has length m). At is stored transposed (N x m), matching SeDuMi's own convention. |