Module: Numo::SComplex::Math
- Defined in:
- ext/numo/narray/types/scomplex.c
Class Method Summary collapse
-
.acos(x) ⇒ Numo::SComplex
Calculate acos(x).
-
.acosh(x) ⇒ Numo::SComplex
Calculate acosh(x).
-
.asin(x) ⇒ Numo::SComplex
Calculate asin(x).
-
.asinh(x) ⇒ Numo::SComplex
Calculate asinh(x).
-
.atan(x) ⇒ Numo::SComplex
Calculate atan(x).
-
.atanh(x) ⇒ Numo::SComplex
Calculate atanh(x).
-
.cbrt(x) ⇒ Numo::SComplex
Calculate cbrt(x).
-
.cos(x) ⇒ Numo::SComplex
Calculate cos(x).
-
.cosh(x) ⇒ Numo::SComplex
Calculate cosh(x).
-
.exp(x) ⇒ Numo::SComplex
Calculate exp(x).
-
.exp10(x) ⇒ Numo::SComplex
Calculate exp10(x).
-
.exp2(x) ⇒ Numo::SComplex
Calculate exp2(x).
-
.log(x) ⇒ Numo::SComplex
Calculate log(x).
-
.log10(x) ⇒ Numo::SComplex
Calculate log10(x).
-
.log2(x) ⇒ Numo::SComplex
Calculate log2(x).
-
.sin(x) ⇒ Numo::SComplex
Calculate sin(x).
-
.sinc(x) ⇒ Numo::SComplex
Calculate sinc(x).
-
.sinh(x) ⇒ Numo::SComplex
Calculate sinh(x).
-
.sqrt(x) ⇒ Numo::SComplex
Calculate sqrt(x).
-
.tan(x) ⇒ Numo::SComplex
Calculate tan(x).
-
.tanh(x) ⇒ Numo::SComplex
Calculate tanh(x).
Class Method Details
.acos(x) ⇒ Numo::SComplex
Calculate acos(x).
6842 6843 6844 6845 6846 6847 6848 6849 6850 |
# File 'ext/numo/narray/types/scomplex.c', line 6842
static VALUE
scomplex_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_scomplex_math_s_acos, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.acosh(x) ⇒ Numo::SComplex
Calculate acosh(x).
7382 7383 7384 7385 7386 7387 7388 7389 7390 |
# File 'ext/numo/narray/types/scomplex.c', line 7382
static VALUE
scomplex_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_scomplex_math_s_acosh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.asin(x) ⇒ Numo::SComplex
Calculate asin(x).
6752 6753 6754 6755 6756 6757 6758 6759 6760 |
# File 'ext/numo/narray/types/scomplex.c', line 6752
static VALUE
scomplex_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_scomplex_math_s_asin, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.asinh(x) ⇒ Numo::SComplex
Calculate asinh(x).
7292 7293 7294 7295 7296 7297 7298 7299 7300 |
# File 'ext/numo/narray/types/scomplex.c', line 7292
static VALUE
scomplex_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_scomplex_math_s_asinh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.atan(x) ⇒ Numo::SComplex
Calculate atan(x).
6932 6933 6934 6935 6936 6937 6938 6939 6940 |
# File 'ext/numo/narray/types/scomplex.c', line 6932
static VALUE
scomplex_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_scomplex_math_s_atan, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.atanh(x) ⇒ Numo::SComplex
Calculate atanh(x).
7472 7473 7474 7475 7476 7477 7478 7479 7480 |
# File 'ext/numo/narray/types/scomplex.c', line 7472
static VALUE
scomplex_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_scomplex_math_s_atanh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.cbrt(x) ⇒ Numo::SComplex
Calculate cbrt(x).
5852 5853 5854 5855 5856 5857 5858 5859 5860 |
# File 'ext/numo/narray/types/scomplex.c', line 5852
static VALUE
scomplex_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_scomplex_math_s_cbrt, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.cos(x) ⇒ Numo::SComplex
Calculate cos(x).
6572 6573 6574 6575 6576 6577 6578 6579 6580 |
# File 'ext/numo/narray/types/scomplex.c', line 6572
static VALUE
scomplex_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_scomplex_math_s_cos, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.cosh(x) ⇒ Numo::SComplex
Calculate cosh(x).
7112 7113 7114 7115 7116 7117 7118 7119 7120 |
# File 'ext/numo/narray/types/scomplex.c', line 7112
static VALUE
scomplex_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_scomplex_math_s_cosh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.exp(x) ⇒ Numo::SComplex
Calculate exp(x).
6212 6213 6214 6215 6216 6217 6218 6219 6220 |
# File 'ext/numo/narray/types/scomplex.c', line 6212
static VALUE
scomplex_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_scomplex_math_s_exp, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.exp10(x) ⇒ Numo::SComplex
Calculate exp10(x).
6392 6393 6394 6395 6396 6397 6398 6399 6400 |
# File 'ext/numo/narray/types/scomplex.c', line 6392
static VALUE
scomplex_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_scomplex_math_s_exp10, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.exp2(x) ⇒ Numo::SComplex
Calculate exp2(x).
6302 6303 6304 6305 6306 6307 6308 6309 6310 |
# File 'ext/numo/narray/types/scomplex.c', line 6302
static VALUE
scomplex_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_scomplex_math_s_exp2, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.log(x) ⇒ Numo::SComplex
Calculate log(x).
5942 5943 5944 5945 5946 5947 5948 5949 5950 |
# File 'ext/numo/narray/types/scomplex.c', line 5942
static VALUE
scomplex_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_scomplex_math_s_log, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.log10(x) ⇒ Numo::SComplex
Calculate log10(x).
6122 6123 6124 6125 6126 6127 6128 6129 6130 |
# File 'ext/numo/narray/types/scomplex.c', line 6122
static VALUE
scomplex_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_scomplex_math_s_log10, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.log2(x) ⇒ Numo::SComplex
Calculate log2(x).
6032 6033 6034 6035 6036 6037 6038 6039 6040 |
# File 'ext/numo/narray/types/scomplex.c', line 6032
static VALUE
scomplex_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_scomplex_math_s_log2, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sin(x) ⇒ Numo::SComplex
Calculate sin(x).
6482 6483 6484 6485 6486 6487 6488 6489 6490 |
# File 'ext/numo/narray/types/scomplex.c', line 6482
static VALUE
scomplex_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_scomplex_math_s_sin, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sinc(x) ⇒ Numo::SComplex
Calculate sinc(x).
7562 7563 7564 7565 7566 7567 7568 7569 7570 |
# File 'ext/numo/narray/types/scomplex.c', line 7562
static VALUE
scomplex_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_scomplex_math_s_sinc, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sinh(x) ⇒ Numo::SComplex
Calculate sinh(x).
7022 7023 7024 7025 7026 7027 7028 7029 7030 |
# File 'ext/numo/narray/types/scomplex.c', line 7022
static VALUE
scomplex_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_scomplex_math_s_sinh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.sqrt(x) ⇒ Numo::SComplex
Calculate sqrt(x).
5762 5763 5764 5765 5766 5767 5768 5769 5770 |
# File 'ext/numo/narray/types/scomplex.c', line 5762
static VALUE
scomplex_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_scomplex_math_s_sqrt, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.tan(x) ⇒ Numo::SComplex
Calculate tan(x).
6662 6663 6664 6665 6666 6667 6668 6669 6670 |
# File 'ext/numo/narray/types/scomplex.c', line 6662
static VALUE
scomplex_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_scomplex_math_s_tan, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|
.tanh(x) ⇒ Numo::SComplex
Calculate tanh(x).
7202 7203 7204 7205 7206 7207 7208 7209 7210 |
# File 'ext/numo/narray/types/scomplex.c', line 7202
static VALUE
scomplex_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_scomplex_math_s_tanh, FULL_LOOP, 1, 1, ain, aout };
return na_ndloop(&ndf, 1, a1);
}
|