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 a as a is to ba/b is `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

Instance Method Details

#log₁₀(n) ⇒ Float

| domain | (0, ∞) | | co-domain | (-∞, ∞) |

Parameters:

Returns:

  • the base 10 logarithm of n



68
# File 'lib/ruuuby/virtual/f10.rb', line 68

def log

#log₂(n) ⇒ Float

| domain | (0, ∞) | | co-domain | (-∞, ∞) |

Parameters:

Returns:

  • the base 2 logarithm of n



60
# File 'lib/ruuuby/virtual/f10.rb', line 60

def log

#logₑ(n) ⇒ Float

Returns the base ℮ logarithm of n.

Returns:

  • the base ℮ logarithm of n



46
47
48
49
50
51
52
# File 'lib/ruuuby/virtual/f10.rb', line 46

def log

#πFloat

Returns:



92
# File 'lib/ruuuby/virtual/f10.rb', line 92

def 

#Float

Returns:



95
# File 'lib/ruuuby/virtual/f10.rb', line 95

def 

#(n) ⇒ Float, Numeric

Return the square-root of the provided argument.

Parameters:

Returns:



20
21
22
23
24
25
26
27
# File 'lib/ruuuby/virtual/f10.rb', line 20

def 

#(n) ⇒ Float, Numeric

Return the cube-root of the provided argument.

Parameters:

Returns:



34
35
36
37
38
39
40
41
# File 'lib/ruuuby/virtual/f10.rb', line 34

def 

#Float

Returns Float::INFINITY.

Returns:

  • Float::INFINITY



98
# File 'lib/ruuuby/virtual/f10.rb', line 98

def 

#∞ℂSymbol

Returns ‘complex-infinity’.

Returns:

  • ‘complex-infinity’



105
# File 'lib/ruuuby/virtual/f10.rb', line 105

def 

#🍺::Ruuuby::MetaData::BrewAPI

Returns:



17
# File 'lib/ruuuby/module/kernel.rb', line 17

def 

#🐋::Ruuuby::MetaData::DockerAPI

Returns:



14
# File 'lib/ruuuby/module/kernel.rb', line 14

def 

#💎::Ruuuby::MetaData

Returns:



11
# File 'lib/ruuuby/module/kernel.rb', line 11

def 

#💻(cmd) ⇒ Array, String

Parameters:

Returns:

Raises:



24
25
26
27
# File 'lib/ruuuby/module/kernel.rb', line 24

def