AssertThrow (total_volume > 0,
ExcEvaluationPointNotFound(evaluation_point));
- rhs.scale (1./total_volume);
+ rhs /= total_volume;
}
AssertThrow (total_volume > 0,
ExcEvaluationPointNotFound(evaluation_point));
- rhs.scale (1./total_volume);
+ rhs /= total_volume;
}
std::transform (v1.begin(), v1.end(), v2.begin(),
std::bind2nd (std::multiplies<double>(),
2.0));
- v2.scale (1./2.);
+ v2 *= 1./2.;
deallog << "Check 7: " << (v1 == v2 ? "true" : "false") << std::endl;
std::transform (v1.begin(), v1.end(), v2.begin(),
std::bind2nd (std::multiplies<std::complex<double> >(),
2.0));
- v2.scale (std::complex<double>(1./2.));
+ v2 *= std::complex<double>(1./2.);
deallog << "Check 7: " << (v1 == v2 ? "true" : "false") << std::endl;
d1.sadd (2, 2, d2, 2, d3);
print (d1);
- d1.scale (4.);
+ d1 *= 4.;
print (d1);
deallog << "equ" << std::endl;
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams