Vyxapedia

Element - - Generator / Modulo Index / Format

Characters:


Description

Make a generator from function a with initial vector b, or get every nth item or format numbers as decimals.


Overloads

  • num-num - sympy.N(a, b) (evaluate a to b decimal places)
  • str-num - every bth letter of a (a[::b])
  • num-str - every ath letter of b (b[::a])
  • str-str - replace spaces in a with b
  • lst-num - every bth item of a (a[::b])
  • num-lst - every ath item of b (b[::a])
  • fun-lst - generator from function a with initial vector b

Examples

  • 4.51 3 Ḟ = `4.51`
  • 1.69 10 Ḟ = `1.690000000`
  • 19.6 2 Ḟ = `20.`
  • `Hello, World!` 3 Ḟ = `Hl r!`
  • `LQYWXUAOL` 2 Ḟ = `LYXAL`
  • `LQYWXUAOL` -2 Ḟ = `LAXYL`
  • ⟨1|2|3|4|5|6|7|8|9⟩ 4 Ḟ = ⟨1|5|9⟩
  • ⟨`Hello`|`World!`|`Gaming`|`Pogchamp`|`A`⟩ 2 Ḟ = ⟨`Hello`|`Gaming`|`A`⟩
  • ` 1111` `0` Ḟ = `00001111`
  • `But who was phone?` `!` Ḟ = `But!who!was!phone?`