37 namespace LAPACKFullMatrixImplementation
51 std::vector<T> & real_part_eigenvalues,
52 std::vector<T> & imag_part_eigenvalues,
53 std::vector<T> & left_eigenvectors,
54 std::vector<T> & right_eigenvectors,
55 std::vector<T> & real_work,
60 static_assert(std::is_same<T, double>::value ||
61 std::is_same<T, float>::value,
62 "Only implemented for double and float");
63 Assert(
matrix.size() ==
static_cast<std::size_t
>(n_rows * n_rows),
65 Assert(
static_cast<std::size_t
>(n_rows) <= real_part_eigenvalues.size(),
67 Assert(
static_cast<std::size_t
>(n_rows) <= imag_part_eigenvalues.size(),
70 Assert(
static_cast<std::size_t
>(n_rows * n_rows) <=
71 left_eigenvectors.size(),
74 Assert(
static_cast<std::size_t
>(n_rows * n_rows) <=
75 right_eigenvectors.size(),
78 static_cast<std::size_t
>(2 * n_rows) <= real_work.size(),
80 Assert(work_flag == -1 || std::max<long int>(1, 3 * n_rows) <= work_flag,
87 real_part_eigenvalues.data(),
88 imag_part_eigenvalues.data(),
89 left_eigenvectors.data(),
91 right_eigenvectors.data(),
106 std::vector<std::complex<T>> &left_eigenvectors,
107 std::vector<std::complex<T>> &right_eigenvectors,
108 std::vector<std::complex<T>> &complex_work,
109 std::vector<T> & real_work,
114 std::is_same<T, double>::value || std::is_same<T, float>::value,
115 "Only implemented for std::complex<double> and std::complex<float>");
116 Assert(
matrix.size() ==
static_cast<std::size_t
>(n_rows * n_rows),
121 Assert(
static_cast<std::size_t
>(n_rows * n_rows) <=
122 left_eigenvectors.size(),
125 Assert(
static_cast<std::size_t
>(n_rows * n_rows) <=
126 right_eigenvectors.size(),
128 Assert(std::max<std::size_t>(1, work_flag) <= real_work.size(),
131 std::max<long int>(1, 2 * n_rows) <= (work_flag),
140 left_eigenvectors.data(),
142 right_eigenvectors.data(),
152 template <
typename T>
158 std::vector<T> & singular_values,
161 std::vector<T> & real_work,
163 std::vector<types::blas_int> &integer_work,
167 Assert(job ==
'A' || job ==
'S' || job ==
'O' || job ==
'N',
169 Assert(
static_cast<std::size_t
>(n_rows * n_cols) ==
matrix.size(),
171 Assert(std::min<std::size_t>(n_rows, n_cols) <= singular_values.size(),
173 Assert(8 * std::min<std::size_t>(n_rows, n_cols) <= integer_work.size(),
176 static_cast<std::size_t
>(work_flag) <= real_work.size(),
183 singular_values.data(),
186 right_vectors.data(),
196 template <
typename T>
202 std::vector<T> & singular_values,
205 std::vector<std::complex<T>> & work,
206 std::vector<T> & real_work,
207 std::vector<types::blas_int> & integer_work,
211 Assert(job ==
'A' || job ==
'S' || job ==
'O' || job ==
'N',
213 Assert(
static_cast<std::size_t
>(n_rows * n_cols) ==
matrix.size(),
216 singular_values.size(),
218 Assert(8 * std::min<std::size_t>(n_rows, n_cols) <= integer_work.size(),
221 static_cast<std::size_t
>(work_flag) <= real_work.size(),
229 singular_values.data(),
232 right_vectors.data(),
243template <
typename number>
251template <
typename number>
259template <
typename number>
267template <
typename number>
279template <
typename number>
289template <
typename number>
298 (*
this)(i, j) =
copy(i, j);
303template <
typename number>
306 const std::array<number, 3> &csr,
319 const number t =
A(i, j);
320 A(i, j) = csr[0] *
A(i, j) + csr[1] *
A(k, j);
321 A(k, j) = -csr[1] * t + csr[0] *
A(k, j);
328 const number t =
A(j, i);
329 A(j, i) = csr[0] *
A(j, i) + csr[1] *
A(j, k);
330 A(j, k) = -csr[1] * t + csr[0] *
A(j, k);
337template <
typename number>
353 const size_type jj = (j < col ? j : j + 1);
356 const size_type ii = (i < row ? i : i + 1);
357 (*this)(i, j) =
copy(ii, jj);
364template <
typename number>
373template <
typename number>
374template <
typename number2>
380 for (
size_type i = 0; i < this->m(); ++i)
381 for (
size_type j = 0; j < this->n(); ++j)
382 (*
this)(i, j) = M(i, j);
390template <
typename number>
391template <
typename number2>
397 for (
size_type i = 0; i < this->m(); ++i)
398 for (
size_type j = 0; j < this->n(); ++j)
399 (*
this)(i, j) = M.
el(i, j);
407template <
typename number>
414 if (this->n_elements() != 0)
415 this->reset_values();
422template <
typename number>
431 const char type =
'G';
432 const number cfrom = 1.;
439 number *
values = this->values.data();
441 lascl(&type, &kl, &kl, &cfrom, &factor, &m, &n,
values, &lda, &info);
450template <
typename number>
461 const char type =
'G';
462 const number cto = 1.;
469 number *
values = this->values.data();
471 lascl(&type, &kl, &kl, &factor, &cto, &m, &n,
values, &lda, &info);
481template <
typename number>
499 number *
values = this->values.data();
500 const number * values_A =
A.values.data();
509 template <
typename number>
538 const std::array<number, 3> csr =
544 const number t =
A(i, k);
545 A(i, k) = csr[0] *
A(i, k) + csr[1] * z(i);
546 z(i) = -csr[1] * t + csr[0] * z(i);
581 const std::array<number, 3> csr =
587 const number t =
A(i, k);
588 A(i, k) = csr[0] *
A(i, k) - csr[1] * z(i);
589 z(i) = -csr[1] * t + csr[0] * z(i);
596 template <
typename number>
599 const std::complex<number> ,
600 const Vector<std::complex<number>> & )
608template <
typename number>
627 syr(&uplo, &
N, &a, v.
begin(), &incx, this->values.begin(), &lda);
636 (*
this)(i, j) = (*
this)(j, i);
640 cholesky_rank1(*
this, a, v);
648template <
typename number>
652 const bool adding)
const
656 const number alpha = 1.;
657 const number beta = (adding ? 1. : 0.);
658 const number null = 0.;
662 (mm == nn) && state ==
matrix)
669 const char diag =
'N';
670 const char trans =
'N';
681 &uplo, &trans, &diag, &
N, this->values.data(), &lda,
w.data(), &incx);
709 std::lock_guard<std::mutex> lock(mutex);
718 svd_vt->values.data(),
726 for (
size_type i = 0; i < wr.size(); ++i)
733 svd_u->values.data(),
744 std::lock_guard<std::mutex> lock(mutex);
753 svd_u->values.data(),
761 for (
size_type i = 0; i < wr.size(); ++i)
768 svd_vt->values.data(),
783template <
typename number>
787 const bool adding)
const
791 const number alpha = 1.;
792 const number beta = (adding ? 1. : 0.);
793 const number null = 0.;
797 (mm == nn) && state ==
matrix)
804 const char diag =
'N';
805 const char trans =
'T';
816 &uplo, &trans, &diag, &
N, this->values.data(), &lda,
w.data(), &incx);
845 std::lock_guard<std::mutex> lock(mutex);
855 svd_u->values.data(),
863 for (
size_type i = 0; i < wr.size(); ++i)
870 svd_vt->values.data(),
881 std::lock_guard<std::mutex> lock(mutex);
891 svd_vt->values.data(),
899 for (
size_type i = 0; i < wr.size(); ++i)
906 svd_u->values.data(),
921template <
typename number>
930template <
typename number>
939template <
typename number>
943 const bool adding)
const
954 const number alpha = 1.;
955 const number beta = (adding ? 1. : 0.);
973template <
typename number>
977 const bool adding)
const
987 const number alpha = 1.;
988 const number beta = (adding ? 1. : 0.);
1000 this->values.data(),
1009template <
typename number>
1014 const bool adding)
const
1036 std::lock_guard<std::mutex> lock(mutex);
1038 work.resize(kk * nn);
1047 work[j * kk + i] =
V(i) * B(i, j);
1051 const number alpha = 1.;
1052 const number beta = (adding ? 1. : 0.);
1060 this->values.data(),
1071template <
typename number>
1080#ifdef DEAL_II_LAPACK_WITH_MKL
1081 const number
one = 1.;
1091template <
typename number>
1108template <
typename number>
1112 const bool adding)
const
1123 const number alpha = 1.;
1124 const number beta = (adding ? 1. : 0.);
1133 this->values.data(),
1154 this->values.data(),
1165template <
typename number>
1169 const bool adding)
const
1179 const number alpha = 1.;
1180 const number beta = (adding ? 1. : 0.);
1192 this->values.data(),
1200template <
typename number>
1204 const bool adding)
const
1215 const number alpha = 1.;
1216 const number beta = (adding ? 1. : 0.);
1225 this->values.data(),
1246 this->values.data(),
1258template <
typename number>
1262 const bool adding)
const
1272 const number alpha = 1.;
1273 const number beta = (adding ? 1. : 0.);
1285 this->values.data(),
1293template <
typename number>
1297 const bool adding)
const
1308 const number alpha = 1.;
1309 const number beta = (adding ? 1. : 0.);
1317 this->values.data(),
1327template <
typename number>
1331 const bool adding)
const
1341 const number alpha = 1.;
1342 const number beta = (adding ? 1. : 0.);
1354 this->values.data(),
1362template <
typename number>
1371 number *
const values = this->values.data();
1386template <
typename number>
1395template <
typename number>
1399 const char type(
'O');
1405template <
typename number>
1409 const char type(
'I');
1415template <
typename number>
1419 const char type(
'F');
1425template <
typename number>
1429 std::lock_guard<std::mutex> lock(mutex);
1433 ExcMessage(
"norms can be called in matrix state only."));
1437 const number *
const values = this->values.data();
1442 (type ==
'I' || type ==
'O') ? std::max<types::blas_int>(1,
N) : 0;
1450 (type ==
'I') ? std::max<types::blas_int>(1, M) : 0;
1452 return lange(&type, &M, &
N,
values, &lda, work.data());
1458template <
typename number>
1464 ExcMessage(
"Trace can be called in matrix state only."));
1468 for (
size_type i = 0; i < this->m(); ++i)
1469 tr += (*
this)(i, i);
1476template <
typename number>
1489 number *
const values = this->values.data();
1503template <
typename number>
1507 std::lock_guard<std::mutex> lock(mutex);
1512 const number *
values = this->values.data();
1536template <
typename number>
1540 std::lock_guard<std::mutex> lock(mutex);
1546 const number *
const values = this->values.data();
1552 const char norm =
'1';
1553 const char diag =
'N';
1574template <
typename number>
1584 std::fill(wr.begin(), wr.end(), 0.);
1585 ipiv.resize(8 * mm);
1587 svd_u = std::make_unique<LAPACKFullMatrix<number>>(mm, mm);
1588 svd_vt = std::make_unique<LAPACKFullMatrix<number>>(nn, nn);
1596 std::vector<typename numbers::NumberTraits<number>::real_type> real_work;
1650template <
typename number>
1660 const double lim =
std::abs(wr[0]) * threshold;
1661 for (
size_type i = 0; i < wr.size(); ++i)
1664 wr[i] =
one / wr[i];
1673template <
typename number>
1676 const unsigned int kernel_size)
1684 const unsigned int n_wr = wr.size();
1685 for (
size_type i = 0; i < n_wr - kernel_size; ++i)
1686 wr[i] =
one / wr[i];
1687 for (
size_type i = n_wr - kernel_size; i < n_wr; ++i)
1694template <
typename number>
1703 number *
const values = this->values.data();
1709 compute_lu_factorization();
1712 inv_work.resize(mm);
1713 getri(&mm,
values, &mm, ipiv.data(), inv_work.data(), &mm, &info);
1718 compute_cholesky_factorization();
1726 this->el(i, j) = this->el(j, i);
1737template <
typename number>
1743 const char * trans = transposed ? &
T : &
N;
1745 const number *
const values = this->values.data();
1752 trans, &nn, &n_rhs,
values, &nn, ipiv.data(), v.
begin(), &nn, &info);
1766 &uplo, trans,
"N", &nn, &n_rhs,
values, &lda, v.
begin(), &ldb, &info);
1772 "The matrix has to be either factorized or triangular."));
1780template <
typename number>
1783 const bool transposed)
const
1789 const char * trans = transposed ? &
T : &
N;
1791 const number *
const values = this->values.data();
1840 "The matrix has to be either factorized or triangular."));
1848template <
typename number>
1872 for (
size_type i = 0; i < this->m(); ++i)
1874 (ipiv[i] ==
types::blas_int(i + 1) ? this->el(i, i) : -this->el(i, i));
1879template <
typename number>
1894 const char jobvr = (right) ?
V :
N;
1895 const char jobvl = (left) ?
V :
N;
1909 std::vector<typename numbers::NumberTraits<number>::real_type> real_work;
1912 real_work.resize(2 * this->m());
1953 std::cerr <<
"LAPACK error in geev" << std::endl;
1959template <
typename number>
1963 const number upper_bound,
1964 const number abs_accuracy,
1975 number *
const values_A = this->values.data();
1976 number *
const values_eigenvectors = matrix_eigenvectors.
values.
data();
1979 const char *
const jobz(&
V);
1980 const char *
const uplo(&
U);
1981 const char *
const range(&
V);
1983 std::vector<types::blas_int> iwork(
static_cast<size_type>(5 * nn));
1984 std::vector<types::blas_int> ifail(
static_cast<size_type>(nn));
2011 values_eigenvectors,
2024 work.resize(
static_cast<size_type>(lwork));
2040 values_eigenvectors,
2051 std::cerr <<
"LAPACK error in syevx" << std::endl;
2056 for (
size_type i = 0; i < static_cast<size_type>(n_eigenpairs); ++i)
2060 for (
size_type j = 0; j < static_cast<size_type>(nn); ++j)
2062 eigenvectors(j, i) = values_eigenvectors[col_begin + j];
2070template <
typename number>
2075 const number upper_bound,
2076 const number abs_accuracy,
2090 number *
const values_A = this->values.data();
2092 number *
const values_eigenvectors = matrix_eigenvectors.
values.
data();
2095 const char *
const jobz(&
V);
2096 const char *
const uplo(&
U);
2097 const char *
const range(&
V);
2099 iwork.resize(
static_cast<size_type>(5 * nn));
2100 std::vector<types::blas_int> ifail(
static_cast<size_type>(nn));
2130 values_eigenvectors,
2145 work.resize(
static_cast<size_type>(lwork));
2164 values_eigenvectors,
2175 std::cerr <<
"LAPACK error in sygvx" << std::endl;
2180 for (
size_type i = 0; i < static_cast<size_type>(n_eigenpairs); ++i)
2185 for (
size_type j = 0; j < static_cast<size_type>(nn); ++j)
2187 eigenvectors[i](j) = values_eigenvectors[col_begin + j];
2195template <
typename number>
2208 ExcMessage(
"eigenvectors.size() > matrix.n()"));
2214 number *
const values_A = this->values.data();
2219 const char *
const jobz = (
eigenvectors.size() > 0) ? (&
V) : (&
N);
2220 const char *
const uplo = (&
U);
2253 work.resize(
static_cast<size_type>(lwork));
2272 std::cerr <<
"LAPACK error in sygv" << std::endl;
2278 for (
size_type j = 0; j < static_cast<size_type>(nn); ++j)
2287template <
typename number>
2290 const unsigned int precision,
2291 const bool scientific,
2292 const unsigned int width_,
2293 const char * zero_string,
2294 const double denominator,
2295 const double threshold)
const
2297 unsigned int width = width_;
2307 std::ios::fmtflags old_flags = out.flags();
2308 std::streamsize old_precision = out.precision(precision);
2312 out.setf(std::ios::scientific, std::ios::floatfield);
2314 width = precision + 7;
2318 out.setf(std::ios::fixed, std::ios::floatfield);
2320 width = precision + 2;
2323 for (
size_type i = 0; i < this->m(); ++i)
2330 if (std::isnan(
std::abs((*
this)(i, j))))
2331 out << std::setw(width) << (*this)(i, j) <<
' ';
2332 else if (
std::abs(this->el(i, j)) > threshold)
2333 out << std::setw(width) << this->el(i, j) * denominator <<
' ';
2335 out << std::setw(width) << zero_string <<
' ';
2341 out.flags(old_flags);
2342 out.precision(old_precision);
2348template <
typename number>
2357template <
typename number>
2367template <
typename number>
2373 matrix->solve(dst,
false);
2377template <
typename number>
2383 matrix->solve(dst,
true);
2387template <
typename number>
2395 matrix->solve(*aux,
false);
2400template <
typename number>
2408 matrix->solve(*aux,
true);
2414#include "lapack_full_matrix.inst"
void omatcopy(char, char, ::types::blas_int, ::types::blas_int, const number1, const number2 *, ::types::blas_int, number3 *, ::types::blas_int)
LAPACKFullMatrix< number > & operator*=(const number factor)
number reciprocal_condition_number() const
void Tmmult(LAPACKFullMatrix< number > &C, const LAPACKFullMatrix< number > &B, const bool adding=false) const
void scale_rows(const Vector< number > &V)
void add(const number a, const LAPACKFullMatrix< number > &B)
void Tvmult(Vector< number2 > &w, const Vector< number2 > &v, const bool adding=false) const
void transpose(LAPACKFullMatrix< number > &B) const
void mTmult(LAPACKFullMatrix< number > &C, const LAPACKFullMatrix< number > &B, const bool adding=false) const
void compute_eigenvalues_symmetric(const number lower_bound, const number upper_bound, const number abs_accuracy, Vector< number > &eigenvalues, FullMatrix< number > &eigenvectors)
void vmult(Vector< number2 > &w, const Vector< number2 > &v, const bool adding=false) const
void reinit(const size_type size)
std::make_unsigned< types::blas_int >::type size_type
void compute_cholesky_factorization()
LAPACKFullMatrix< number > & operator=(const LAPACKFullMatrix< number > &)
void compute_lu_factorization()
void print_formatted(std::ostream &out, const unsigned int precision=3, const bool scientific=true, const unsigned int width=0, const char *zero_string=" ", const double denominator=1., const double threshold=0.) const
void grow_or_shrink(const size_type size)
void apply_givens_rotation(const std::array< number, 3 > &csr, const size_type i, const size_type k, const bool left=true)
void set_property(const LAPACKSupport::Property property)
number norm(const char type) const
void solve(Vector< number > &v, const bool transposed=false) const
void compute_eigenvalues(const bool right_eigenvectors=false, const bool left_eigenvectors=false)
LAPACKSupport::State state
number frobenius_norm() const
LAPACKFullMatrix(const size_type size=0)
LAPACKSupport::Property property
void compute_inverse_svd(const double threshold=0.)
void compute_generalized_eigenvalues_symmetric(LAPACKFullMatrix< number > &B, const number lower_bound, const number upper_bound, const number abs_accuracy, Vector< number > &eigenvalues, std::vector< Vector< number > > &eigenvectors, const types::blas_int itype=1)
void vmult_add(Vector< number2 > &w, const Vector< number2 > &v) const
number linfty_norm() const
void TmTmult(LAPACKFullMatrix< number > &C, const LAPACKFullMatrix< number > &B, const bool adding=false) const
void compute_inverse_svd_with_kernel(const unsigned int kernel_size)
void Tvmult_add(Vector< number2 > &w, const Vector< number2 > &v) const
void rank1_update(const number a, const Vector< number > &v)
void remove_row_and_column(const size_type row, const size_type col)
LAPACKFullMatrix< number > & operator/=(const number factor)
number determinant() const
void mmult(LAPACKFullMatrix< number > &C, const LAPACKFullMatrix< number > &B, const bool adding=false) const
void vmult(Vector< number > &, const Vector< number > &) const
void initialize(const LAPACKFullMatrix< number > &)
void Tvmult(Vector< number > &, const Vector< number > &) const
number el(const size_type i, const size_type j) const
std::array< Number, 1 > eigenvalues(const SymmetricTensor< 2, 1, Number > &T)
std::array< std::pair< Number, Tensor< 1, dim, Number > >, std::integral_constant< int, dim >::value > eigenvectors(const SymmetricTensor< 2, dim, Number > &T, const SymmetricTensorEigenvectorMethod method=SymmetricTensorEigenvectorMethod::ql_implicit_shifts)
TableBase< N, T > & operator=(const TableBase< N, T > &src)
AlignedVector< T > values
void reinit(const size_type size1, const size_type size2, const bool omit_default_initialization=false)
VectorizedArray< Number, width > max(const ::VectorizedArray< Number, width > &x, const ::VectorizedArray< Number, width > &y)
VectorizedArray< Number, width > min(const ::VectorizedArray< Number, width > &x, const ::VectorizedArray< Number, width > &y)
#define DEAL_II_NAMESPACE_OPEN
#define DEAL_II_NAMESPACE_CLOSE
static ::ExceptionBase & ExcIO()
static ::ExceptionBase & ExcZero()
static ::ExceptionBase & ExcNotImplemented()
static ::ExceptionBase & ExcErrorCode(std::string arg1, types::blas_int arg2)
static ::ExceptionBase & ExcScalarAssignmentOnlyForZeroValue()
static ::ExceptionBase & ExcProperty(Property arg1)
#define Assert(cond, exc)
static ::ExceptionBase & ExcSingular()
#define AssertIsFinite(number)
#define AssertDimension(dim1, dim2)
#define AssertIndexRange(index, range)
static ::ExceptionBase & ExcInternalError()
static ::ExceptionBase & ExcDimensionMismatch(std::size_t arg1, std::size_t arg2)
static ::ExceptionBase & ExcNotInitialized()
static ::ExceptionBase & ExcNotQuadratic()
static ::ExceptionBase & ExcMessage(std::string arg1)
static ::ExceptionBase & ExcState(State arg1)
#define AssertThrow(cond, exc)
void getrs(const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, const ::types::blas_int *, number2 *, const ::types::blas_int *, ::types::blas_int *)
void syrk(const char *, const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const number2 *, const ::types::blas_int *, const number3 *, number4 *, const ::types::blas_int *)
void geev(const char *, const char *, const ::types::blas_int *, number1 *, const ::types::blas_int *, number2 *, number3 *, number4 *, const ::types::blas_int *, number5 *, const ::types::blas_int *, number6 *, const ::types::blas_int *, ::types::blas_int *)
void gemm(const char *, const char *, const ::types::blas_int *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const number2 *, const ::types::blas_int *, const number3 *, const ::types::blas_int *, const number4 *, number5 *, const ::types::blas_int *)
void pocon(const char *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, const number2 *, number3 *, number4 *, ::types::blas_int *, ::types::blas_int *)
void lascl(const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const number2 *, const ::types::blas_int *, const ::types::blas_int *, number3 *, const ::types::blas_int *, ::types::blas_int *)
void syr(const char *, const ::types::blas_int *, const number1 *, const number2 *, const ::types::blas_int *, number3 *, const ::types::blas_int *)
void trtrs(const char *, const char *, const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, number2 *, const ::types::blas_int *, ::types::blas_int *)
void syevx(const char *, const char *, const char *, const ::types::blas_int *, number1 *, const ::types::blas_int *, const number2 *, const number3 *, const ::types::blas_int *, const ::types::blas_int *, const number4 *, ::types::blas_int *, number5 *, number6 *, const ::types::blas_int *, number7 *, const ::types::blas_int *, ::types::blas_int *, ::types::blas_int *, ::types::blas_int *)
void trcon(const char *, const char *, const char *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, number2 *, number3 *, ::types::blas_int *, ::types::blas_int *)
void gesdd(const char *, const ::types::blas_int *, const ::types::blas_int *, number1 *, const ::types::blas_int *, number2 *, number3 *, const ::types::blas_int *, number4 *, const ::types::blas_int *, number5 *, const ::types::blas_int *, ::types::blas_int *, ::types::blas_int *)
void axpy(const ::types::blas_int *, const number1 *, const number2 *, const ::types::blas_int *, number3 *, const ::types::blas_int *)
void trmv(const char *, const char *, const char *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, number2 *, const ::types::blas_int *)
void sygvx(const ::types::blas_int *, const char *, const char *, const char *, const ::types::blas_int *, number1 *, const ::types::blas_int *, number2 *, const ::types::blas_int *, const number3 *, const number4 *, const ::types::blas_int *, const ::types::blas_int *, const number5 *, ::types::blas_int *, number6 *, number7 *, const ::types::blas_int *, number8 *, const ::types::blas_int *, ::types::blas_int *, ::types::blas_int *, ::types::blas_int *)
void gemv(const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const number2 *, const ::types::blas_int *, const number3 *, const ::types::blas_int *, const number4 *, number5 *, const ::types::blas_int *)
number1 lange(const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, number2 *)
void potrs(const char *, const ::types::blas_int *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, number2 *, const ::types::blas_int *, ::types::blas_int *)
void sygv(const ::types::blas_int *, const char *, const char *, const ::types::blas_int *, number1 *, const ::types::blas_int *, number2 *, const ::types::blas_int *, number3 *, number4 *, const ::types::blas_int *, ::types::blas_int *)
void potri(const char *, const ::types::blas_int *, number1 *, const ::types::blas_int *, ::types::blas_int *)
number1 lansy(const char *, const char *, const ::types::blas_int *, const number1 *, const ::types::blas_int *, number2 *)
void potrf(const char *, const ::types::blas_int *, number1 *, const ::types::blas_int *, ::types::blas_int *)
void getrf(const ::types::blas_int *, const ::types::blas_int *, number1 *, const ::types::blas_int *, ::types::blas_int *, ::types::blas_int *)
void getri(const ::types::blas_int *, number1 *, const ::types::blas_int *, const ::types::blas_int *, number2 *, const ::types::blas_int *, ::types::blas_int *)
@ cholesky
Contents is a Cholesky decomposition.
@ lu
Contents is an LU decomposition.
@ matrix
Contents is actually a matrix.
@ unusable
Contents is something useless.
@ inverse_matrix
Contents is the inverse of a matrix.
@ svd
Matrix contains singular value decomposition,.
@ inverse_svd
Matrix is the inverse of a singular value decomposition.
@ eigenvalues
Eigenvalue vector is filled.
@ symmetric
Matrix is symmetric.
@ upper_triangular
Matrix is upper triangular.
@ lower_triangular
Matrix is lower triangular.
@ general
No special properties.
static const types::blas_int one
types::global_dof_index size_type
double norm(const FEValuesBase< dim > &fe, const ArrayView< const std::vector< Tensor< 1, dim > > > &Du)
SymmetricTensor< 2, dim, Number > C(const Tensor< 2, dim, Number > &F)
Tensor< 2, dim, Number > w(const Tensor< 2, dim, Number > &F, const Tensor< 2, dim, Number > &dF_dt)
SymmetricTensor< 2, dim, Number > d(const Tensor< 2, dim, Number > &F, const Tensor< 2, dim, Number > &dF_dt)
std::array< NumberType, 3 > givens_rotation(const NumberType &x, const NumberType &y)
std::array< NumberType, 3 > hyperbolic_rotation(const NumberType &x, const NumberType &y)
Iterator lower_bound(Iterator first, Iterator last, const T &val)
void gesdd_helper(const char job, const types::blas_int n_rows, const types::blas_int n_cols, AlignedVector< T > &matrix, std::vector< T > &singular_values, AlignedVector< T > &left_vectors, AlignedVector< T > &right_vectors, std::vector< T > &real_work, std::vector< T > &, std::vector< types::blas_int > &integer_work, const types::blas_int work_flag, types::blas_int &info)
void geev_helper(const char vl, const char vr, AlignedVector< T > &matrix, const types::blas_int n_rows, std::vector< T > &real_part_eigenvalues, std::vector< T > &imag_part_eigenvalues, std::vector< T > &left_eigenvectors, std::vector< T > &right_eigenvectors, std::vector< T > &real_work, std::vector< T > &, const types::blas_int work_flag, types::blas_int &info)
void copy(const T *begin, const T *end, U *dest)
::VectorizedArray< Number, width > min(const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)
::VectorizedArray< Number, width > max(const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)
::VectorizedArray< Number, width > sqrt(const ::VectorizedArray< Number, width > &)
::VectorizedArray< Number, width > abs(const ::VectorizedArray< Number, width > &)
static bool equal(const T *p1, const T *p2)
static constexpr const number & conjugate(const number &x)