Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Linear Algebra library by Winsoft

  1. Introduction

Linear Algebra library supports Windows 32 and Windows 64. It uses OpenBLAS optimized BLAS (Basic Linear Algebra Subprograms) and LAPACK (Linear Algebra Package) libraries. Installation instructions can be seen in the video below.

2. Components in the Demo and what they do

The Demo contains TMemo component for the Result, converted in Text and one TButton that calls the main functions and procedures for calculation. Clicking the ‘Test’ button calls the InitVector procedure which sets vector items with number values. There is also InitMatrix procedure, which sets matrix items with number values. Three levels of Basic Linear Algebra Subprograms are executed, using ‘cblas_dgemv’ procedure and also Linear Algebra Package, using ‘LAPACKE_dgetrf’ function. To see the Demo in action watch the below video.

[crayon-6768ee83e3b56592252157/]

This is what the InitVector procedure does:

[crayon-6768ee83e3b5c728488862/]

This is what the InitMatrix procedure does:

[crayon-6768ee83e3b5e075811675/]

In the image below you can see calculation of three levels of BLAS and LAPACK at the end

You can download the Demo here.

Like what you see? You can get the Linear Algebra Component Library and over 100 other fantastic WinSoft components with our Enterprise Component Pack. For a limited time, when you purchase RAD Studio Enterprise or Architect Edition at special Upgrade Pricing, you will also get this package of third-party software worth over $13,000, including the full WinSoft Component Library, at NO EXTRA COST! Step up to RAD Studio 10.4.1 today!

Exit mobile version