Skip to content

Latest commit

 

History

History
 
 

README.md

xerbla

Error handler for LAPACK routines.

Usage

var headerDir = require( '@stdlib/lapack/base/xerbla' );

headerDir

Absolute file path for the directory containing header files for C APIs.

var dir = headerDir;
// returns <string>

Examples

var headerDir = require( '@stdlib/lapack/base/xerbla' );

console.log( headerDir );
// => <string>

C APIs

Usage

#include "stdlib/lapack/base/xerbla.h"

lapack_xerbla( *name, info )

Prints an error message.

lapack_xerbla( "dlacpy", 1 )

The function accepts the following arguments:

  • name: [in] char* name of routine (e.g., dlacpy).
  • info: [in] LAPACK_INT error code (e.g., a negative argument index).
void lapack_xerbla( const char *name, LAPACK_INT info );