JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... g double complex ccoshl(long double complex z ); -lm でリンクする。 説明 これらの関数は、複素数 z の双曲線余弦 (hyperbolic cosine) を計算する。 複素数の双曲線余弦 (hyperbolic cosine) 関数 ccosh(z) は 以下のように定義される。 ccosh(z) = (exp(z)+exp(-z)) ... ... g double complex ccoshl(long double complex z ); -lm でリンクする。 説明 これらの関数は、複素数 z の双曲線余弦 (hyperbolic cosine) を計算する。 複素数の双曲線余弦 (hyperbolic cosine) 関数 ccosh(z) は 以下のように定義される。 ccosh(z) = (exp(z)+exp(-z)) ... ... g double complex ccoshl(long double complex z ); -lm でリンクする。 説明 これらの関数は、複素数 z の双曲線余弦 (hyperbolic cosine) を計算する。 複素数の双曲線余弦 (hyperbolic cosine) 関数 ccosh(z) は 以下のように定義される。 ccosh(z) = (exp(z)+exp(-z)) ... ... ng double complex ccosl(long double complex z ); -lm でリンクする。 説明 これらの関数は、複素数 z の余弦 (cosine) を計算する。 複素数の余弦 (cosine) 関数 ccos(z) は以下のように定義される。 ccos(z) = (exp(i * z) + exp(-i * z)) / 2 バージ ... ... ng double complex ccosl(long double complex z ); -lm でリンクする。 説明 これらの関数は、複素数 z の余弦 (cosine) を計算する。 複素数の余弦 (cosine) 関数 ccos(z) は以下のように定義される。 ccos(z) = (exp(i * z) + exp(-i * z)) / 2 バージ ... ... ng double complex ccosl(long double complex z ); -lm でリンクする。 説明 これらの関数は、複素数 z の余弦 (cosine) を計算する。 複素数の余弦 (cosine) 関数 ccos(z) は以下のように定義される。 ccos(z) = (exp(i * z) + exp(-i * z)) / 2 バージ ... ... 示する。 #include < dlfcn.h > int main(int argc, char **argv) { void *handle = dlopen ("/lib/libm.so", RTLD_LAZY); double (*cosine)(double) = dlsym(handle, "cos"); printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } このプログラムを "foo.c" に書いたとす ... ラーチェックを行っている: #include < stdio.h > #include < dlfcn.h > int main(int argc, char **argv) { void *handle; double (*cosine)(double); char *error; handle = dlopen ("/lib/libm.so", RTLD_LAZY); if (!handle) { fputs (dlerror(), stderr); exit (1); } ... cosine = dlsym(handle, "cos"); if ((error = dlerror()) != NULL) { fputs(error, stderr); exit (1); } printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } 謝辞 dlopen インターフェースの標準は Solaris をもとにしている。 Linux の dlopen の実装は、当初 ... ... 示する。 #include < dlfcn.h > int main(int argc, char **argv) { void *handle = dlopen ("/lib/libm.so", RTLD_LAZY); double (*cosine)(double) = dlsym(handle, "cos"); printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } このプログラムを "foo.c" に書いたとす ... ラーチェックを行っている: #include < stdio.h > #include < dlfcn.h > int main(int argc, char **argv) { void *handle; double (*cosine)(double); char *error; handle = dlopen ("/lib/libm.so", RTLD_LAZY); if (!handle) { fputs (dlerror(), stderr); exit (1); } ... cosine = dlsym(handle, "cos"); if ((error = dlerror()) != NULL) { fputs(error, stderr); exit (1); } printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } 謝辞 dlopen インターフェースの標準は Solaris をもとにしている。 Linux の dlopen の実装は、当初 ... ... 示する。 #include < dlfcn.h > int main(int argc, char **argv) { void *handle = dlopen ("/lib/libm.so", RTLD_LAZY); double (*cosine)(double) = dlsym(handle, "cos"); printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } このプログラムを "foo.c" に書いたとす ... ラーチェックを行っている: #include < stdio.h > #include < dlfcn.h > int main(int argc, char **argv) { void *handle; double (*cosine)(double); char *error; handle = dlopen ("/lib/libm.so", RTLD_LAZY); if (!handle) { fputs (dlerror(), stderr); exit (1); } ... cosine = dlsym(handle, "cos"); if ((error = dlerror()) != NULL) { fputs(error, stderr); exit (1); } printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } 謝辞 dlopen インターフェースの標準は Solaris をもとにしている。 Linux の dlopen の実装は、当初 ... ... 示する。 #include < dlfcn.h > int main(int argc, char **argv) { void *handle = dlopen ("/lib/libm.so", RTLD_LAZY); double (*cosine)(double) = dlsym(handle, "cos"); printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } このプログラムを "foo.c" に書いたとす ... ラーチェックを行っている: #include < stdio.h > #include < dlfcn.h > int main(int argc, char **argv) { void *handle; double (*cosine)(double); char *error; handle = dlopen ("/lib/libm.so", RTLD_LAZY); if (!handle) { fputs (dlerror(), stderr); exit (1); } ... cosine = dlsym(handle, "cos"); if ((error = dlerror()) != NULL) { fputs(error, stderr); exit (1); } printf ("%f\n", (*cosine)(2.0)); dlclose(handle); } 謝辞 dlopen インターフェースの標準は Solaris をもとにしている。 Linux の dlopen の実装は、当初 ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。