Nektar++
Loading...
Searching...
No Matches
Functions
Lapack Namespace Reference

Functions

void F77NAME() dgesv (const int &n, const int &nrhs, double *a, const int &lda, int *ipiv, double *b, const int &ldb, int &info)
 
void F77NAME() dsptrf (const char &uplo, const int &n, double *ap, int *ipiv, int &info)
 
void F77NAME() ssptrf (const char &uplo, const int &n, float *ap, int *ipiv, int &info)
 
void F77NAME() dsptrs (const char &uplo, const int &n, const int &nrhs, const double *ap, const int *ipiv, double *b, const int &ldb, int &info)
 
void F77NAME() ssptrs (const char &uplo, const int &n, const int &nrhs, const float *ap, const int *ipiv, float *b, const int &ldb, int &info)
 
void F77NAME() dsptri (const char &uplo, const int &n, const double *ap, const int *ipiv, double *work, int &info)
 
void F77NAME() ssptri (const char &uplo, const int &n, const float *ap, const int *ipiv, float *work, int &info)
 
void F77NAME() dtrtrs (const char &uplo, const char &trans, const char &diag, const int &n, const int &nrhs, const double *a, const int &lda, double *b, const int &ldb, int &info)
 
void F77NAME() dtptrs (const char &uplo, const char &trans, const char &diag, const int &n, const int &nrhs, const double *a, double *b, const int &ldb, int &info)
 
void F77NAME() dpptrf (const char &uplo, const int &n, double *ap, int &info)
 
void F77NAME() dpptrs (const char &uplo, const int &n, const int &nrhs, const double *ap, double *b, const int &ldb, int &info)
 
void F77NAME() dpbtrf (const char &uplo, const int &n, const int &kd, double *ab, const int &ldab, int &info)
 
void F77NAME() dpbtrs (const char &uplo, const int &n, const int &kd, const int &nrhs, const double *ab, const int &ldab, double *b, const int &ldb, int &info)
 
void F77NAME() dgbtrf (const int &m, const int &n, const int &kl, const int &ku, double *a, const int &lda, int *ipiv, int &info)
 
void F77NAME() dgbtrs (const char &trans, const int &n, const int &kl, const int &ku, const int &nrhs, const double *a, const int &lda, const int *ipiv, double *b, const int &ldb, int &info)
 
void F77NAME() dgetrf (const int &m, const int &n, double *a, const int &lda, int *ipiv, int &info)
 
void F77NAME() sgetrf (const int &m, const int &n, float *a, const int &lda, int *ipiv, int &info)
 
void F77NAME() dgetrs (const char &trans, const int &n, const int &nrhs, const double *a, const int &lda, int *ipiv, double *b, const int &ldb, int &info)
 
void F77NAME() dgetri (const int &n, double *a, const int &lda, const int *ipiv, double *wk, const int &lwk, int &info)
 
void F77NAME() sgetri (const int &n, float *a, const int &lda, const int *ipiv, float *wk, const int &lwk, int &info)
 
void F77NAME() dsterf (const int &n, double *d, double *e, int &info)
 
void F77NAME() dgeev (const char &uplo, const char &lrev, const int &n, const double *a, const int &lda, double *wr, double *wi, double *rev, const int &ldr, double *lev, const int &ldv, double *work, const int &lwork, int &info)
 
void F77NAME() sgeev (const char &uplo, const char &lrev, const int &n, const float *a, const int &lda, float *wr, float *wi, float *rev, const int &ldr, float *lev, const int &ldv, float *work, const int &lwork, int &info)
 
void F77NAME() dspev (const char &jobz, const char &uplo, const int &n, double *ap, double *w, double *z, const int &ldz, double *work, int &info)
 
void F77NAME() dsbev (const char &jobz, const char &uplo, const int &kl, const int &ku, double *ap, const int &lda, double *w, double *z, const int &ldz, double *work, int &info)
 
void F77NAME() dgesvd (const char &jobu, const char &jobvt, const int &m, const int &n, double *a, const int &lda, double *s, double *u, const int &ldu, double *vt, const int &ldvt, double *work, const int &lwork, int &info)
 
void F77NAME() sgesvd (const char &jobu, const char &jobvt, const int &m, const int &n, float *a, const int &lda, float *s, float *u, const int &ldu, float *vt, const int &ldvt, float *work, const int &lwork, int &info)
 
void F77NAME() dgels (const char &trans, const int &m, const int &n, const int &nrhs, double *a, const int &lda, double *b, const int &ldb, double *work, const int &lwork, int &info)
 
void F77NAME() sgels (const char &trans, const int &m, const int &n, const int &nrhs, float *a, const int &lda, float *b, const int &ldb, float *work, const int &lwork, int &info)
 
static void Dgesv (const int &n, const int &nrhs, double *a, const int &lda, int *ipiv, double *b, const int &ldb, int &info)
 
static void DoSsptrf (const char &uplo, const int &n, double *ap, int *ipiv, int &info)
 factor a real packed-symmetric matrix using Bunch-Kaufman pivoting.
 
static void DoSsptrf (const char &uplo, const int &n, float *ap, int *ipiv, int &info)
 factor a real packed-symmetric matrix using Bunch-Kaufman pivoting.
 
static void Dsptrf (const char &uplo, const int &n, double *ap, int *ipiv, int &info)
 factor a real packed-symmetric matrix using Bunch-Kaufman pivoting.
 
static void DoSsptrs (const char &uplo, const int &n, const int &nrhs, const double *ap, const int *ipiv, double *b, const int &ldb, int &info)
 Solve a real packed-symmetric matrix problem using Bunch-Kaufman pivoting.
 
static void DoSsptrs (const char &uplo, const int &n, const int &nrhs, const float *ap, const int *ipiv, float *b, const int &ldb, int &info)
 Solve a real packed-symmetric matrix problem using Bunch-Kaufman pivoting.
 
static void Dsptrs (const char &uplo, const int &n, const int &nrhs, const double *ap, const int *ipiv, double *b, const int &ldb, int &info)
 Solve a real packed-symmetric matrix problem using Bunch-Kaufman pivoting.
 
static void DoSsptri (const char &uplo, const int &n, const double *ap, const int *ipiv, double *work, int &info)
 Invert a real packed-symmetric matrix problem.
 
static void DoSsptri (const char &uplo, const int &n, const float *ap, const int *ipiv, float *work, int &info)
 Invert a real packed-symmetric matrix problem.
 
static void Dtrtrs (const char &uplo, const char &trans, const char &diag, const int &n, const int &nrhs, const double *a, const int &lda, double *b, const int &ldb, int &info)
 Solve a triangular system.
 
static void Dtptrs (const char &uplo, const char &trans, const char &diag, const int &n, const int &nrhs, const double *a, double *b, const int &ldb, int &info)
 Solve a triangular system.
 
static void Dsptri (const char &uplo, const int &n, const double *ap, const int *ipiv, double *work, int &info)
 Invert a real packed-symmetric matrix problem.
 
static void Dpptrf (const char &uplo, const int &n, double *ap, int &info)
 Cholesky factor a real positive definite packed-symmetric matrix.
 
static void Dpptrs (const char &uplo, const int &n, const int &nrhs, const double *ap, double *b, const int &ldb, int &info)
 Solve a real positive definite symmetric matrix problem using Cholesky factorization.
 
static void Dpbtrf (const char &uplo, const int &n, const int &kd, double *ab, const int &ldab, int &info)
 Cholesky factorize a real positive definite banded-symmetric matrix.
 
static void Dpbtrs (const char &uplo, const int &n, const int &kd, const int &nrhs, const double *ab, const int &ldab, double *b, const int &ldb, int &info)
 Solve a real, positive definite banded-symmetric matrix problem using Cholesky factorization.
 
static void Dgbtrf (const int &m, const int &n, const int &kl, const int &ku, double *a, const int &lda, int *ipiv, int &info)
 General banded matrix LU factorisation.
 
static void Dgbtrs (const char &trans, const int &n, const int &kl, const int &ku, const int &nrhs, const double *a, const int &lda, const int *ipiv, double *b, const int &ldb, int &info)
 Solve general banded matrix using LU factorisation.
 
static void DoSgetrf (const int &m, const int &n, double *a, const int &lda, int *ipiv, int &info)
 General matrix LU factorisation.
 
static void DoSgetrf (const int &m, const int &n, float *a, const int &lda, int *ipiv, int &info)
 General matrix LU factorisation.
 
static void Dgetrf (const int &m, const int &n, double *a, const int &lda, int *ipiv, int &info)
 General matrix LU factorisation.
 
static void Dgetrs (const char &trans, const int &n, const int &nrhs, const double *a, const int &lda, int *ipiv, double *b, const int &ldb, int &info)
 General matrix LU backsolve.
 
static void DoSgetri (const int &n, double *a, const int &lda, const int *ipiv, double *wk, const int &lwk, int &info)
 General matrix inverse.
 
static void DoSgetri (const int &n, float *a, const int &lda, const int *ipiv, float *wk, const int &lwk, int &info)
 General matrix inverse.
 
static void Dgetri (const int &n, double *a, const int &lda, const int *ipiv, double *wk, const int &lwk, int &info)
 General matrix inverse.
 
static void Dsterf (const int &n, double *d, double *e, int &info)
 Find eigenvalues of symmetric tridiagonal matrix.
 
static void DoSgeev (const char &uplo, const char &lrev, const int &n, const double *a, const int &lda, double *wr, double *wi, double *rev, const int &ldr, double *lev, const int &ldv, double *work, const int &lwork, int &info)
 Solve general real matrix eigenproblem.
 
static void DoSgeev (const char &uplo, const char &lrev, const int &n, const float *a, const int &lda, float *wr, float *wi, float *rev, const int &ldr, float *lev, const int &ldv, float *work, const int &lwork, int &info)
 Solve general real matrix eigenproblem.
 
static void Dgeev (const char &uplo, const char &lrev, const int &n, const double *a, const int &lda, double *wr, double *wi, double *rev, const int &ldr, double *lev, const int &ldv, double *work, const int &lwork, int &info)
 Solve general real matrix eigenproblem.
 
static void Dspev (const char &jobz, const char &uplo, const int &n, double *ap, double *w, double *z, const int &ldz, double *work, int &info)
 Solve packed-symmetric real matrix eigenproblem.
 
static void Dsbev (const char &jobz, const char &uplo, const int &kl, const int &ku, double *ap, const int &lda, double *w, double *z, const int &ldz, double *work, int &info)
 Solve packed-banded real matrix eigenproblem.
 
static void Dgesvd (const char &jobu, const char &jobvt, const int &m, const int &n, double *a, const int &lda, double *s, double *u, const int &ldu, double *vt, const int &ldvt, double *work, const int &lwork, int &info)
 Singular Value Decomposition (SVD) of a real matrix (double precision)
 
static void Sgesvd (const char &jobu, const char &jobvt, const int &m, const int &n, float *a, const int &lda, float *s, float *u, const int &ldu, float *vt, const int &ldvt, float *work, const int &lwork, int &info)
 Singular Value Decomposition (SVD) of a real matrix (single precision)
 
static void Dgels (const char &trans, const int &m, const int &n, const int &nrhs, double *a, const int &lda, double *b, const int &ldb, double *work, const int &lwork, int &info)
 Solve least squares/minimum norm problems for real matrices (double precision)
 
static void Sgels (const char &trans, const int &m, const int &n, const int &nrhs, float *a, const int &lda, float *b, const int &ldb, float *work, const int &lwork, int &info)
 Solve least squares/minimum norm problems for real matrices (single precision)
 

Function Documentation

◆ dgbtrf()

void F77NAME() Lapack::dgbtrf ( const int &  m,
const int &  n,
const int &  kl,
const int &  ku,
double *  a,
const int &  lda,
int *  ipiv,
int &  info 
)

Referenced by Dgbtrf().

◆ Dgbtrf()

static void Lapack::Dgbtrf ( const int &  m,
const int &  n,
const int &  kl,
const int &  ku,
double *  a,
const int &  lda,
int *  ipiv,
int &  info 
)
inlinestatic

General banded matrix LU factorisation.

Definition at line 259 of file Lapack.hpp.

262{
263 F77NAME(dgbtrf)(m, n, kl, ku, a, lda, ipiv, info);
264}
#define F77NAME(x)
Fortran routines need an underscore.
Definition TransF77.hpp:46

References dgbtrf(), and F77NAME.

Referenced by Nektar::LinearSystem::FactorMatrix().

◆ dgbtrs()

void F77NAME() Lapack::dgbtrs ( const char &  trans,
const int &  n,
const int &  kl,
const int &  ku,
const int &  nrhs,
const double *  a,
const int &  lda,
const int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dgbtrs().

◆ Dgbtrs()

static void Lapack::Dgbtrs ( const char &  trans,
const int &  n,
const int &  kl,
const int &  ku,
const int &  nrhs,
const double *  a,
const int &  lda,
const int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve general banded matrix using LU factorisation.

Definition at line 267 of file Lapack.hpp.

271{
272 F77NAME(dgbtrs)(trans, n, kl, ku, nrhs, a, lda, ipiv, b, ldb, info);
273}

References dgbtrs(), and F77NAME.

Referenced by Nektar::LinearSystemSolver::Solve(), and Nektar::LinearSystemSolver::SolveTranspose().

◆ dgeev()

void F77NAME() Lapack::dgeev ( const char &  uplo,
const char &  lrev,
const int &  n,
const double *  a,
const int &  lda,
double *  wr,
double *  wi,
double *  rev,
const int &  ldr,
double *  lev,
const int &  ldv,
double *  work,
const int &  lwork,
int &  info 
)

Referenced by Dgeev(), and DoSgeev().

◆ Dgeev()

static void Lapack::Dgeev ( const char &  uplo,
const char &  lrev,
const int &  n,
const double *  a,
const int &  lda,
double *  wr,
double *  wi,
double *  rev,
const int &  ldr,
double *  lev,
const int &  ldv,
double *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Solve general real matrix eigenproblem.

Definition at line 357 of file Lapack.hpp.

362{
363 F77NAME(dgeev)
364 (uplo, lrev, n, a, lda, wr, wi, rev, ldr, lev, ldv, work, lwork, info);
365}

References dgeev(), and F77NAME.

Referenced by Nektar::EigenValuesAdvection::v_DoSolve(), Nektar::LinearElasticSystem::v_DoSolve(), and Nektar::LibUtilities::NekLinSysIterEvsDirect::v_SolveSystem().

◆ dgels()

void F77NAME() Lapack::dgels ( const char &  trans,
const int &  m,
const int &  n,
const int &  nrhs,
double *  a,
const int &  lda,
double *  b,
const int &  ldb,
double *  work,
const int &  lwork,
int &  info 
)

Referenced by Dgels().

◆ Dgels()

static void Lapack::Dgels ( const char &  trans,
const int &  m,
const int &  n,
const int &  nrhs,
double *  a,
const int &  lda,
double *  b,
const int &  ldb,
double *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Solve least squares/minimum norm problems for real matrices (double precision)

Definition at line 408 of file Lapack.hpp.

412{
413 F77NAME(dgels)(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info);
414}

References dgels(), and F77NAME.

◆ dgesv()

void F77NAME() Lapack::dgesv ( const int &  n,
const int &  nrhs,
double *  a,
const int &  lda,
int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dgesv().

◆ Dgesv()

static void Lapack::Dgesv ( const int &  n,
const int &  nrhs,
double *  a,
const int &  lda,
int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Definition at line 131 of file Lapack.hpp.

134{
135 F77NAME(dgesv)(n, nrhs, a, lda, ipiv, b, ldb, info);
136}

References dgesv(), and F77NAME.

◆ dgesvd()

void F77NAME() Lapack::dgesvd ( const char &  jobu,
const char &  jobvt,
const int &  m,
const int &  n,
double *  a,
const int &  lda,
double *  s,
double *  u,
const int &  ldu,
double *  vt,
const int &  ldvt,
double *  work,
const int &  lwork,
int &  info 
)

Referenced by Dgesvd().

◆ Dgesvd()

static void Lapack::Dgesvd ( const char &  jobu,
const char &  jobvt,
const int &  m,
const int &  n,
double *  a,
const int &  lda,
double *  s,
double *  u,
const int &  ldu,
double *  vt,
const int &  ldvt,
double *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Singular Value Decomposition (SVD) of a real matrix (double precision)

Definition at line 385 of file Lapack.hpp.

390{
391 F77NAME(dgesvd)
392 (jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork, info);
393}

References dgesvd(), and F77NAME.

Referenced by Nektar::FullMatrixFuncs::PseudoInverse().

◆ dgetrf()

void F77NAME() Lapack::dgetrf ( const int &  m,
const int &  n,
double *  a,
const int &  lda,
int *  ipiv,
int &  info 
)

Referenced by Dgetrf(), and DoSgetrf().

◆ Dgetrf()

static void Lapack::Dgetrf ( const int &  m,
const int &  n,
double *  a,
const int &  lda,
int *  ipiv,
int &  info 
)
inlinestatic

General matrix LU factorisation.

Definition at line 290 of file Lapack.hpp.

292{
293 F77NAME(dgetrf)(m, n, a, lda, ipiv, info);
294}

References dgetrf(), and F77NAME.

Referenced by Nektar::LinearSystem::FactorMatrix(), PolyFit(), and PolyInterp().

◆ dgetri()

void F77NAME() Lapack::dgetri ( const int &  n,
double *  a,
const int &  lda,
const int *  ipiv,
double *  wk,
const int &  lwk,
int &  info 
)

Referenced by Dgetri(), and DoSgetri().

◆ Dgetri()

static void Lapack::Dgetri ( const int &  n,
double *  a,
const int &  lda,
const int *  ipiv,
double *  wk,
const int &  lwk,
int &  info 
)
inlinestatic

General matrix inverse.

Definition at line 321 of file Lapack.hpp.

324{
325 F77NAME(dgetri)(n, a, lda, ipiv, wk, lwk, info);
326}

References dgetri(), and F77NAME.

◆ dgetrs()

void F77NAME() Lapack::dgetrs ( const char &  trans,
const int &  n,
const int &  nrhs,
const double *  a,
const int &  lda,
int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dgetrs().

◆ Dgetrs()

static void Lapack::Dgetrs ( const char &  trans,
const int &  n,
const int &  nrhs,
const double *  a,
const int &  lda,
int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

General matrix LU backsolve.

Definition at line 297 of file Lapack.hpp.

300{
301 F77NAME(dgetrs)(trans, n, nrhs, a, lda, ipiv, b, ldb, info);
302}

References dgetrs(), and F77NAME.

Referenced by PolyFit(), PolyInterp(), Nektar::LinearSystemSolver::Solve(), Nektar::Newmark_BetaSolver::SolveFreeVarMat(), and Nektar::LinearSystemSolver::SolveTranspose().

◆ DoSgeev() [1/2]

static void Lapack::DoSgeev ( const char &  uplo,
const char &  lrev,
const int &  n,
const double *  a,
const int &  lda,
double *  wr,
double *  wi,
double *  rev,
const int &  ldr,
double *  lev,
const int &  ldv,
double *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Solve general real matrix eigenproblem.

Definition at line 335 of file Lapack.hpp.

340{
341 F77NAME(dgeev)
342 (uplo, lrev, n, a, lda, wr, wi, rev, ldr, lev, ldv, work, lwork, info);
343}

References dgeev(), and F77NAME.

Referenced by Nektar::FullMatrixFuncs::EigenSolve().

◆ DoSgeev() [2/2]

static void Lapack::DoSgeev ( const char &  uplo,
const char &  lrev,
const int &  n,
const float *  a,
const int &  lda,
float *  wr,
float *  wi,
float *  rev,
const int &  ldr,
float *  lev,
const int &  ldv,
float *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Solve general real matrix eigenproblem.

Definition at line 346 of file Lapack.hpp.

351{
352 F77NAME(sgeev)
353 (uplo, lrev, n, a, lda, wr, wi, rev, ldr, lev, ldv, work, lwork, info);
354}

References F77NAME, and sgeev().

◆ DoSgetrf() [1/2]

static void Lapack::DoSgetrf ( const int &  m,
const int &  n,
double *  a,
const int &  lda,
int *  ipiv,
int &  info 
)
inlinestatic

General matrix LU factorisation.

Definition at line 276 of file Lapack.hpp.

278{
279 F77NAME(dgetrf)(m, n, a, lda, ipiv, info);
280}

References dgetrf(), and F77NAME.

Referenced by Nektar::FullMatrixFuncs::Invert(), and Nektar::Newmark_BetaSolver::SolveFreeVarMat().

◆ DoSgetrf() [2/2]

static void Lapack::DoSgetrf ( const int &  m,
const int &  n,
float *  a,
const int &  lda,
int *  ipiv,
int &  info 
)
inlinestatic

General matrix LU factorisation.

Definition at line 283 of file Lapack.hpp.

285{
286 F77NAME(sgetrf)(m, n, a, lda, ipiv, info);
287}

References F77NAME, and sgetrf().

◆ DoSgetri() [1/2]

static void Lapack::DoSgetri ( const int &  n,
double *  a,
const int &  lda,
const int *  ipiv,
double *  wk,
const int &  lwk,
int &  info 
)
inlinestatic

General matrix inverse.

Definition at line 305 of file Lapack.hpp.

308{
309 F77NAME(dgetri)(n, a, lda, ipiv, wk, lwk, info);
310}

References dgetri(), and F77NAME.

Referenced by Nektar::FullMatrixFuncs::Invert().

◆ DoSgetri() [2/2]

static void Lapack::DoSgetri ( const int &  n,
float *  a,
const int &  lda,
const int *  ipiv,
float *  wk,
const int &  lwk,
int &  info 
)
inlinestatic

General matrix inverse.

Definition at line 313 of file Lapack.hpp.

316{
317 F77NAME(sgetri)(n, a, lda, ipiv, wk, lwk, info);
318}

References F77NAME, and sgetri().

◆ DoSsptrf() [1/2]

static void Lapack::DoSsptrf ( const char &  uplo,
const int &  n,
double *  ap,
int *  ipiv,
int &  info 
)
inlinestatic

factor a real packed-symmetric matrix using Bunch-Kaufman pivoting.

Definition at line 140 of file Lapack.hpp.

142{
143 F77NAME(dsptrf)(uplo, n, ap, ipiv, info);
144}

References dsptrf(), and F77NAME.

Referenced by Nektar::SymmetricMatrixFuncs::Invert().

◆ DoSsptrf() [2/2]

static void Lapack::DoSsptrf ( const char &  uplo,
const int &  n,
float *  ap,
int *  ipiv,
int &  info 
)
inlinestatic

factor a real packed-symmetric matrix using Bunch-Kaufman pivoting.

Definition at line 148 of file Lapack.hpp.

150{
151 F77NAME(ssptrf)(uplo, n, ap, ipiv, info);
152}

References F77NAME, and ssptrf().

◆ DoSsptri() [1/2]

static void Lapack::DoSsptri ( const char &  uplo,
const int &  n,
const double *  ap,
const int *  ipiv,
double *  work,
int &  info 
)
inlinestatic

Invert a real packed-symmetric matrix problem.

Definition at line 190 of file Lapack.hpp.

192{
193 F77NAME(dsptri)(uplo, n, ap, ipiv, work, info);
194}

References dsptri(), and F77NAME.

Referenced by Nektar::SymmetricMatrixFuncs::Invert().

◆ DoSsptri() [2/2]

static void Lapack::DoSsptri ( const char &  uplo,
const int &  n,
const float *  ap,
const int *  ipiv,
float *  work,
int &  info 
)
inlinestatic

Invert a real packed-symmetric matrix problem.

Definition at line 197 of file Lapack.hpp.

199{
200 F77NAME(ssptri)(uplo, n, ap, ipiv, work, info);
201}

References F77NAME, and ssptri().

◆ DoSsptrs() [1/2]

static void Lapack::DoSsptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const double *  ap,
const int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a real packed-symmetric matrix problem using Bunch-Kaufman pivoting.

Definition at line 164 of file Lapack.hpp.

167{
168 F77NAME(dsptrs)(uplo, n, nrhs, ap, ipiv, b, ldb, info);
169}

References dsptrs(), and F77NAME.

◆ DoSsptrs() [2/2]

static void Lapack::DoSsptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const float *  ap,
const int *  ipiv,
float *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a real packed-symmetric matrix problem using Bunch-Kaufman pivoting.

Definition at line 173 of file Lapack.hpp.

176{
177 F77NAME(ssptrs)(uplo, n, nrhs, ap, ipiv, b, ldb, info);
178}

References F77NAME, and ssptrs().

◆ dpbtrf()

void F77NAME() Lapack::dpbtrf ( const char &  uplo,
const int &  n,
const int &  kd,
double *  ab,
const int &  ldab,
int &  info 
)

Referenced by Dpbtrf().

◆ Dpbtrf()

static void Lapack::Dpbtrf ( const char &  uplo,
const int &  n,
const int &  kd,
double *  ab,
const int &  ldab,
int &  info 
)
inlinestatic

Cholesky factorize a real positive definite banded-symmetric matrix.

Definition at line 243 of file Lapack.hpp.

245{
246 F77NAME(dpbtrf)(uplo, n, kd, ab, ldab, info);
247}

References dpbtrf(), and F77NAME.

Referenced by Nektar::LinearSystem::FactorMatrix().

◆ dpbtrs()

void F77NAME() Lapack::dpbtrs ( const char &  uplo,
const int &  n,
const int &  kd,
const int &  nrhs,
const double *  ab,
const int &  ldab,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dpbtrs().

◆ Dpbtrs()

static void Lapack::Dpbtrs ( const char &  uplo,
const int &  n,
const int &  kd,
const int &  nrhs,
const double *  ab,
const int &  ldab,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a real, positive definite banded-symmetric matrix problem using Cholesky factorization.

Definition at line 251 of file Lapack.hpp.

254{
255 F77NAME(dpbtrs)(uplo, n, kd, nrhs, ab, ldab, b, ldb, info);
256}

References dpbtrs(), and F77NAME.

Referenced by Nektar::LinearSystemSolver::Solve().

◆ dpptrf()

void F77NAME() Lapack::dpptrf ( const char &  uplo,
const int &  n,
double *  ap,
int &  info 
)

Referenced by Dpptrf().

◆ Dpptrf()

static void Lapack::Dpptrf ( const char &  uplo,
const int &  n,
double *  ap,
int &  info 
)
inlinestatic

Cholesky factor a real positive definite packed-symmetric matrix.

Definition at line 227 of file Lapack.hpp.

228{
229 F77NAME(dpptrf)(uplo, n, ap, info);
230}

References dpptrf(), and F77NAME.

Referenced by Nektar::LinearSystem::FactorMatrix(), and Nektar::SolverUtils::ForcingSyntheticEddy::SetCholeskyReyStresses().

◆ dpptrs()

void F77NAME() Lapack::dpptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const double *  ap,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dpptrs().

◆ Dpptrs()

static void Lapack::Dpptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const double *  ap,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a real positive definite symmetric matrix problem using Cholesky factorization.

Definition at line 234 of file Lapack.hpp.

237{
238 F77NAME(dpptrs)(uplo, n, nrhs, ap, b, ldb, info);
239}

References dpptrs(), and F77NAME.

Referenced by Nektar::LinearSystemSolver::Solve().

◆ dsbev()

void F77NAME() Lapack::dsbev ( const char &  jobz,
const char &  uplo,
const int &  kl,
const int &  ku,
double *  ap,
const int &  lda,
double *  w,
double *  z,
const int &  ldz,
double *  work,
int &  info 
)

Referenced by Dsbev().

◆ Dsbev()

static void Lapack::Dsbev ( const char &  jobz,
const char &  uplo,
const int &  kl,
const int &  ku,
double *  ap,
const int &  lda,
double *  w,
double *  z,
const int &  ldz,
double *  work,
int &  info 
)
inlinestatic

Solve packed-banded real matrix eigenproblem.

Definition at line 376 of file Lapack.hpp.

379{
380 F77NAME(dsbev)(jobz, uplo, kl, ku, ap, lda, w, z, ldz, work, info);
381}

References dsbev(), and F77NAME.

◆ dspev()

void F77NAME() Lapack::dspev ( const char &  jobz,
const char &  uplo,
const int &  n,
double *  ap,
double *  w,
double *  z,
const int &  ldz,
double *  work,
int &  info 
)

Referenced by Dspev().

◆ Dspev()

static void Lapack::Dspev ( const char &  jobz,
const char &  uplo,
const int &  n,
double *  ap,
double *  w,
double *  z,
const int &  ldz,
double *  work,
int &  info 
)
inlinestatic

Solve packed-symmetric real matrix eigenproblem.

Definition at line 368 of file Lapack.hpp.

371{
372 F77NAME(dspev)(jobz, uplo, n, ap, w, z, ldz, work, info);
373}

References dspev(), and F77NAME.

◆ dsptrf()

void F77NAME() Lapack::dsptrf ( const char &  uplo,
const int &  n,
double *  ap,
int *  ipiv,
int &  info 
)

Referenced by DoSsptrf(), and Dsptrf().

◆ Dsptrf()

static void Lapack::Dsptrf ( const char &  uplo,
const int &  n,
double *  ap,
int *  ipiv,
int &  info 
)
inlinestatic

factor a real packed-symmetric matrix using Bunch-Kaufman pivoting.

Definition at line 156 of file Lapack.hpp.

158{
159 F77NAME(dsptrf)(uplo, n, ap, ipiv, info);
160}

References dsptrf(), and F77NAME.

Referenced by Nektar::LinearSystem::FactorMatrix(), and Nektar::MultiRegions::GlobalLinSysIterative::UpdateKnownSolutions().

◆ dsptri()

void F77NAME() Lapack::dsptri ( const char &  uplo,
const int &  n,
const double *  ap,
const int *  ipiv,
double *  work,
int &  info 
)

Referenced by DoSsptri(), and Dsptri().

◆ Dsptri()

static void Lapack::Dsptri ( const char &  uplo,
const int &  n,
const double *  ap,
const int *  ipiv,
double *  work,
int &  info 
)
inlinestatic

Invert a real packed-symmetric matrix problem.

Definition at line 220 of file Lapack.hpp.

222{
223 F77NAME(dsptri)(uplo, n, ap, ipiv, work, info);
224}

References dsptri(), and F77NAME.

◆ dsptrs()

void F77NAME() Lapack::dsptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const double *  ap,
const int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by DoSsptrs(), and Dsptrs().

◆ Dsptrs()

static void Lapack::Dsptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const double *  ap,
const int *  ipiv,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a real packed-symmetric matrix problem using Bunch-Kaufman pivoting.

Definition at line 182 of file Lapack.hpp.

185{
186 F77NAME(dsptrs)(uplo, n, nrhs, ap, ipiv, b, ldb, info);
187}

References dsptrs(), and F77NAME.

Referenced by Nektar::MultiRegions::GlobalLinSysIterative::DoProjection(), Nektar::LinearSystemSolver::Solve(), and Nektar::MultiRegions::GlobalLinSysIterative::UpdateKnownSolutions().

◆ dsterf()

void F77NAME() Lapack::dsterf ( const int &  n,
double *  d,
double *  e,
int &  info 
)

Referenced by Dsterf().

◆ Dsterf()

static void Lapack::Dsterf ( const int &  n,
double *  d,
double *  e,
int &  info 
)
inlinestatic

Find eigenvalues of symmetric tridiagonal matrix.

Definition at line 329 of file Lapack.hpp.

330{
331 F77NAME(dsterf)(n, d, e, info);
332}

References dsterf(), and F77NAME.

◆ dtptrs()

void F77NAME() Lapack::dtptrs ( const char &  uplo,
const char &  trans,
const char &  diag,
const int &  n,
const int &  nrhs,
const double *  a,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dtptrs().

◆ Dtptrs()

static void Lapack::Dtptrs ( const char &  uplo,
const char &  trans,
const char &  diag,
const int &  n,
const int &  nrhs,
const double *  a,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a triangular system.

Definition at line 212 of file Lapack.hpp.

215{
216 F77NAME(dtptrs)(uplo, trans, diag, n, nrhs, a, b, ldb, info);
217}

References dtptrs(), and F77NAME.

Referenced by Nektar::LinearSystemSolver::Solve(), and Nektar::LinearSystemSolver::SolveTranspose().

◆ dtrtrs()

void F77NAME() Lapack::dtrtrs ( const char &  uplo,
const char &  trans,
const char &  diag,
const int &  n,
const int &  nrhs,
const double *  a,
const int &  lda,
double *  b,
const int &  ldb,
int &  info 
)

Referenced by Dtrtrs().

◆ Dtrtrs()

static void Lapack::Dtrtrs ( const char &  uplo,
const char &  trans,
const char &  diag,
const int &  n,
const int &  nrhs,
const double *  a,
const int &  lda,
double *  b,
const int &  ldb,
int &  info 
)
inlinestatic

Solve a triangular system.

Definition at line 204 of file Lapack.hpp.

207{
208 F77NAME(dtrtrs)(uplo, trans, diag, n, nrhs, a, lda, b, ldb, info);
209}

References dtrtrs(), and F77NAME.

◆ sgeev()

void F77NAME() Lapack::sgeev ( const char &  uplo,
const char &  lrev,
const int &  n,
const float *  a,
const int &  lda,
float *  wr,
float *  wi,
float *  rev,
const int &  ldr,
float *  lev,
const int &  ldv,
float *  work,
const int &  lwork,
int &  info 
)

Referenced by DoSgeev().

◆ sgels()

void F77NAME() Lapack::sgels ( const char &  trans,
const int &  m,
const int &  n,
const int &  nrhs,
float *  a,
const int &  lda,
float *  b,
const int &  ldb,
float *  work,
const int &  lwork,
int &  info 
)

Referenced by Sgels().

◆ Sgels()

static void Lapack::Sgels ( const char &  trans,
const int &  m,
const int &  n,
const int &  nrhs,
float *  a,
const int &  lda,
float *  b,
const int &  ldb,
float *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Solve least squares/minimum norm problems for real matrices (single precision)

Definition at line 418 of file Lapack.hpp.

422{
423 F77NAME(sgels)(trans, m, n, nrhs, a, lda, b, ldb, work, lwork, info);
424}

References F77NAME, and sgels().

◆ sgesvd()

void F77NAME() Lapack::sgesvd ( const char &  jobu,
const char &  jobvt,
const int &  m,
const int &  n,
float *  a,
const int &  lda,
float *  s,
float *  u,
const int &  ldu,
float *  vt,
const int &  ldvt,
float *  work,
const int &  lwork,
int &  info 
)

Referenced by Sgesvd().

◆ Sgesvd()

static void Lapack::Sgesvd ( const char &  jobu,
const char &  jobvt,
const int &  m,
const int &  n,
float *  a,
const int &  lda,
float *  s,
float *  u,
const int &  ldu,
float *  vt,
const int &  ldvt,
float *  work,
const int &  lwork,
int &  info 
)
inlinestatic

Singular Value Decomposition (SVD) of a real matrix (single precision)

Definition at line 397 of file Lapack.hpp.

401{
402 F77NAME(sgesvd)
403 (jobu, jobvt, m, n, a, lda, s, u, ldu, vt, ldvt, work, lwork, info);
404}

References F77NAME, and sgesvd().

Referenced by Nektar::FullMatrixFuncs::PseudoInverse().

◆ sgetrf()

void F77NAME() Lapack::sgetrf ( const int &  m,
const int &  n,
float *  a,
const int &  lda,
int *  ipiv,
int &  info 
)

Referenced by DoSgetrf().

◆ sgetri()

void F77NAME() Lapack::sgetri ( const int &  n,
float *  a,
const int &  lda,
const int *  ipiv,
float *  wk,
const int &  lwk,
int &  info 
)

Referenced by DoSgetri().

◆ ssptrf()

void F77NAME() Lapack::ssptrf ( const char &  uplo,
const int &  n,
float *  ap,
int *  ipiv,
int &  info 
)

Referenced by DoSsptrf().

◆ ssptri()

void F77NAME() Lapack::ssptri ( const char &  uplo,
const int &  n,
const float *  ap,
const int *  ipiv,
float *  work,
int &  info 
)

Referenced by DoSsptri().

◆ ssptrs()

void F77NAME() Lapack::ssptrs ( const char &  uplo,
const int &  n,
const int &  nrhs,
const float *  ap,
const int *  ipiv,
float *  b,
const int &  ldb,
int &  info 
)

Referenced by DoSsptrs().