Help Center

CComplex.CCosmethod

Returns the complex cosine of this complex number.

Numeric DatatypesmethodCComplex.incdocumented

Syntax

FUNCTION CCos () AS CComplex

Description

Returns the complex cosine of this complex number.

Example

DIM cpx AS CComplex = CComplex(1, 1) PRINT cpx.CCos Output: 0.8337300251311491 -0.9888977057628651 * i

Reference

  • Include file CComplex.inc
  • Defined in AfxNova/CComplex.inc:1263
  • Documented in Numeric Datatypes/CComplex Class.md
  • Topic: CComplex Class