[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling directly blas functions in Oct file
From: |
Kai Torben Ohlhus |
Subject: |
Re: Calling directly blas functions in Oct file |
Date: |
Tue, 21 Apr 2020 12:09:32 +0900 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 4/20/20 11:29 PM, niconeuman wrote:
> Hi, thank you very much for your answer, and sorry for the delay in answering
> myself.
> I will look into sparse matrices, they will probably be of use for some of
> the stuff. Still I am interested in knowing how to call blas functions
> directly from an oct-file, if anyone knows.
> Thanks again,
> best regards
> Nicolas
>
Dear Nicolas,
Last year I made an example for LAPACK [1,2]. BLAS should be quite
similar. Another interesting reference is in the manual [3].
HTH,
Kai
[1]
https://github.com/octave-de/octave_slides/blob/master/hands_on/fortran.ipynb
[2]
https://github.com/octave-de/octave_slides/blob/master/hands_on/functions/call_dgesv.cc
[3]
https://octave.org/doc/v5.2.0/Calling-External-Code-from-Oct_002dFiles.html#Calling-External-Code-from-Oct_002dFiles