mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
templateLapack.cpp File Reference

Implementation of templatized wrappers for the Lapack library. More...

Implementation of templatized wrappers for the Lapack library.

Definition in file templateLapack.cpp.

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.

Functions

template<>
MXLAPACK_INT mx::math::laed9< float > (float *D, float *Q, float *S, MXLAPACK_INT K, MXLAPACK_INT KSTART, MXLAPACK_INT KSTOP, MXLAPACK_INT N, MXLAPACK_INT LDQ, float RHO, float *DLAMDA, float *W, MXLAPACK_INT LDS)
 Float specialization of laed9, a wrapper for LAPACK SLAED9.
template<>
MXLAPACK_INT mx::math::laed9< double > (double *D, double *Q, double *S, MXLAPACK_INT K, MXLAPACK_INT KSTART, MXLAPACK_INT KSTOP, MXLAPACK_INT N, MXLAPACK_INT LDQ, double RHO, double *DLAMDA, double *W, MXLAPACK_INT LDS)
 Double specialization of laed9, a wrapper for LAPACK DLAED9.

Function Documentation

◆ laed9< double >()

template<>
MXLAPACK_INT mx::math::laed9< double > ( double * D,
double * Q,
double * S,
MXLAPACK_INT K,
MXLAPACK_INT KSTART,
MXLAPACK_INT KSTOP,
MXLAPACK_INT N,
MXLAPACK_INT LDQ,
double RHO,
double * DLAMDA,
double * W,
MXLAPACK_INT LDS )

Double specialization of laed9, a wrapper for LAPACK DLAED9.

[in] leading dimension of S, at least max(1,K)

Parameters
[out]DN-element array of selected updated eigenvalues
[out]QLDQ-by-N secular-equation workspace produced by LAPACK
[out]SLDS-by-K updated eigenvectors, stored column-wise
[in]Knumber of terms in the secular equation
[in]KSTARTfirst updated eigenvalue, inclusive and one-based
[in]KSTOPlast updated eigenvalue, inclusive and one-based
[in]NQ matrix dimension, at least K
[in]LDQleading dimension of Q, at least max(1,N)
[in]RHOpositive rank-one update weight
[in]DLAMDAK-element array of strictly increasing diagonal poles
[in,out]WK deflation-adjusted update components

Definition at line 246 of file templateLapack.cpp.

References laed9().

◆ laed9< float >()

template<>
MXLAPACK_INT mx::math::laed9< float > ( float * D,
float * Q,
float * S,
MXLAPACK_INT K,
MXLAPACK_INT KSTART,
MXLAPACK_INT KSTOP,
MXLAPACK_INT N,
MXLAPACK_INT LDQ,
float RHO,
float * DLAMDA,
float * W,
MXLAPACK_INT LDS )

Float specialization of laed9, a wrapper for LAPACK SLAED9.

[in] leading dimension of S, at least max(1,K)

Parameters
[out]DN-element array of selected updated eigenvalues
[out]QLDQ-by-N secular-equation workspace produced by LAPACK
[out]SLDS-by-K updated eigenvectors, stored column-wise
[in]Knumber of terms in the secular equation
[in]KSTARTfirst updated eigenvalue, inclusive and one-based
[in]KSTOPlast updated eigenvalue, inclusive and one-based
[in]NQ matrix dimension, at least K
[in]LDQleading dimension of Q, at least max(1,N)
[in]RHOpositive rank-one update weight
[in]DLAMDAK-element array of strictly increasing diagonal poles
[in,out]WK deflation-adjusted update components

Definition at line 225 of file templateLapack.cpp.

References laed9().