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

4.1.4 vsip_vacos_p - Element-wise Arccosine of a Vector View

void vsip_vacos_f(const vsip_vview_f* a, const vsip_vview_f* r);
Description

This function computes the element-wise cosine of the vector view a and stores the result in the vector view r.

      -1
ri= cos  (ai)
Parameters
Example

vsip_vview_f *src_vector_view; 
vsip_vview_f *dst_vector_view; 
 
// Assuming src_vector_view and dst_vector_view have been properly initialized 
vsip_vacos_f(src_vector_view, dst_vector_view);