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 dm2 = sm1 + dm1;
260 dm2 = dm1 - sm1;
262 …is better performed in two steps. For instance, instead of doing <tt>dm2 = sm1 + dm1</tt>, better …
265 dm2 += sm1;
272 sm1 = sm2.transpose();
273 sm1 = sm2.adjoint();
283 dv2 = sm1 * dv1;
284 dm2 = dm1 * sm1.adjoint();
285 dm2 = 2. * sm1 * dm1;
289 dm2 = sm1.selfadjointView<>() * dm1; // if all coefficients of A are stored
295 sm3 = sm1 * sm2;
296 sm3 = 4 * sm1.adjoint() * sm2;
300 sm3 = (sm1 * sm2).pruned(); // removes numerical zeros
301 sm3 = (sm1 * sm2).pruned(ref); // removes elements much smaller than ref
302 sm3 = (sm1 * sm2).pruned(ref,epsilon); // removes elements smaller than ref*epsilon
308 sm2 = P * sm1;
309 sm2 = sm1 * P.inverse();
310 sm2 = sm1.transpose() * P;
319 SparseMatrix<double,ColMajor> sm1;
320 sm1.col(j) = ...;
321 sm1.leftCols(ncols) = ...;
322 sm1.middleCols(j,ncols) = ...;
323 sm1.rightCols(ncols) = ...;
338 dm2 = sm1.triangularView<Lower>(dm1);
339 dv2 = sm1.transpose().triangularView<Upper>(dv1);
345 dm2 = sm1.selfadjointView<>() * dm1; // if all coefficients of A are stored
351 sm2 = sm1.selfadjointView<Upper>(); // makes a full selfadjoint matri…
352 sm2.selfadjointView<Lower>() = sm1.selfadjointView<Upper>(); // copies the upper triangular pa…