Skip to content

Latest commit

 

History

History

<T>LAPACK Examples

We provide a few examples to show how to use <T>LAPACK. Each example has its own directory with separate build and description. They all assume that <T>LAPACK is installed.

This is the list of examples and brief descriptions:

  • geqr2

    Compute the QR factorization of a matrix filled with random numbers.

  • gemm

    Compute C - AB using matrices A, B and C.

  • access_types

    Scale matrices using different access types.

  • cwrapper_gemm

    Compute C - AB using matrices A, B and C with a code written in C.

  • fortranModule_caxpy

    Compute c x + y using complex matrices x and y and a complex scalar c, with a code written in Fortran90.

  • fortranModule_ssymm

    Compute C - AB using matrices A, B and C with a code written in Fortran90.

  • mdspan

    Combine different matrix layouts from mdspan to compute C - A B using matrices A, B and C.

  • eigen

    Compare the QR factorization from Eigen and <T>LAPACK. We use Eigen::Matrix as the data structure.

  • create_float_library

    Create a static library with single precision from the <T>LAPACK library.

  • extreme_interoperability

    Use <T>LAPACK with different data structures: std::mdspan, std::vector and Eigen::Matrix.