// -*- text -*- $topdir = "."; $title = "Matrix Template Library Examples"; include_once("$topdir/includes/header.inc"); ?> Examples are a great way to get started with any programming system and we include a number of them here. There is also a whole directory of example in the MTL distribution, in the /contrib/examples/ directory.
Two extended examples are given below.
We also have a number of shorter examples, consisting of annotated source code: Basic MTL, LAPACK interface, and Iterative Template Library (ITL).
LU Factorization shows how to use MTL to implement both pointwise and blocked versions of LU factorization.
Conjugate Gradient Solver, part of the >Iterative Template Library (ITL) shows how to use MTL to implement a higher-level algorithm that is itself generic.
Complete documentation on the Iterative Template Library can be found >here. include("$topdir/includes/footer.inc"); ?>