Script Library: 1238 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 
tag index: d · domain

79 scripts tagged as: [domain  ·  math]

Leapyear
leapyear.rv:1.0.0
683 bytes
13 Mar 2003
Returns true for a leap year.
author: Andrew Martin
lexigraphic permutations
lexpem.r1.9 KB
26 Oct 2003
to generate permutations of a series in the order they would be found in a dictionary
author: Tom Conlin
linear-interp
linear-interp.rv:0.0.1
1.4 KB
8 Nov 2006
Linearly interpolate between two numbers
author: Glenn M. Lewis
Mandelbrot
mandelbrot.rv:0.0.1
1.9 KB
18 Aug 2009
Create Mandelbrot Set
author: Keith Ray
Mandelbrot II
mandelbrot2.rv:0.0.1
3.0 KB
18 Aug 2009
Create Mandelbrot Set with colors
author: Keith Ray
Mini-Calculator
mini-calc.rv:1.1.3
1.3 KB
13 Mar 2003
Tiny calculator example.
author: Ryan Cole
Mini virtual and x86 machine dll to speed-up calculations a bit
mini-reb-vm.rv:0.1.1
41.1 KB
24 Feb 2019
speed-up calculations a bit.
author: Marco Antoniazzi
Decimal Arithmetic
money.r
 documentation
v:see mo
7.0 KB
22 Jul 2010
Decimal arithmetic for numbers held as strings. Numbers may have up to 12 integral digits and always have 2 fractional digits
author: peter
Multi-methods implementation
multi-methods.rv:1.4.0
9.0 KB
11 Apr 2005
Implements polyformism using multi-methods technique and typed objects
author: Jaime Vargas
Natural numbers sum
natural-numbers-sum.r1.0 KB
27 Sep 2014
Sums all the natural numbers up to a given input. Uses the equality: 1 + 2 + 3 +... + n = n*(n+1)/2 to avoid looping.
author: Caridorc
How many seconds old are you?
now.r1.2 KB
6 Sep 2004
Newbie exercise (written by a newbie) to learn more about the NOW Function Word.
author: Leke
Natural numbers sum
nutural-numbers-sum.r1.0 KB
27 Sep 2014
Sums all the natural numbers up to a given input. Uses the equality: 1 + 2 + 3 +... + n = n*(n+1)/2 to avoid looping.
author: Caridorc
Test if leap year
oneliner-leapyear.rv:1.0.0
681 bytes
20 Jul 2003
'Leapyear? returns 'true for date values that are leapyears. For example: >> leapyear? 1/1/2001 == none >> leapyear? 1/1/2000 == true
author: Andrew Martin
Morse code
oneliner-morse-code.rv:1.0.0
660 bytes
13 Nov 2003
Encodes a sentence into morse code. This version is a bit suboptimal so that the html generator won't destroy it.
author: Johan Roennblom
Fractional length
oneliner-nfrac.rv:1.0.0
610 bytes
27 Sep 2003
nfrac 33 => 0 ; nfrac 456 => 0 ; nfrac 0.2104 => 4 ; nfrac 1256.63 => 2 ; nfrac 1.0 => 0
author: collective contribution on www.codeur.org/forum/forum.php?theme=17
Calculate Pi
oneliner-pi.rv:1.0.0
654 bytes
20 Jul 2003
Approximate PI with John Wallis formula. Precision limited to 15 digits due to REBOL. Just press ESC when fed up ;-) Formula from http:// www.chez.com/algor/math/pi.htm
author: Jean-Nicolas Merville
Prime factors
oneliner-prime-factors.r
 documentation
556 bytes
23 Jun 2008
[no purpose header found]
author: Sunanda
Prime numbers
oneliner-prime-numbers.rv:0.0.1
452 bytes
23 Dec 2012
Give some prime numbers
author: Marco Antoniazzi translated from Wouter van Oortmerssen
Quine -- a program that displays it's own source
oneliner-quine.rv:1.0.0
636 bytes
8 Mar 2009
Creates a self modifying window. (includes the REBOL Header.)
author: Ammon Johnson
Cellular automata
oneliner-rule-110-ca.rv:1.0.0
759 bytes
20 Jul 2003
Shows some steps in the evolution of a Turing complete cellular automaton from a single marked cell. Replace ..1.11. with some other expression, like ..11.. or .1..11 , and what do you have? Rule 90, and rule 30, respectively.
author: Errru
Day of week
oneliner-weekday.rv:1.0.0
563 bytes
20 Jul 2003
Returns the weekday of the date. Use 'Weekday? like: Weekday? 25/Dec/2002 ; == Wednesday
author: Andrew Martin
Equation Dialect Parser
parse-equation.r
 documentation
v:0.9.3
7.1 KB
15 Mar 2011
Converts a mathematical equation into a block of rebol code that can be evaluated.
author: Francois Vanzeveren
Mathematical Expression Dialect Parser
parse-expression.r
 documentation
v:0.9.6
8.3 KB
22 Mar 2011
Converts a mathematical expression into a block of rebol code that can be evaluated.
author: Francois Vanzeveren
Fire and Smoke particles generator.
particle-generator.rv:1.0.1
11.5 KB
17 Sep 2010
A particle engine demo which generates fire and smoke, with a lot of control and some compositing built-in
author: [unknown]
Permute
permute.rv:1.0.0
2.0 KB
13 Mar 2003
Permutes a matrix.
author: Andrew Martin
Prime number checker
prime.r
 documentation
v:0.0.2
3.0 KB
13 Mar 2003
Address the question, could this integer be a prime number? results of false are not prime, results of true are very probably prime and with the /strong refinement, ( I still have to verify this ) true ( should ) guarantee prime. if the argument is outside the domain of the function, none is returned
author: Tom Conlin
Pytagoras' theorem
pytagoras-thorem.r1.7 KB
3 Oct 2014
User friendly interface to apply the Pytagoras' theorem.
author: Caridorc
Quick Plot Dialect
q-plot.rv:0.1.0
41.4 KB
6 Mar 2007
Provide a quick and easy to use dialect for plotting in REBOL
author: Matt Licholai
Random Number Generator
randomr.rv:1.0
4.1 KB
19 Jun 2009
Random Number Generator using continous and discret statistical laws
author: Fran├žois Jouen. Based on Vincent Levorato's java code
Rebocalc
rebocalc.rv:1.0.0
2.7 KB
1 Jan 2005
The world's smallest spreadsheet program, but very powerful.
author: Carl Sassenrath
31 / 791[2] 3