fpnla-0.1: A library for NLA operations

Safe HaskellSafe-Inferred



This module defines all the LAPACK (Linear Algebra PACKage) operations supported by the framework. See http://www.netlib.org/lapack/ for more information about LAPACK.



class (Elt e, MatrixVector m v e) => POTRF s m v e whereSource

Defines the signature of the LAPACK potrf operation in the framework. This operation takes a symmetric (or hermitian) positive definite (SPD) matrix (flagged with TriangType) and computes the Cholesky factorization of the matrix. The Cholesky decomposition of an SPD matrix M is a lower triangular matrix L where M = L L* being L* the conjugate transpose of L.


potrf :: StratCtx s -> TriangType (m e) -> ResM s v m eSource