4.1 KiB
4.1 KiB
ndarray Native Add-ons
C APIs for creating Node-API ndarray native add-ons.
This package exposes an absolute file path for the directory containing header files for various C APIs. The various C APIs facilitate the creation of Node-API ndarray native add-ons.
Usage
var headerDir = require( '@stdlib/ndarray/base/napi' );
headerDir
Absolute file path for the directory containing header files for C APIs.
var dir = headerDir;
// returns <string>
Examples
var headerDir = require( '@stdlib/ndarray/base/napi' );
console.log( headerDir );
// => <string>
C APIs
This package exposes various C APIs to facilitate the creation of Node-API ndarray native add-ons. The included C APIs are the APIs implemented in the following packages:
@stdlib/ndarray/base/napi/unary
: https://www.npmjs.com/package/@stdlib/ndarray/tree/main/base/napi/unary`][@stdlib/ndarray/base/napi/unary@stdlib/ndarray/base/unary
: https://www.npmjs.com/package/@stdlib/ndarray/tree/main/base/unary`][@stdlib/ndarray/base/unary@stdlib/ndarray/dtypes
: https://www.npmjs.com/package/@stdlib/ndarray/tree/main/dtypes`][@stdlib/ndarray/dtypes
For API documentation, consult the individual packages.
Usage
#include "stdlib/ndarray/base/napi.h"
Examples
#include "stdlib/ndarray/base/napi.h"
// TODO