@stdlib/blas-base-xerbla
v0.0.2
Published
Error handler for BLAS/LAPACK routines.
Downloads
32
Readme
xerbla
Error handler for BLAS/LAPACK routines.
Installation
npm install @stdlib/blas-base-xerbla
Usage
var headerDir = require( '@stdlib/blas-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/blas-base-xerbla' );
console.log( headerDir );
// => <string>
C APIs
Usage
#include "stdlib/blas/base/xerbla.h"
c_xerbla( info, *rout, *form, ... )
Prints an error message and exits the program.
c_xerbla( 1, "dgemm", "" )
The function accepts the following arguments:
- info:
[in] CBLAS_INT
argument index. - rout:
[in] char*
name of routine. - form:
[in] char*
null-terminated character format string. - vargs list of arguments to format in the format string.
void c_xerbla( const CBLAS_INT info, const char *rout, const char *form, ... );
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-2024. The Stdlib Authors.