AssertThrow (info==0, LAPACKSupport::ExcErrorCode("gesdd", info));
// Resize the work array. Add one to the size computed by LAPACK to be on
// the safe side.
- lwork = static_cast<int>(std::fabs(work[0]) + 1);
+ lwork = static_cast<int>(std::abs(work[0]) + 1);
work.resize(lwork);
// Do the actual SVD.
Assert (state==LAPACKSupport::svd, ExcState(state));
- const double lim = std::fabs(wr[0])*threshold;
+ const double lim = std::abs(wr[0])*threshold;
for (size_type i=0; i<wr.size(); ++i)
{
- if (std::fabs(wr[i]) > lim)
+ if (std::abs(wr[i]) > lim)
wr[i] = number(1.)/wr[i];
else
wr[i] = 0.;
Assert (info == 0, ExcInternalError());
// Allocate working array according to suggestion (same strategy as was
// noted in compute_svd).
- lwork = static_cast<int>(std::fabs(work[0]) + 1);
+ lwork = static_cast<int>(std::abs(work[0]) + 1);
// resize workspace array
work.resize((size_type ) lwork);
Assert (info == 0, ExcInternalError());
// Allocate working array according to suggestion (same strategy as was noted in
// compute_svd).
- lwork = static_cast<int>(std::fabs(work[0]) + 1);
+ lwork = static_cast<int>(std::abs(work[0]) + 1);
work.resize(static_cast<size_type> (lwork));
// Finally compute the eigenvalues.
Assert (info == 0, ExcInternalError());
// Allocate working array according to suggestion (same strategy as was
// noted in compute_svd).
- lwork = static_cast<int>(std::fabs(work[0]) + 1);
+ lwork = static_cast<int>(std::abs(work[0]) + 1);
// resize workspace arrays
work.resize(static_cast<size_type> (lwork));
Assert (info == 0, ExcInternalError());
// Allocate working array according to suggestion (same strategy as was
// noted in compute_svd).
- lwork = static_cast<int>(std::fabs(work[0]) + 1);
+ lwork = static_cast<int>(std::abs(work[0]) + 1);
// resize workspace array
work.resize(static_cast<size_type>(lwork));
// since there is no isnan on complex numbers
if (std::isnan(std::abs((*this)(i,j))))
out << std::setw(width) << (*this)(i,j) << ' ';
- else if (std::fabs(this->el(i,j)) > threshold)
+ else if (std::abs(this->el(i,j)) > threshold)
out << std::setw(width)
<< this->el(i,j) * denominator << ' ';
else