Error handler for LAPACK routines.
var headerDir = require( '@stdlib/lapack/base/xerbla' );Absolute file path for the directory containing header files for C APIs.
var dir = headerDir;
// returns <string>var headerDir = require( '@stdlib/lapack/base/xerbla' );
console.log( headerDir );
// => <string>#include "stdlib/lapack/base/xerbla.h"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_INTerror code (e.g., a negative argument index).
void lapack_xerbla( const char *name, LAPACK_INT info );