Trigonometric Functions

void ksl_dc(const double thetai, double dc[2])

compute double precision direction cosines from an angle specified in radians

Parameters
  • thetai: [in] input angle
  • dc: [out] direction cosines, with sine stored in dc[0] and cosine is stored in dc[1]

void ksl_dcf(const float thetai, float dc[2])

compute single precision direction cosines from an angle specified in radians

Parameters
  • thetai: [in] input angle
  • dc: [out] direction cosines, with sine stored in dc[0] and cosine is stored in dc[1]