Octave
GNU Octave is a high-level language, primarily intended for numerical computations.
Slackbuild blas
- su
- cd /tmp
wget http://slackbuilds.org/slackbuilds/14.0/libraries/blas.tar.gz
- tar xvzf blas.tar.gz
- cd blas
./blas.SlackBuild
- installpkg /tmp/blas-20110419-x86_64-1_SBo.tgz
Package 64 bit: blas-20110419-x86_64-1_SBo.tgz
Slackbuild lapack
- cd /tmp
wget http://slackbuilds.org/slackbuilds/14.0/libraries/lapack.tar.gz
- tar xvzf lapack.tar.gz
- cd lapack
./lapack.SlackBuild
- installpkg /tmp/lapack-3.4.1-x86_64-1_SBo.tgz
Package 64 bit: lapack-3.4.1-x86_64-1_SBo.tgz
Slackbuild octave
- cd /tmp
wget http://slackbuilds.org/slackbuilds/14.0/academic/octave.tar.gz
- tar xvzf octave.tar.gz
- cd octave
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/share/texmf/bin ./octave.SlackBuild #missing tex PATH on root path
- installpkg /tmp/octave-3.6.4-x86_64-1_SBo.tgz
Package 64 bit: octave-3.6.4-x86_64-1_SBo.tgz
Examples
Hexadecimal to decimal
printf("%d \r\n", hex2dec('5186F27F') )