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.3 vsip_dlud_getattr_p - Get LU Decomposition Attributes

typedef struct _vsip_lu_attr_g { 
  vsip_length n; 
} vsip_lu_attr_g; 
 
typedef vsip_lu_attr_g vsip_lu_attr_f; 
typedef vsip_lu_attr_g vsip_clu_attr_f; 
 
void vsip_lud_getattr_f(const vsip_lu_f *lu, vsip_lu_attr_f *attr); 
void vsip_clud_getattr_f(const vsip_clu_f *lu, vsip_lu_cattr_f *attr);
Description

This function retrieves the attributes of an LU decomposition object, this currently includes a single attribute called n for the row and column element count of the square matrix.

Parameters
Example

vsip_lu_f *lu_obj; 
vsip_lu_attr_f attr; 
 
// Assuming lu_obj has been properly initialized 
vsip_lud_getattr_f(lu_obj, &attr); 
 
// attr.n - Number of rows and columns of the square matrix