for (; m != end ; ++m)
{
- if (m->prefix==1.)
- {
- if (m->transpose)
- m->matrix->Tvmult_add(dst.block(m->row),
- src.block(m->col));
- else
- m->matrix->vmult_add(dst.block(m->row),
- src.block(m->col));
- } else {
- aux.reinit(dst.block(m->row));
- if (m->transpose)
- m->matrix->Tvmult(aux,
- src.block(m->col));
- else
- m->matrix->vmult(aux,
- src.block(m->col));
- dst.block(m->row).add (m->prefix, aux);
- }
+ aux.reinit(dst.block(m->row));
+ if (m->transpose)
+ m->matrix->Tvmult(aux, src.block(m->col));
+ else
+ m->matrix->vmult(aux, src.block(m->col));
+ dst.block(m->row).add (m->prefix, aux);
}
}
for (; m != end ; ++m)
{
- if (m->prefix==1.)
- {
- if (m->transpose)
- m->matrix->vmult_add(dst.block(m->col),
- src.block(m->row));
- else
- m->matrix->Tvmult_add(dst.block(m->col),
- src.block(m->row));
- } else {
- aux.reinit(dst.block(m->col));
- if (m->transpose)
- m->matrix->vmult(aux,
- src.block(m->row));
- else
- m->matrix->Tvmult(aux,
- src.block(m->row));
- dst.block(m->col).add (m->prefix, aux);
- }
+ aux.reinit(dst.block(m->col));
+ if (m->transpose)
+ m->matrix->vmult(aux, src.block(m->row));
+ else
+ m->matrix->Tvmult(aux, src.block(m->row));
+ dst.block(m->col).add (m->prefix, aux);
}
}