Lines Matching refs:sm1
241 sm1.real() sm1.imag() -sm1 0.5*sm1
242 sm1+sm2 sm1-sm2 sm1.cwiseProduct(sm2)
246 sm4 = sm1 + sm2 + sm3;
248 sm1, sm2, and sm3 must all be row-major or all column major.
258 sm2 = sm1.cwiseProduct(dm1);
259 dm1 += sm1;
262 However, it is not yet possible to add a sparse and a dense matrix as in <tt>dm2 = sm1 + dm1</tt>.
263 Please write this as the equivalent <tt>dm2 = dm1; dm2 += sm1</tt> (we plan to lift this restriction
268 sm1 = sm2.transpose();
269 sm1 = sm2.adjoint();
279 dv2 = sm1 * dv1;
280 dm2 = dm1 * sm1.adjoint();
281 dm2 = 2. * sm1 * dm1;
285 dm2 = sm1.selfadjointView<>() * dm1; // if all coefficients of A are stored
291 sm3 = sm1 * sm2;
292 sm3 = 4 * sm1.adjoint() * sm2;
296 sm3 = (sm1 * sm2).pruned(); // removes numerical zeros
297 sm3 = (sm1 * sm2).pruned(ref); // removes elements much smaller than ref
298 sm3 = (sm1 * sm2).pruned(ref,epsilon); // removes elements smaller than ref*epsilon
304 sm2 = P * sm1;
305 sm2 = sm1 * P.inverse();
306 sm2 = sm1.transpose() * P;
314 dm2 = sm1.triangularView<Lower>(dm1);
315 dv2 = sm1.transpose().triangularView<Upper>(dv1);
321 dm2 = sm1.selfadjointView<>() * dm1; // if all coefficients of A are stored
327 sm2 = sm1.selfadjointView<Upper>(); // makes a full selfadjoint matri…
328 sm2.selfadjointView<Lower>() = sm1.selfadjointView<Upper>(); // copies the upper triangular pa…