Content |
Tutorial
FLENS has many great features. Looking through all the examples given in this tutorial should give you a first impression and a quick start.
More tutorials are on the way ...
... so stay tuned.
Session: General Matrix with Full Storage
-
Page 1: We show how to allocate and initialize a general matrix.
-
Page 2: Shows how to change the default index base which is One
-
Page 3: We introduce the concept of matrix views. Matrix views can be used to reference other matrix parts. Furthermore it allows the creation of a FLENS matrix(view) from an existing C-array copying the C-array. The latter is very useful for interfacing with other libraries.
-
Page 4: We introduce dense vectors.
Session: BLAS, CXXBLAS, FLENS-BLAS and Overloaded Operators
-
Page 1: Using CXXBLAS directly. CXXBLAS provides a generic BLAS implementation but also can serve as a interface to high performance BLAS implementations.
-
Page 2: Using FLENS-BLAS which is a high-level interface to CXXBLAS.
-
Page 3: Using overloaded operators for BLAS operations. This is an even higher-level BLAS interface. FLENS has some nice feature that allows logging how BLAS actually gets used for the evaluation of complex linear algebra operations.
-
Page 4: How FLENS helps you avoiding the creation of temporaries when evaluation linear algebra expressions.
Session: Symmetric and Triangular Matrices with Full Storage
-
Page 1: We show how to create triangular and symmetric views from a general matrix.
Session: FLENS-LAPACK
Session: Define your own Matrix/Vector Types
Session: Kick-Ass Interface for FLENS-LAPACK
-
Page 1: LU Factorization tupel(P,L,U) = lu(A)