Skip to content

Commit c58ca92

Browse files
authored
Update README.md
1 parent 8ab799a commit c58ca92

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# fortran-lapack
2-
This package provides precision-agnostig, high-level linear algebra APIs for `real` and `complex` arguments in Modern Fortran. The APIs are similar to NumPy/SciPy operations, and leverage a Modern Fortran implementation of the [Reference-LAPACK](http://github.com/reference-LAPACK) library.
2+
This package provides precision-agnostic, high-level linear algebra APIs for `real` and `complex` arguments in Modern Fortran. The APIs are similar to NumPy/SciPy operations, and leverage a Modern Fortran implementation of the [Reference-LAPACK](http://github.com/reference-LAPACK) library.
33

44
# Current API
55
Procedure | Type | Description | Optional arguments
@@ -54,6 +54,14 @@ To add fortran-lapack to your project, simply add it as a dependency:
5454
[dependencies]
5555
fortran-lapack = { git="https://github.com/perazz/fortran-lapack.git" }
5656
```
57+
58+
`fortran-lapack` is compatible with the LAPACK API. If high-performance external BLAS/LAPACK libraries are available, it is sufficient to define macros
59+
60+
```
61+
[dependencies]
62+
fortran-lapack = { git="https://github.com/perazz/fortran-lapack.git", preprocess.cpp.macros=["LA_EXTERNAL_BLAS", "LA_EXTERNAL_LAPACK"] }
63+
```
64+
5765
# Extension to external BLAS/LAPACK libraries
5866

5967
Generic interfaces to most BLAS/LAPACK functions are exposed to modules `la_blas` and `la_lapack`. These interfaces drop the initial letter to wrap a precision-agnostic version. For example, `axpy` is a precision-agnostic interface to `saxpy`, `daxpy`, `caxpy`, `zaxpy`, `qaxpy`, `waxpy`.

0 commit comments

Comments
 (0)