About stdlib...
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
Base (i.e., lower-level) linear algebra package (LAPACK) routines.
import lapack from 'https://cdn.jsdelivr.net/gh/stdlib-js/lapack-base@deno/mod.js';
You can also import the following named exports from the package:
import { clacgv, clacpy, claset, crot, dgetrans, dlacpy, dlamch, dlassq, dlaswp, dpttrf, sgetrans, slacpy, slaswp, spttrf, zlacgv, zlacpy, zlaset, zrot } from 'https://cdn.jsdelivr.net/gh/stdlib-js/lapack-base@deno/mod.js';
Namespace for "base" (i.e., lower-level) linear algebra package (LAPACK) routines.
var o = lapack;
// returns {...}
The namespace contains the following:
clacgv( N, cx, strideCX )
: conjugate each element in a single-precision complex floating-point vector.clacpy( order, uplo, M, N, A, LDA, B, LDB )
: copy all or part of a matrixA
to another matrixB
.claset( order, uplo, M, N, alpha, beta, A, LDA )
: set the off-diagonal elements and the diagonal elements of a single-precision complex floating-point matrix to specified values.crot( N, cx, strideCX, cy, strideCY, c, s )
: apply a plane rotation with real cosine and complex sine to a pair of single-precision complex floating-point vectors.dgetrans( order, M, N, A, LDA, out, LDO )
: convert a matrix from row-major layout to column-major layout or vice versa.dlacpy( order, uplo, M, N, A, LDA, B, LDB )
: copy all or part of a matrixA
to another matrixB
.dlamch( cmach )
: determine double-precision floating-point machine parameters.dlassq( N, X, strideX, scale, sumsq )
: return an updated sum of squares represented in scaled form.dlaswp( N, A, LDA, k1, k2, IPIV, incx )
: perform a series of row interchanges on an input matrix.dpttrf( N, D, E )
: compute theL * D * L^T
factorization of a real symmetric positive definite tridiagonal matrixA
.sgetrans( order, M, N, A, LDA, out, LDO )
: convert a matrix from row-major layout to column-major layout or vice versa.slacpy( order, uplo, M, N, A, LDA, B, LDB )
: copy all or part of a matrixA
to another matrixB
.slaswp( N, A, LDA, k1, k2, IPIV, incx )
: perform a series of row interchanges on an input matrix.spttrf( N, D, E )
: compute theL * D * L^T
factorization of a real symmetric positive definite tridiagonal matrixA
.zlacgv( N, zx, strideZX )
: conjugate each element in a double-precision complex floating-point vector.zlacpy( order, uplo, M, N, A, LDA, B, LDB )
: copy all or part of a matrixA
to another matrixB
.zlaset( order, uplo, M, N, alpha, beta, A, LDA )
: set the off-diagonal elements and the diagonal elements of a double-precision complex floating-point matrix to specified values.zrot( N, zx, strideX, zy, strideY, c, s )
: apply a plane rotation with real cosine and complex sine to a pair of double-precision complex floating-point vectors.
import objectKeys from 'https://cdn.jsdelivr.net/gh/stdlib-js/utils-keys@deno/mod.js';
import lapack from 'https://cdn.jsdelivr.net/gh/stdlib-js/lapack-base@deno/mod.js';
console.log( objectKeys( lapack ) );
This package is part of stdlib, a standard library 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.
See LICENSE.
Copyright © 2016-2025. The Stdlib Authors.