n.ki_nzs&lt;0) || <span class="keyword">...</span>
0113         ~isfield(pen,<span class="string">'ki_val'</span>) || ~isfield(pen,<span class="string">'ki_col'</span>) || <span class="keyword">...</span>
0114         ~isfield(pen,<span class="string">'ki_row'</span>))
0115         error(<span class="string">'Input: incomplete bilinear matrix terms K_ij^k.'</span>);
0116       <span class="keyword">end</span>
0117     <span class="keyword">else</span>
0118       <span class="comment">% bilinear SDP terms mi