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

4.2.13 vsip_dvrsqrt_p - Element-wise Reciprocal Square Root of a Vector View

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

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

     1
ri= ⎷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_vrsqrt_f(src_vector_view, dst_vector_view);