Module: Kernel
- Defined in:
- lib/ruuuby/module/kernel.rb,
lib/ruuuby/virtual/f10.rb
Overview
add various aliases & functions to existing module(Kernel)
Constant Summary collapse
- 𝚽 =
‣ ‘a+b` is to
aasais tob‣a/bis `linearly proportional` `(a+b)/a`‣ a∶b = (a+b)∶a ‣ a∶b = (1+b/a)∶1
‣ 𝚽 = ((1 + √5) / 2) ‣ 𝚽 = (1 + (1 / 𝚽))
‣ the only positive solution to: x² = x + 1
::Float::RATIO_GOLDEN
- Ⴔ =
‣ let ‘a+b = circumference of a circle`, (a+b)/a = a/b; (a->longer_arc, b->smaller_arc)
::Math::ANGLE_GOLDEN
Instance Method Summary collapse
-
#log₁₀(n) ⇒ Float
| domain | (0, ∞) | | co-domain | (-∞, ∞) |.
-
#log₂(n) ⇒ Float
| domain | (0, ∞) | | co-domain | (-∞, ∞) |.
-
#logₑ(n) ⇒ Float
The base ℮ logarithm of
n. - #π ⇒ Float
- #℮ ⇒ Float
-
#√(n) ⇒ Float, Numeric
Return the square-root of the provided argument.
-
#∛(n) ⇒ Float, Numeric
Return the cube-root of the provided argument.
-
#∞ ⇒ Float
Float::INFINITY.
-
#∞ℂ ⇒ Symbol
‘complex-infinity’.
- #🍺 ⇒ ::Ruuuby::MetaData::BrewAPI
- #🐋 ⇒ ::Ruuuby::MetaData::DockerAPI
- #💎 ⇒ ::Ruuuby::MetaData
- #💻(cmd) ⇒ Array, String
Instance Method Details
#log₁₀(n) ⇒ Float
| domain | (0, ∞) | | co-domain | (-∞, ∞) |
68 |
# File 'lib/ruuuby/virtual/f10.rb', line 68 def log |
#log₂(n) ⇒ Float
| domain | (0, ∞) | | co-domain | (-∞, ∞) |
60 |
# File 'lib/ruuuby/virtual/f10.rb', line 60 def log |
#logₑ(n) ⇒ Float
Returns the base ℮ logarithm of n.
46 47 48 49 50 51 52 |
# File 'lib/ruuuby/virtual/f10.rb', line 46 def log |
#√(n) ⇒ Float, Numeric
Return the square-root of the provided argument.
20 21 22 23 24 25 26 27 |
# File 'lib/ruuuby/virtual/f10.rb', line 20 def |