Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : Linear Algebra details
Login with GitLab

Linear Algebra

A collection of algorithms for linear algebra
(3029 downloads for this version - 70579 downloads for all versions)
Details
Version
0.1
A more recent valid version with binaries for Scilab 5.3 exists: 0.2
Author
Michael Baudin
Owner Organization
DIGITEO
Maintainer
Michael BAUDIN
Category
License
Dependency
Creation Date
June 6, 2011
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Linux 32-bit Windows 32-bit Windows 64-bit macOS Linux 64-bit
Install command
--> atomsInstall("linalg")
Description
            The goal of this toolbox is to provide a collection of 
algorithms for linear algebra.

These algorithms are most of the time already provided by Scilab, but 
are available here for comparison purpose.

The linalg_pow function is much faster than Scilab's pow, 
when the exponent is large. 
The algorithm used here is based on binary exponentiation, and 
requires only log2(p) iterations, compared to p iterations for the 
naive pow.
For example, for p=99999, it was found that linalg_pow requires 0.003 
seconds for a 5-by-5 matrix, while Scilab requires 2.7 seconds.

The linalg_zhbev function provides the same feature as Lapack's 
ZHBEV, that is, computes the eigenvalues of a complex hermitian band matrix. 
The other method in Scilab to compute eigenvalues of sparse matrices 
is to use Arnoldi's iterations. 
This does not make use of the Hermitian structure of some matrices. 

Features :
-------

 * linalg_chol — Computes the Cholesky decomposition.
 * linalg_condeig — Computes the condition number of the eigenvalues of a
matrix.
 * linalg_expm — Computes the exponential of a matrix.
 * linalg_factorlu — Computes the LU decomposition without pivoting.
 * linalg_factorlupivot — Computes the LU decomposition with pivoting.
 * linalg_gaussnaive — Solves a linear equation by Gauss method and no
pivoting.
 * linalg_gausspivotal — Computes the solution of a linear equation with Gauss
and row pivoting.
 * linalg_gausspivotalnaive — Computes the solution of a linear equation with
Gauss and row pivoting.
 * linalg_hbandL — Converts a complex hermitian band matrix into its compact
form.
 * linalg_pow — Computes A^p
 * linalg_powfast — Computes A^p
 * linalg_rayleighiteration — Computes approximated a pair of eigenvalue and
eigenvector.
 * linalg_solvelu — Computes the solution of a linear equation, given its LU
decomposition.

BLAS/LAPACK
 * linalg_dgemm — Computes D = Alpha*A*B+ Beta*C for a real matrix.
 * linalg_dsyev — Computes the eigenvalues of a symmetric real matrix.
 * linalg_zgemm — Computes D = Alpha*A*B+ Beta*C for a complex matrix.
 * linalg_zhbev — Computes the eigenvalues of a complex hermitian band
matrix.
            
Files (6)
[94.36 kB]
Source code archive

[107.02 kB]
Linux 32-bit binary for Scilab 5.3.x
Linux 32-bit
Automatically generated by the ATOMS compilation chain

[281.06 kB]
Windows 32-bit binary for Scilab 5.3.x
Windows 32-bit
Automatically generated by the ATOMS compilation chain

[283.60 kB]
Windows 64-bit binary for Scilab 5.3.x
Windows 64-bit
Automatically generated by the ATOMS compilation chain

[90.21 kB]
macOS binary for Scilab 5.3.x
MacOSX version
Automatically generated by the ATOMS compilation chain

[108.05 kB]
Linux 64-bit binary for Scilab 5.3.x
Linux 64-bit
Automatically generated by the ATOMS compilation chain

News (0)
Comments (2)     Leave a comment 
Comment -- June 21, 2011, 04:51:02 PM    
Packaging tested on Windows 32 bits:

-->atomsTest("linalg")
   TMPDIR = C:\Users\baudin\AppData\Local\Temp\SCI_TMP_5884_

   001/016 - [SCI\contrib\linalg\0.1-1] chol.......................passed 
   002/016 - [SCI\contrib\linalg\0.1-1] dgemm......................passed 
   003/016 - [SCI\contrib\linalg\0.1-1] dsyev......................passed 
   004/016 - [SCI\contrib\linalg\0.1-1] expm.......................passed 
   005/016 - [SCI\contrib\linalg\0.1-1] factorlu...................passed 
   006/016 - [SCI\contrib\linalg\0.1-1] factorlupivot..............passed 
   007/016 - [SCI\contrib\linalg\0.1-1] gaussnaive.................passed 
   008/016 - [SCI\contrib\linalg\0.1-1] gausspivotal...............passed 
   009/016 - [SCI\contrib\linalg\0.1-1] gausspivotalnaive..........passed 
   010/016 - [SCI\contrib\linalg\0.1-1] hbandL.....................passed 
   011/016 - [SCI\contrib\linalg\0.1-1] pow........................passed 
   012/016 - [SCI\contrib\linalg\0.1-1] powfast....................passed 
   013/016 - [SCI\contrib\linalg\0.1-1] rayleighiteration..........passed 
   014/016 - [SCI\contrib\linalg\0.1-1] solvelu....................passed 
   015/016 - [SCI\contrib\linalg\0.1-1] zgemm......................passed 
   016/016 - [SCI\contrib\linalg\0.1-1] zhbev......................passed 
Comment -- September 14, 2011, 02:34:27 PM    
Packaging of v0.1 tested on Linux 32 bits with Scilab 5.3.2:


-->atomsTest("linalg")
   TMPDIR = /tmp/SCI_TMP_1591_lqzPyN
   001/016 - [SCI/contrib/linalg/0.1-1] chol.......................passed 
   002/016 - [SCI/contrib/linalg/0.1-1] dgemm......................passed 
   003/016 - [SCI/contrib/linalg/0.1-1] dsyev......................passed 
   004/016 - [SCI/contrib/linalg/0.1-1] expm.......................passed 
   005/016 - [SCI/contrib/linalg/0.1-1] factorlu...................passed 
   006/016 - [SCI/contrib/linalg/0.1-1] factorlupivot..............passed 
   007/016 - [SCI/contrib/linalg/0.1-1] gaussnaive.................passed 
   008/016 - [SCI/contrib/linalg/0.1-1] gausspivotal...............passed 
   009/016 - [SCI/contrib/linalg/0.1-1] gausspivotalnaive..........passed 
   010/016 - [SCI/contrib/linalg/0.1-1] hbandL.....................passed 
   011/016 - [SCI/contrib/linalg/0.1-1] pow........................passed 
   012/016 - [SCI/contrib/linalg/0.1-1] powfast....................passed 
   013/016 - [SCI/contrib/linalg/0.1-1] rayleighiteration..........passed 
   014/016 - [SCI/contrib/linalg/0.1-1] solvelu....................passed 
   015/016 - [SCI/contrib/linalg/0.1-1] zgemm......................passed 
   016/016 - [SCI/contrib/linalg/0.1-1] zhbev......................passed 
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.