Adelsbach/VSIPL
Core Light Double Precision Programming Reference Guide
DD-00014-015
Core Light +DP

6.12 vsip_dvputattrib_p - Set the Attributes of a Vector View

vsip_vview_f* vsip_vputattrib_f(vsip_vview_f* v, const vsip_vattr_f *a); 
vsip_vview_d* vsip_vputattrib_d(vsip_vview_d* v, const vsip_vattr_d *a); 
vsip_vview_i* vsip_vputattrib_i(vsip_vview_i* v, const vsip_vattr_i *a); 
vsip_cvview_f* vsip_cvputattrib_f(vsip_cvview_f* v, const vsip_cvattr_f *a); 
vsip_cvview_d* vsip_cvputattrib_d(vsip_cvview_d* v, const vsip_cvattr_d *a);
Description

This function sets the attributes of the vector view v to the values specified in the structure pointed to by a.

Parameters
Return Value
Example

vsip_vview_f *vector_view; 
vsip_vattr_f new_attributes; 
 
// Assuming vector_view has been properly initialized and new_attributes is set 
vector_view = vsip_vputattrib_f(vector_view, &new_attributes); 
 
if (vector_view == NULL) { 
    // Handle error 
}