Пример #1
0
inline std::ptrdiff_t sptrs( const UpLo, const fortran_int_t n,
        const fortran_int_t nrhs, const std::complex<double>* ap,
        const fortran_int_t* ipiv, std::complex<double>* b,
        const fortran_int_t ldb ) {
    fortran_int_t info(0);
    LAPACK_ZSPTRS( &lapack_option< UpLo >::value, &n, &nrhs, ap, ipiv, b,
            &ldb, &info );
    return info;
}
Пример #2
0
 inline 
 void sptrs (char const uplo, int const n, int const nrhs,
             traits::complex_d const* a, int const* ipiv, 
             traits::complex_d* b, int const ldb, int* info) 
 {
   LAPACK_ZSPTRS (&uplo, &n, &nrhs, 
                  traits::complex_ptr (a), ipiv, 
                  traits::complex_ptr (b), &ldb, info);
 }
Пример #3
0
 inline void sptrs( char const uplo, integer_t const n,
         integer_t const nrhs, traits::complex_d* ap, integer_t* ipiv,
         traits::complex_d* b, integer_t const ldb, integer_t& info ) {
     LAPACK_ZSPTRS( &uplo, &n, &nrhs, traits::complex_ptr(ap), ipiv,
             traits::complex_ptr(b), &ldb, &info );
 }