@stdlib/lapack-base-xerbla
v0.1.1
Published
Error handler for LAPACK routines.
Readme
xerbla
Error handler for LAPACK routines.
Installation
npm install @stdlib/lapack-base-xerblaUsage
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_INTerror code (e.g., a negative argument index).
void lapack_xerbla( const char *name, LAPACK_INT info );Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2026. The Stdlib Authors.
