math.idx 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. nimTitle math math.html module std/math 0
  2. nim divmod math.html#divmod,T,T proc divmod[T: SomeInteger](x, y: T): (T, T) 98
  3. nim binom math.html#binom,int,int proc binom(n, k: int): int 117
  4. nim fac math.html#fac,int proc fac(n: int): int 135
  5. nim PI math.html#PI const PI 163
  6. nim TAU math.html#TAU const TAU 164
  7. nim E math.html#E const E 165
  8. nim MaxFloat64Precision math.html#MaxFloat64Precision const MaxFloat64Precision 167
  9. nim MaxFloat32Precision math.html#MaxFloat32Precision const MaxFloat32Precision 170
  10. nim MaxFloatPrecision math.html#MaxFloatPrecision const MaxFloatPrecision 173
  11. nim MinFloatNormal math.html#MinFloatNormal const MinFloatNormal 177
  12. nim fcNormal math.html#fcNormal FloatClass.fcNormal 182
  13. nim fcSubnormal math.html#fcSubnormal FloatClass.fcSubnormal 182
  14. nim fcZero math.html#fcZero FloatClass.fcZero 182
  15. nim fcNegZero math.html#fcNegZero FloatClass.fcNegZero 182
  16. nim fcNan math.html#fcNan FloatClass.fcNan 182
  17. nim fcInf math.html#fcInf FloatClass.fcInf 182
  18. nim fcNegInf math.html#fcNegInf FloatClass.fcNegInf 182
  19. nim FloatClass math.html#FloatClass enum FloatClass 182
  20. nim isNaN math.html#isNaN,SomeFloat proc isNaN(x: SomeFloat): bool 193
  21. nim signbit math.html#signbit,SomeFloat proc signbit(x: SomeFloat): bool 231
  22. nim copySign math.html#copySign,T,T proc copySign[T: SomeFloat](x, y: T): T 245
  23. nim classify math.html#classify,float proc classify(x: float): FloatClass 270
  24. nim almostEqual math.html#almostEqual,T,T,Natural proc almostEqual[T: SomeFloat](x, y: T; unitsInLastPlace: Natural = 4): bool 295
  25. nim isPowerOfTwo math.html#isPowerOfTwo,int proc isPowerOfTwo(x: int): bool 324
  26. nim nextPowerOfTwo math.html#nextPowerOfTwo,int proc nextPowerOfTwo(x: int): int 339
  27. nim sqrt math.html#sqrt,float32 proc sqrt(x: float32): float32 368
  28. nim sqrt math.html#sqrt,float64 proc sqrt(x: float64): float64 369
  29. nim cbrt math.html#cbrt,float32 proc cbrt(x: float32): float32 377
  30. nim cbrt math.html#cbrt,float64 proc cbrt(x: float64): float64 378
  31. nim ln math.html#ln,float32 proc ln(x: float32): float32 387
  32. nim ln math.html#ln,float64 proc ln(x: float64): float64 388
  33. nim log math.html#log,T,T proc log[T: SomeFloat](x, base: T): T 412
  34. nim log10 math.html#log10,float32 proc log10(x: float32): float32 428
  35. nim log10 math.html#log10,float64 proc log10(x: float64): float64 429
  36. nim exp math.html#exp,float32 proc exp(x: float32): float32 440
  37. nim exp math.html#exp,float64 proc exp(x: float64): float64 441
  38. nim sin math.html#sin,float32 proc sin(x: float32): float32 450
  39. nim sin math.html#sin,float64 proc sin(x: float64): float64 451
  40. nim cos math.html#cos,float32 proc cos(x: float32): float32 459
  41. nim cos math.html#cos,float64 proc cos(x: float64): float64 460
  42. nim tan math.html#tan,float32 proc tan(x: float32): float32 468
  43. nim tan math.html#tan,float64 proc tan(x: float64): float64 469
  44. nim sinh math.html#sinh,float32 proc sinh(x: float32): float32 477
  45. nim sinh math.html#sinh,float64 proc sinh(x: float64): float64 478
  46. nim cosh math.html#cosh,float32 proc cosh(x: float32): float32 486
  47. nim cosh math.html#cosh,float64 proc cosh(x: float64): float64 487
  48. nim tanh math.html#tanh,float32 proc tanh(x: float32): float32 495
  49. nim tanh math.html#tanh,float64 proc tanh(x: float64): float64 496
  50. nim arcsin math.html#arcsin,float32 proc arcsin(x: float32): float32 504
  51. nim arcsin math.html#arcsin,float64 proc arcsin(x: float64): float64 505
  52. nim arccos math.html#arccos,float32 proc arccos(x: float32): float32 513
  53. nim arccos math.html#arccos,float64 proc arccos(x: float64): float64 514
  54. nim arctan math.html#arctan,float32 proc arctan(x: float32): float32 522
  55. nim arctan math.html#arctan,float64 proc arctan(x: float64): float64 523
  56. nim arctan2 math.html#arctan2,float32,float32 proc arctan2(y, x: float32): float32 532
  57. nim arctan2 math.html#arctan2,float64,float64 proc arctan2(y, x: float64): float64 533
  58. nim arcsinh math.html#arcsinh,float32 proc arcsinh(x: float32): float32 544
  59. nim arcsinh math.html#arcsinh,float64 proc arcsinh(x: float64): float64 545
  60. nim arccosh math.html#arccosh,float32 proc arccosh(x: float32): float32 550
  61. nim arccosh math.html#arccosh,float64 proc arccosh(x: float64): float64 551
  62. nim arctanh math.html#arctanh,float32 proc arctanh(x: float32): float32 556
  63. nim arctanh math.html#arctanh,float64 proc arctanh(x: float64): float64 557
  64. nim cot math.html#cot,T proc cot[T: float32 | float64](x: T): T 590
  65. nim sec math.html#sec,T proc sec[T: float32 | float64](x: T): T 592
  66. nim csc math.html#csc,T proc csc[T: float32 | float64](x: T): T 594
  67. nim coth math.html#coth,T proc coth[T: float32 | float64](x: T): T 597
  68. nim sech math.html#sech,T proc sech[T: float32 | float64](x: T): T 599
  69. nim csch math.html#csch,T proc csch[T: float32 | float64](x: T): T 601
  70. nim arccot math.html#arccot,T proc arccot[T: float32 | float64](x: T): T 604
  71. nim arcsec math.html#arcsec,T proc arcsec[T: float32 | float64](x: T): T 606
  72. nim arccsc math.html#arccsc,T proc arccsc[T: float32 | float64](x: T): T 608
  73. nim arccoth math.html#arccoth,T proc arccoth[T: float32 | float64](x: T): T 611
  74. nim arcsech math.html#arcsech,T proc arcsech[T: float32 | float64](x: T): T 613
  75. nim arccsch math.html#arccsch,T proc arccsch[T: float32 | float64](x: T): T 615
  76. nim hypot math.html#hypot,float32,float32 proc hypot(x, y: float32): float32 621
  77. nim hypot math.html#hypot,float64,float64 proc hypot(x, y: float64): float64 622
  78. nim pow math.html#pow,float32,float32 proc pow(x, y: float32): float32 627
  79. nim pow math.html#pow,float64,float64 proc pow(x, y: float64): float64 628
  80. nim erf math.html#erf,float32 proc erf(x: float32): float32 644
  81. nim erf math.html#erf,float64 proc erf(x: float64): float64 645
  82. nim erfc math.html#erfc,float32 proc erfc(x: float32): float32 649
  83. nim erfc math.html#erfc,float64 proc erfc(x: float64): float64 650
  84. nim gamma math.html#gamma,float32 proc gamma(x: float32): float32 654
  85. nim gamma math.html#gamma,float64 proc gamma(x: float64): float64 655
  86. nim lgamma math.html#lgamma,float32 proc lgamma(x: float32): float32 666
  87. nim lgamma math.html#lgamma,float64 proc lgamma(x: float64): float64 667
  88. nim floor math.html#floor,float32 proc floor(x: float32): float32 675
  89. nim floor math.html#floor,float64 proc floor(x: float64): float64 676
  90. nim ceil math.html#ceil,float32 proc ceil(x: float32): float32 688
  91. nim ceil math.html#ceil,float64 proc ceil(x: float64): float64 689
  92. nim round math.html#round,float32 proc round(x: float32): float32 758
  93. nim round math.html#round,float64 proc round(x: float64): float64 759
  94. nim trunc math.html#trunc,float32 proc trunc(x: float32): float32 776
  95. nim trunc math.html#trunc,float64 proc trunc(x: float64): float64 777
  96. nim `mod` math.html#mod,float32,float32 proc `mod`(x, y: float32): float32 788
  97. nim `mod` math.html#mod,float64,float64 proc `mod`(x, y: float64): float64 789
  98. nim round math.html#round,T,int proc round[T: float32 | float64](x: T; places: int): T 840
  99. nim floorDiv math.html#floorDiv,T,T proc floorDiv[T: SomeInteger](x, y: T): T 860
  100. nim floorMod math.html#floorMod,T,T proc floorMod[T: SomeNumber](x, y: T): T 880
  101. nim euclDiv math.html#euclDiv,T,T proc euclDiv[T: SomeInteger](x, y: T): T 897
  102. nim euclMod math.html#euclMod,T,T proc euclMod[T: SomeNumber](x, y: T): T 912
  103. nim ceilDiv math.html#ceilDiv,T,T proc ceilDiv[T: SomeInteger](x, y: T): T 925
  104. nim frexp math.html#frexp,T proc frexp[T: float32 | float64](x: T): tuple[frac: T, exp: int] 977
  105. nim frexp math.html#frexp,T,int proc frexp[T: float32 | float64](x: T; exponent: var int): T 1019
  106. nim log2 math.html#log2,float32 proc log2(x: float32): float32 1047
  107. nim log2 math.html#log2,float64 proc log2(x: float64): float64 1048
  108. nim splitDecimal math.html#splitDecimal,T proc splitDecimal[T: float32 | float64](x: T): tuple[intpart: T, floatpart: T] 1061
  109. nim degToRad math.html#degToRad,T proc degToRad[T: float32 | float64](d: T): T 1081
  110. nim radToDeg math.html#radToDeg,T proc radToDeg[T: float32 | float64](d: T): T 1091
  111. nim sgn math.html#sgn,T proc sgn[T: SomeNumber](x: T): int 1101
  112. nim sum math.html#sum,openArray[T] proc sum[T](x: openArray[T]): T 1118
  113. nim prod math.html#prod,openArray[T] proc prod[T](x: openArray[T]): T 1133
  114. nim cumprod math.html#cumprod,openArray[T] proc cumprod[T](x: var openArray[T]) 1148
  115. nim cumproded math.html#cumproded,openArray[T] proc cumproded[T](x: openArray[T]): seq[T] 1162
  116. nim cumsummed math.html#cumsummed,openArray[T] proc cumsummed[T](x: openArray[T]): seq[T] 1179
  117. nim cumsum math.html#cumsum,openArray[T] proc cumsum[T](x: var openArray[T]) 1197
  118. nim `^` math.html#^,T,Natural proc `^`[T: SomeNumber](x: T; y: Natural): T 1212
  119. nim `^` math.html#^,T,U proc `^`[T: SomeNumber; U: SomeFloat](x: T; y: U): float 1248
  120. nim gcd math.html#gcd,T,T proc gcd[T](x, y: T): T 1286
  121. nim gcd math.html#gcd,SomeInteger,SomeInteger proc gcd(x, y: SomeInteger): SomeInteger 1307
  122. nim gcd math.html#gcd,openArray[T] proc gcd[T](x: openArray[T]): T 1341
  123. nim lcm math.html#lcm,T,T proc lcm[T](x, y: T): T 1353
  124. nim clamp math.html#clamp,T,Slice[T] proc clamp[T](val: T; bounds: Slice[T]): T 1364
  125. nim lcm math.html#lcm,openArray[T] proc lcm[T](x: openArray[T]): T 1376
  126. heading See also math.html#see-also See also 0
  127. nimgrp log2 math.html#log2-procs-all proc 1047
  128. nimgrp pow math.html#pow-procs-all proc 627
  129. nimgrp ceil math.html#ceil-procs-all proc 688
  130. nimgrp floor math.html#floor-procs-all proc 675
  131. nimgrp sinh math.html#sinh-procs-all proc 477
  132. nimgrp arctan2 math.html#arctan2-procs-all proc 532
  133. nimgrp gamma math.html#gamma-procs-all proc 654
  134. nimgrp round math.html#round-procs-all proc 758
  135. nimgrp arcsinh math.html#arcsinh-procs-all proc 544
  136. nimgrp cbrt math.html#cbrt-procs-all proc 377
  137. nimgrp mod math.html#mod-procs-all proc 788
  138. nimgrp tan math.html#tan-procs-all proc 468
  139. nimgrp sin math.html#sin-procs-all proc 450
  140. nimgrp gcd math.html#gcd-procs-all proc 1286
  141. nimgrp hypot math.html#hypot-procs-all proc 621
  142. nimgrp ln math.html#ln-procs-all proc 387
  143. nimgrp sqrt math.html#sqrt-procs-all proc 368
  144. nimgrp exp math.html#exp-procs-all proc 440
  145. nimgrp trunc math.html#trunc-procs-all proc 776
  146. nimgrp arctanh math.html#arctanh-procs-all proc 556
  147. nimgrp arcsin math.html#arcsin-procs-all proc 504
  148. nimgrp arctan math.html#arctan-procs-all proc 522
  149. nimgrp arccosh math.html#arccosh-procs-all proc 550
  150. nimgrp frexp math.html#frexp-procs-all proc 977
  151. nimgrp ^ math.html#^-procs-all proc 1212
  152. nimgrp arccos math.html#arccos-procs-all proc 513
  153. nimgrp erfc math.html#erfc-procs-all proc 649
  154. nimgrp erf math.html#erf-procs-all proc 644
  155. nimgrp log10 math.html#log10-procs-all proc 428
  156. nimgrp tanh math.html#tanh-procs-all proc 495
  157. nimgrp cos math.html#cos-procs-all proc 459
  158. nimgrp lcm math.html#lcm-procs-all proc 1353
  159. nimgrp lgamma math.html#lgamma-procs-all proc 666
  160. nimgrp cosh math.html#cosh-procs-all proc 486