Module: Numo::DComplex::Math
- Defined in:
- ext/numo/narray/types/dcomplex.c
Class Method Summary collapse
-
.acos(x) ⇒ Numo::DComplex
Calculate acos(x).
-
.acosh(x) ⇒ Numo::DComplex
Calculate acosh(x).
-
.asin(x) ⇒ Numo::DComplex
Calculate asin(x).
-
.asinh(x) ⇒ Numo::DComplex
Calculate asinh(x).
-
.atan(x) ⇒ Numo::DComplex
Calculate atan(x).
-
.atanh(x) ⇒ Numo::DComplex
Calculate atanh(x).
-
.cbrt(x) ⇒ Numo::DComplex
Calculate cbrt(x).
-
.cos(x) ⇒ Numo::DComplex
Calculate cos(x).
-
.cosh(x) ⇒ Numo::DComplex
Calculate cosh(x).
-
.exp(x) ⇒ Numo::DComplex
Calculate exp(x).
-
.exp10(x) ⇒ Numo::DComplex
Calculate exp10(x).
-
.exp2(x) ⇒ Numo::DComplex
Calculate exp2(x).
-
.log(x) ⇒ Numo::DComplex
Calculate log(x).
-
.log10(x) ⇒ Numo::DComplex
Calculate log10(x).
-
.log2(x) ⇒ Numo::DComplex
Calculate log2(x).
-
.sin(x) ⇒ Numo::DComplex
Calculate sin(x).
-
.sinc(x) ⇒ Numo::DComplex
Calculate sinc(x).
-
.sinh(x) ⇒ Numo::DComplex
Calculate sinh(x).
-
.sqrt(x) ⇒ Numo::DComplex
Calculate sqrt(x).
-
.tan(x) ⇒ Numo::DComplex
Calculate tan(x).
-
.tanh(x) ⇒ Numo::DComplex
Calculate tanh(x).
Class Method Details
.acos(x) ⇒ Numo::DComplex
Calculate acos(x).
6901 6902 6903 6904 6905 6906 6907 6908 6909 |
# File 'ext/numo/narray/types/dcomplex.c', line 6901
static VALUE
dcomplex_math_s_acos(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_acos, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.acosh(x) ⇒ Numo::DComplex
Calculate acosh(x).
7441 7442 7443 7444 7445 7446 7447 7448 7449 |
# File 'ext/numo/narray/types/dcomplex.c', line 7441
static VALUE
dcomplex_math_s_acosh(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_acosh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.asin(x) ⇒ Numo::DComplex
Calculate asin(x).
6811 6812 6813 6814 6815 6816 6817 6818 6819 |
# File 'ext/numo/narray/types/dcomplex.c', line 6811
static VALUE
dcomplex_math_s_asin(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_asin, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.asinh(x) ⇒ Numo::DComplex
Calculate asinh(x).
7351 7352 7353 7354 7355 7356 7357 7358 7359 |
# File 'ext/numo/narray/types/dcomplex.c', line 7351
static VALUE
dcomplex_math_s_asinh(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_asinh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.atan(x) ⇒ Numo::DComplex
Calculate atan(x).
6991 6992 6993 6994 6995 6996 6997 6998 6999 |
# File 'ext/numo/narray/types/dcomplex.c', line 6991
static VALUE
dcomplex_math_s_atan(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_atan, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.atanh(x) ⇒ Numo::DComplex
Calculate atanh(x).
7531 7532 7533 7534 7535 7536 7537 7538 7539 |
# File 'ext/numo/narray/types/dcomplex.c', line 7531
static VALUE
dcomplex_math_s_atanh(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_atanh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.cbrt(x) ⇒ Numo::DComplex
Calculate cbrt(x).
5911 5912 5913 5914 5915 5916 5917 5918 5919 |
# File 'ext/numo/narray/types/dcomplex.c', line 5911
static VALUE
dcomplex_math_s_cbrt(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_cbrt, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.cos(x) ⇒ Numo::DComplex
Calculate cos(x).
6631 6632 6633 6634 6635 6636 6637 6638 6639 |
# File 'ext/numo/narray/types/dcomplex.c', line 6631
static VALUE
dcomplex_math_s_cos(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_cos, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.cosh(x) ⇒ Numo::DComplex
Calculate cosh(x).
7171 7172 7173 7174 7175 7176 7177 7178 7179 |
# File 'ext/numo/narray/types/dcomplex.c', line 7171
static VALUE
dcomplex_math_s_cosh(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_cosh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.exp(x) ⇒ Numo::DComplex
Calculate exp(x).
6271 6272 6273 6274 6275 6276 6277 6278 6279 |
# File 'ext/numo/narray/types/dcomplex.c', line 6271
static VALUE
dcomplex_math_s_exp(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_exp, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.exp10(x) ⇒ Numo::DComplex
Calculate exp10(x).
6451 6452 6453 6454 6455 6456 6457 6458 6459 |
# File 'ext/numo/narray/types/dcomplex.c', line 6451
static VALUE
dcomplex_math_s_exp10(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_exp10, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.exp2(x) ⇒ Numo::DComplex
Calculate exp2(x).
6361 6362 6363 6364 6365 6366 6367 6368 6369 |
# File 'ext/numo/narray/types/dcomplex.c', line 6361
static VALUE
dcomplex_math_s_exp2(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_exp2, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.log(x) ⇒ Numo::DComplex
Calculate log(x).
6001 6002 6003 6004 6005 6006 6007 6008 6009 |
# File 'ext/numo/narray/types/dcomplex.c', line 6001
static VALUE
dcomplex_math_s_log(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_log, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.log10(x) ⇒ Numo::DComplex
Calculate log10(x).
6181 6182 6183 6184 6185 6186 6187 6188 6189 |
# File 'ext/numo/narray/types/dcomplex.c', line 6181
static VALUE
dcomplex_math_s_log10(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_log10, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.log2(x) ⇒ Numo::DComplex
Calculate log2(x).
6091 6092 6093 6094 6095 6096 6097 6098 6099 |
# File 'ext/numo/narray/types/dcomplex.c', line 6091
static VALUE
dcomplex_math_s_log2(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_log2, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sin(x) ⇒ Numo::DComplex
Calculate sin(x).
6541 6542 6543 6544 6545 6546 6547 6548 6549 |
# File 'ext/numo/narray/types/dcomplex.c', line 6541
static VALUE
dcomplex_math_s_sin(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_sin, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sinc(x) ⇒ Numo::DComplex
Calculate sinc(x).
7621 7622 7623 7624 7625 7626 7627 7628 7629 |
# File 'ext/numo/narray/types/dcomplex.c', line 7621
static VALUE
dcomplex_math_s_sinc(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_sinc, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sinh(x) ⇒ Numo::DComplex
Calculate sinh(x).
7081 7082 7083 7084 7085 7086 7087 7088 7089 |
# File 'ext/numo/narray/types/dcomplex.c', line 7081
static VALUE
dcomplex_math_s_sinh(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_sinh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sqrt(x) ⇒ Numo::DComplex
Calculate sqrt(x).
5821 5822 5823 5824 5825 5826 5827 5828 5829 |
# File 'ext/numo/narray/types/dcomplex.c', line 5821
static VALUE
dcomplex_math_s_sqrt(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_sqrt, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.tan(x) ⇒ Numo::DComplex
Calculate tan(x).
6721 6722 6723 6724 6725 6726 6727 6728 6729 |
# File 'ext/numo/narray/types/dcomplex.c', line 6721
static VALUE
dcomplex_math_s_tan(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_tan, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.tanh(x) ⇒ Numo::DComplex
Calculate tanh(x).
7261 7262 7263 7264 7265 7266 7267 7268 7269 |
# File 'ext/numo/narray/types/dcomplex.c', line 7261
static VALUE
dcomplex_math_s_tanh(VALUE mod, VALUE a1)
{
ndfunc_arg_in_t ain[1] = {{cT,0}};
ndfunc_arg_out_t aout[1] = {{cT,0}};
ndfunc_t ndf = { iter_dcomplex_math_s_tanh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|