Cos - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English
void amd_vrsa_cosf(int len, const float *src, float *dst)#

Computes cosine elementwise for float array.

Parameters:
  • len – Number of elements.

  • src – Input array of length len.

  • dst – Output array of length len for cosines.

void amd_vrda_cos(int len, const double *src, double *dst)#

Computes cosine elementwise for double array.

Parameters:
  • len – Number of elements.

  • src – Input array of length len.

  • dst – Output array of length len for cosines.