LAPACK (6) -- Conclusion

Source: Internet
Author: User
Tags lapack

Although I only wrote two test examples, I think other functions are similar in use. The interfaces of the functions provided by the function are very consistent. For example, the first parameter of each function is matrix_order, the number of columns that start with n indicates the matrix, and the leading dimension that begins with ld indicates the number of rows of the matrix. Although no parameter plain text for the LAPACKE interface has been found yet, the LAPACK parameter interface documentation is very comprehensive, as well as the CLAPACK documentation. The CLAPACK interface is basically the same as the LAPACK interface, but the work and other parameters related to the working memory are missing. Compared with the CLAPACK interface parameters, the LAPACKE parameter has a matrix_order, if one info is missing, info is used as the return value. The following reference links provide the location of these instructions.

Refer:

1) user guide

Http://www.netlib.org/lapack/lug/

There is a user guide provided on the LAPACK website. This user guide should be fully read, with naming rules and function descriptions. LAPACK can be used better only by understanding what LAPACK can do.

2) Function

Http://www.mathkeisan.com/usersguide/e/lapack.html

The link given above classifies LAPACK functions and functions by simple, expert, computation, and so on. Compared with user guide, it is a quick reference.

3) function interface description

Http://www.netlib.org/lapack/#_individual_routines

On the LAPACK website, the Individual Routines section divides functions into four categories based on data precision and data type, and introduces the meaning of their interface parameters. Therefore, after determining the functions and functions to be used, you can refer to this section to learn how to use this function.

There are also descriptions of CLAPACK function interfaces, which are part of OpenCV. Http://www.oschina.net/code/explore/OpenCV-2.1.0/3rdparty/lapack/dgesv.c

4) Test Data

Http://www.nag.co.uk/lapack-ex/node136.html#index

This website provides many examples, including input matrices and results. You can use the data for testing to check whether your function is correct.

5) function source code and call relationship

Http://www.netlib.org/lapack/explore-html/d8/d72/dgesv_8f.html

LAPACK has a document generated using Doxygen, but the document only provides the function call relationship and the called relationship. If you are interested, take a look.

I have sorted this out, but this is basically enough. I hope it will be helpful for people who need to use LAPACK and can communicate more.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.