@stdlib/lapack-base
v0.2.1
Published
Base (i.e., lower-level) LAPACK routines.
Readme
LAPACK
Base (i.e., lower-level) linear algebra package (LAPACK) routines.
Installation
npm install @stdlib/lapack-baseUsage
var lapack = require( '@stdlib/lapack-base' );lapack
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 matrixAto 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.claswp( N, A, LDA, k1, k2, IPIV, incx ): perform a series of row interchanges on an input matrix.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.dgttrf( N, DL, D, DU, DU2, IPIV ): compute anLUfactorization of a real tridiagonal matrixAusing elimination with partial pivoting and row interchanges.dlacpy( order, uplo, M, N, A, LDA, B, LDB ): copy all or part of a matrixAto another matrixB.dladiv( a, b, c, d, P, Q ): divide two double-precision complex floating-point numbers in real arithmetic.dlamch( cmach ): determine double-precision floating-point machine parameters.dlapy2( x, y ): LAPACK routine to calculatesqrt(x^2 + y^2)in a manner which doesn't cause unnecessary overflow.dlapy3( x, y, z ): LAPACK routine to calculatesqrt(x^2 + y^2 + z^2)in a manner which doesn't cause unnecessary overflow.dlarf1f( order, side, M, N, V, strideV, tau, C, LDC, work ): apply a real elementary reflectorH = I - tau * v * v^Tto a real M by N matrixC.dlaset( order, uplo, M, N, alpha, beta, A, LDA ): set the off-diagonal elements and the diagonal elements of a double-precision floating-point matrix to specified values.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^Tfactorization of a real symmetric positive definite tridiagonal matrixA.iladlc( order, M, N, A, LDA ): find the index of the last non-zero column in a matrixA.iladlr( order, M, N, A, LDA ): find the index of the last non-zero row in a 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 matrixAto 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^Tfactorization 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 matrixAto 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.zlaswp( N, A, LDA, k1, k2, IPIV, incx ): perform a series of row interchanges on an input matrix.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.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var lapack = require( '@stdlib/lapack-base' );
console.log( objectKeys( lapack ) );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.
