Number represents a mathematical quantity.
Addition.
Subtraction.
Multiplication.
Division.
Integer division.
Modulo.
Pre-3.14 modulo with unexpected behavior for negative integer modulus; see Integer: -modSeaside. Calling modSeaside on a floating-point operand will fall back to mod behavior.
Exponentiation.
Answer the polar radius of the number.
Answer the polar angle of the number.
Answer the real part of the number.
Answer the imaginary part of the number.
Create a new Point whose x coordinate is the receiver and whose y coordinate is aNumber.
Create a new Complex number whose real part is the receiver with the given imaginary part.
Create a new Polar number whose radius is the receiver with the given angle.
If aValue is Number, create a new Point whose x coordinate is the receiver and whose y coordinate is Number. If aValue is a Point, create a new Cartesian whose x coordinate is the receiver, y coordinate is aValue.x and z coordinate is aValue.y.
| aValue |
Create a new Spherical number whose radius is the receiver with the given angles.
| theta |
azimuth angle |
| phi |
elevation angle |
Calls function for numbers from this up to endval, inclusive, stepping each time by 1.
| endValue |
a Number. |
| function |
a Function which is passed two arguments, the first which is an number from this to argument endval, and the second which is a number from zero to the number of iterations minus one. |
Calls function for numbers from this up to endval stepping each time by step.
| endValue |
a Number. |
| stepValue |
a Number. |
| function |
a Function which is passed two arguments, the first which is an number from this to endval, and the second which is a number from zero to the number of iterations minus one. |
Calls function for numbers from this up to endval stepping each time by a step specified by second.
| second |
a Number. |
| last |
a Number. |
| function |
a Function which is passed two arguments, the first which is an number from this to endval, and the second which is a number from zero to the number of iterations minus one. |
Browse Math/Cycle
Cycle includes the methods Array: -campanology, Array: -circPerm, Array: -interlace, Array: -kaprekar, Array: -kreuzspiel, Array: -pea, Array: -sieve, Array: -symGroup, Array: -symPerm, Integer: -campanology, Integer: -circPerm, Integer: -collatz, Integer: -discreteLog, Integer: -euclidean, Integer: -kaprekar, Integer: -pea, Number: -lorenz, Env: *collatz.
In 1970, Birman, Guckenheimer, and Williams propose a model of dynamic discretization of Lorenz attractors, characterized by the periodicity of the orbits by a return to a point already crossed as a cycle.
Let i be an element in the interval [0, 1] and I the set of points ordered in time calculated from i to t0, each point at t+1 is calculated as follows:
i(t+1) = 2i(t) if i(t) < 1;
i(t+1) = 2i(t)-1 if i(t) > 1;
until i(tn+1) is element of I.
Reference at https://www.chaos-math.org/en/chaos-vii-strange-attractors.html
| n |
round to multiple of n. |
the cycle itself prepended by its 'path' if it exists.
Answer the spherical radius of the number.
Answer the spherical azimuth angle of the number.
Answer the spherical elevation angle of the number.