Module: BigMathR::LogRep
- Defined in:
- ext/bigdecimal/math_r/logrep.c,
ext/bigdecimal/math_r/math_r.c
Overview
A module that provides the logarithmic representations. It is used internally.
Synopsis
The function names defined are the same as those in the C/C++ standard.
-
Inverse sine:
:asin:casin -
Inverse cosine:
:acos:cacos -
Inverse tangent:
:atan:catan -
Inverse hyperbolic sine:
:asinh:casinh -
Inverse hyperbolic cosine:
:acosh:cacosh -
Inverse hyperbolic tangent:
:atanh:catanh
Follow, the name defined in C/C++ standard though, the function names are different.
-
Inverse cosecant:
:acsc:cacsc -
Inverse secant:
:asec:casec -
Inverse cotangent:
:acot:cacot -
Inverse hyperbolic cosecant:
:acsch:cacsch -
Inverse hyperbolic secant:
:asech:casech -
Inverse hyperbolic cotangent:
:acoth:cacoth
- Reference
Class Method Summary collapse
-
.acos(x, prec) ⇒ BigDecimal
Computes the inverse cosine of
x. -
.acosh(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cosine of
x. -
.acot(x, prec) ⇒ BigDecimal
Computes the inverse cotangent of
x. -
.acoth(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cotangent of
x. -
.acsc(x, prec) ⇒ BigDecimal
Computes the inverse cosecant of
x. -
.acsch(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cosecant of
x. -
.asec(x, prec) ⇒ BigDecimal
Computes the inverse secant of
x. -
.asech(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic secant of
x. -
.asinh(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cotangent of
x. -
.atan(x, prec) ⇒ BigDecimal
Computes the inverse tangent of
x. -
.atanh(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic tangent of
x. -
.cacos(z, prec) ⇒ Complex
Computes complex inverse cosine of
z. -
.cacosh(z, prec) ⇒ Complex
Computes complex inverse hyperbolic cosine of
z. -
.cacot(z, prec) ⇒ Complex
Computes complex inverse cotangent of
z. -
.cacoth(z, prec) ⇒ Complex
Computes complex inverse hyperbolic cotangent of
z. -
.cacsc(z, prec) ⇒ Complex
Computes complex inverse cosecant of
z. -
.cacsch(z, prec) ⇒ Complex
Computes complex inverse hyperbolic cosecant of
z. -
.casec(z, prec) ⇒ Complex
Computes complex inverse secant of
z. -
.casech(z, prec) ⇒ Complex
Computes complex inverse hyperbolic secant of
z. -
.casin(z, prec) ⇒ Complex
Computes complex inverse sine of
z. -
.casinh(z, prec) ⇒ Complex
Computes complex inverse hyperbolic sine of
z. -
.catan(z, prec) ⇒ Complex
Computes complex inverse tangent of
z. -
.catanh(z, prec) ⇒ Complex
Computes complex inverse hyperbolic tangent of
z.
Class Method Details
.acos(x, prec) ⇒ BigDecimal
Computes the inverse cosine of x.
50 51 52 53 54 |
# File 'ext/bigdecimal/math_r/logrep.c', line 50 static VALUE __impl_logrep_acos(VALUE unused_obj, VALUE x, VALUE prec) { return acos_branch(x, prec, acos_logrep); } |
.acosh(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cosine of x.
166 167 168 169 170 |
# File 'ext/bigdecimal/math_r/logrep.c', line 166 static VALUE __impl_logrep_acosh(VALUE unused_obj, VALUE x, VALUE prec) { return acosh_branch(x, prec, acosh_logrep); } |
.acot(x, prec) ⇒ BigDecimal
Computes the inverse cotangent of x.
126 127 128 129 130 |
# File 'ext/bigdecimal/math_r/logrep.c', line 126 static VALUE __impl_logrep_acot(VALUE unused_obj, VALUE x, VALUE prec) { return acot_branch(x, prec, acot_logrep); } |
.acoth(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cotangent of x.
244 245 246 247 248 |
# File 'ext/bigdecimal/math_r/logrep.c', line 244 static VALUE __impl_logrep_acoth(VALUE unused_obj, VALUE x, VALUE prec) { return acoth_branch(x, prec, acoth_logrep); } |
.acsc(x, prec) ⇒ BigDecimal
Computes the inverse cosecant of x.
88 89 90 91 92 |
# File 'ext/bigdecimal/math_r/logrep.c', line 88 static VALUE __impl_logrep_acsc(VALUE unused_obj, VALUE x, VALUE prec) { return acsc_branch(x, prec, acsc_logrep); } |
.acsch(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cosecant of x.
206 207 208 209 210 |
# File 'ext/bigdecimal/math_r/logrep.c', line 206 static VALUE __impl_logrep_acsch(VALUE unused_obj, VALUE x, VALUE prec) { return acsch_branch(x, prec, acsch_logrep); } |
.asec(x, prec) ⇒ BigDecimal
Computes the inverse secant of x.
107 108 109 110 111 |
# File 'ext/bigdecimal/math_r/logrep.c', line 107 static VALUE __impl_logrep_asec(VALUE unused_obj, VALUE x, VALUE prec) { return asec_branch(x, prec, asec_logrep); } |
.asech(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic secant of x.
225 226 227 228 229 |
# File 'ext/bigdecimal/math_r/logrep.c', line 225 static VALUE __impl_logrep_asech(VALUE unused_obj, VALUE x, VALUE prec) { return asech_branch(x, prec, asech_logrep); } |
.asinh(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic cotangent of x.
147 148 149 150 151 |
# File 'ext/bigdecimal/math_r/logrep.c', line 147 static VALUE __impl_logrep_asinh(VALUE unused_obj, VALUE x, VALUE prec) { return asinh_branch(x, prec, asinh_logrep); } |
.atan(x, prec) ⇒ BigDecimal
Computes the inverse tangent of x.
69 70 71 72 73 |
# File 'ext/bigdecimal/math_r/logrep.c', line 69 static VALUE __impl_logrep_atan(VALUE unused_obj, VALUE x, VALUE prec) { return atan_branch(x, prec, atan_logrep); } |
.atanh(x, prec) ⇒ BigDecimal
Computes inverse hyperbolic tangent of x.
187 188 189 190 191 |
# File 'ext/bigdecimal/math_r/logrep.c', line 187 static VALUE __impl_logrep_atanh(VALUE unused_obj, VALUE x, VALUE prec) { return atanh_branch(x, prec, atanh_logrep); } |
.cacos(z, prec) ⇒ Complex
Computes complex inverse cosine of z.
282 283 284 285 286 |
# File 'ext/bigdecimal/math_r/logrep.c', line 282 static VALUE __impl_logrep_cacos(VALUE unused_obj, VALUE z, VALUE prec) { return cacos_branch(z, prec, cacos_logrep); } |
.cacosh(z, prec) ⇒ Complex
Computes complex inverse hyperbolic cosine of z.
396 397 398 399 400 |
# File 'ext/bigdecimal/math_r/logrep.c', line 396 static VALUE __impl_logrep_cacosh(VALUE unused_obj, VALUE z, VALUE prec) { return cacosh_branch(z, prec, cacosh_logrep); } |
.cacot(z, prec) ⇒ Complex
Computes complex inverse cotangent of z.
358 359 360 361 362 |
# File 'ext/bigdecimal/math_r/logrep.c', line 358 static VALUE __impl_logrep_cacot(VALUE unused_obj, VALUE z, VALUE prec) { return cacot_branch(z, prec, cacot_logrep); } |
.cacoth(z, prec) ⇒ Complex
Computes complex inverse hyperbolic cotangent of z.
472 473 474 475 476 |
# File 'ext/bigdecimal/math_r/logrep.c', line 472 static VALUE __impl_logrep_cacoth(VALUE unused_obj, VALUE z, VALUE prec) { return cacoth_branch(z, prec, cacoth_logrep); } |
.cacsc(z, prec) ⇒ Complex
Computes complex inverse cosecant of z.
320 321 322 323 324 |
# File 'ext/bigdecimal/math_r/logrep.c', line 320 static VALUE __impl_logrep_cacsc(VALUE unused_obj, VALUE z, VALUE prec) { return cacsc_branch(z, prec, cacsc_logrep); } |
.cacsch(z, prec) ⇒ Complex
Computes complex inverse hyperbolic cosecant of z.
434 435 436 437 438 |
# File 'ext/bigdecimal/math_r/logrep.c', line 434 static VALUE __impl_logrep_cacsch(VALUE unused_obj, VALUE z, VALUE prec) { return cacsch_branch(z, prec, cacsch_logrep); } |
.casec(z, prec) ⇒ Complex
Computes complex inverse secant of z.
339 340 341 342 343 |
# File 'ext/bigdecimal/math_r/logrep.c', line 339 static VALUE __impl_logrep_casec(VALUE unused_obj, VALUE z, VALUE prec) { return casec_branch(z, prec, casec_logrep); } |
.casech(z, prec) ⇒ Complex
Computes complex inverse hyperbolic secant of z.
453 454 455 456 457 |
# File 'ext/bigdecimal/math_r/logrep.c', line 453 static VALUE __impl_logrep_casech(VALUE unused_obj, VALUE z, VALUE prec) { return casech_branch(z, prec, casech_logrep); } |
.casin(z, prec) ⇒ Complex
Computes complex inverse sine of z.
263 264 265 266 267 |
# File 'ext/bigdecimal/math_r/logrep.c', line 263 static VALUE __impl_logrep_casin(VALUE unused_obj, VALUE z, VALUE prec) { return casin_branch(z, prec, casin_logrep); } |
.casinh(z, prec) ⇒ Complex
Computes complex inverse hyperbolic sine of z.
377 378 379 380 381 |
# File 'ext/bigdecimal/math_r/logrep.c', line 377 static VALUE __impl_logrep_casinh(VALUE unused_obj, VALUE z, VALUE prec) { return casinh_branch(z, prec, casinh_logrep); } |
.catan(z, prec) ⇒ Complex
Computes complex inverse tangent of z.
301 302 303 304 305 |
# File 'ext/bigdecimal/math_r/logrep.c', line 301 static VALUE __impl_logrep_catan(VALUE unused_obj, VALUE z, VALUE prec) { return catan_branch(z, prec, catan_logrep); } |
.catanh(z, prec) ⇒ Complex
Computes complex inverse hyperbolic tangent of z.
415 416 417 418 419 |
# File 'ext/bigdecimal/math_r/logrep.c', line 415 static VALUE __impl_logrep_catanh(VALUE unused_obj, VALUE z, VALUE prec) { return catanh_branch(z, prec, catanh_logrep); } |