ccos

Section: C Library Functions (3)
Updated: 2026-02-08
Index JM Home Page roff page
 

名前

ccos, ccosf, ccosl - 複素数の余弦 (cosine)  

ライブラリ

数学ライブラリ (libm,~-lm)  

書式

#include <complex.h>

double complex ccos(double complex z);
float complex ccosf(float complex z);
long double complex ccosl(long double complex z);
 

説明

これらの関数は、複素数 z の余弦 (cosine) を計算する。

複素数の余弦 (cosine) 関数 ccos(z) は以下のように定義される。

ccos(z) = (exp(i * z) + exp(-i * z)) / 2
 

属性

この節で使用されている用語の説明については、 attributes(7) を参照。
インターフェース属性値
ccos(), ccosf(), ccosl() Thread safetyMT-Safe
 

標準規格

C11, POSIX.1-2008.  

歴史

glibc 2.1. C99, POSIX.1-2001.  

関連項目

cabs(3), cacos(3), csin(3), ctan(3), complex(7)


 

Index

名前
ライブラリ
書式
説明
属性
標準規格
歴史
関連項目

This document was created by man2html, using the manual pages.