Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

6.3.1 vsip_dlud_create_p - Create LU Decomposition Object

vsip_lu_f* vsip_lud_create_f(vsip_length n); 
vsip_clu_f* vsip_clud_create_f(vsip_length n);
Description

This function creates an LU decomposition object for factoring an n× n matrix into the product of a lower triangular matrix   L and an upper triangular matrix U. The object can be reused for multiple decompositions of matrices with the same dimensions.

Parameters
Return Value
Example

vsip_lu_f *lu_obj; 
vsip_length n = 100; 
 
// Create LU decomposition object 
lu_obj = vsip_lud_create_f(n); 
 
if (lu_obj == NULL) { 
    // Handle error 
}