Search results

Jump to navigation Jump to search
  • ...751:2001]]), and complex numbers are available in many APLs. Usually these numbers are written with a syntax such as <syntaxhighlight lang=apl inline>5j2</syn ...e usually written with a "J" joining the real and imaginary parts. Complex numbers are added component-wise.
    2 KB (354 words) - 22:08, 10 September 2022
  • ...ng=j inline>j.</syntaxhighlight> together with initial support for complex numbers, and was adopted in [[Extended Dyalog APL]] using the [[glyph]] <syntaxhigh ...gers and <syntaxhighlight lang=apl inline>÷</syntaxhighlight> for rational numbers. </blockquote>
    4 KB (508 words) - 22:25, 10 September 2022
  • ...ot have a dedicated [[Identity]] function, but also do not support complex numbers, Conjugate is often used to return the argument unchanged. This usage is di ...te leaves real numbers unchanged but negates the imaginary part of complex numbers.
    5 KB (719 words) - 01:19, 18 March 2024
  • ...uals the original number [[times]] (or [[Divide|divided]] by, for non-zero numbers) its [[Signum|sign]]. For complex numbers, the magnitude is defined as the Euclidean distance from the number 0 on th
    2 KB (221 words) - 22:10, 10 September 2022
  • ...mple scalar). However, mixed arrays with depth one can be formed by mixing numbers and characters. While such an array is [[Simple array|simple]], it is neith
    1 KB (182 words) - 15:02, 30 April 2020
  • ...ion for the built-in function [[Floor]] to accept [[complex number|complex numbers]]. It was originally designed by [[Eugene McDonnell]]<ref>McDonnell, Eugene ...uses of [[Floor]]: calculating the quotient and [[remainder]] between two numbers, and calculating the [[GCD]] via the [[wikipedia:Euclidean algorithm|Euclid
    5 KB (632 words) - 22:14, 10 September 2022
  • ...]. Traditionally, APL provides only one user-visible numeric type, so that numbers round identically regardless of how they are represented, but newer APLs ma ...erformance reasons but converts them automatically on overflow to give all numbers the semantics of 64-bit [[wikipedia:IBM_hexadecimal_floating_point|HFP]] fl
    5 KB (703 words) - 22:50, 26 February 2024
  • ...gh it differs from the native implementation in ordering characters before numbers instead of the opposite.<ref>[[Dfns workspace]]. [http://dfns.dyalog.com/n_ ...be compatible with multiplication in the sense that the product of any two numbers greater than zero is greater than zero.<ref name=bfh/>
    3 KB (504 words) - 10:45, 11 September 2022
  • ...ex (function)|Complex]]. In other APL implementations that support complex numbers, [[Circular]] with the left argument of <syntaxhighlight lang=apl inline>¯
    2 KB (228 words) - 22:05, 10 September 2022
  • ...m''', is a [[dyadic]] [[scalar function]] that [[wikipedia:Addition|adds]] numbers together. As a basic arithmetic operation, Add is subject to the language's ...also be considered an element-wise operation, since each of these types of numbers forms a vector space over the reals. Addition of scalars is always performe
    4 KB (525 words) - 22:11, 10 September 2022
  • ...teger arguments, the GCD is the largest positive number which divides both numbers. If one of the arguments is zero, the GCD function returns the other number ...edia:Gaussian integer|Gaussian integers]], when X and/or Y are [[complex]] numbers).
    4 KB (497 words) - 21:37, 17 February 2024
  • ...common multiple is the smallest positive number which is divisible by both numbers. If one of the arguments is zero, the LCM function returns zero. ...edia:Gaussian integer|Gaussian integers]], when X and/or Y are [[complex]] numbers).
    2 KB (230 words) - 21:28, 10 September 2022
  • ...tion''' and is a part of token formation rather than execution. Only plain numbers are stranded. ...tibility]] with APL and does not allow stranding by juxtaposition even for numbers. Instead, the "ligature" character <code>‿</code> is used for a more expl
    3 KB (397 words) - 10:34, 11 September 2022
  • Negating a vector of positive numbers. Note that the result array is displayed with a [[high minus]] on each elem ...sign bit because they distribute numbers exponentially. But only positive numbers can be represented as the result of an exponent, so an additional sign bit
    3 KB (502 words) - 22:05, 10 September 2022
  • ...her be parenthesized or cannot be stranded at all. It also allows negative numbers to be used as left [[argument]]s to functions, or as [[operand]]s. * [https://help.dyalog.com/latest/index.htm#Language/Introduction/Variables/Numbers.htm Dyalog]
    3 KB (423 words) - 22:09, 10 September 2022
  • Ceiling rounds up the given numbers to the nearest integers. The extension for [[complex number|complex numbers]] is derived from [[complex Floor]] via this property.
    2 KB (269 words) - 21:57, 28 November 2022
  • ...mutation by selecting <syntaxhighlight lang=apl inline>k</syntaxhighlight> numbers from the first <syntaxhighlight lang=apl inline>n</syntaxhighlight> [[Index numbers←'23456789TJQKA'
    4 KB (521 words) - 16:54, 8 February 2023
  • Minimum finds the smaller of two numbers: Together with [[Maximum]], it can clamp an array of numbers to a range (closed interval), here from 0 to 1:
    3 KB (415 words) - 22:23, 10 September 2022
  • ...n]] <math>\Gamma(n)</math>, so that it is defined for real and [[complex]] numbers. Because <math>\Gamma(n)</math> equals <math>(n-1)!</math>, <syntaxhighligh The Gamma function diverges at 0 or negative numbers, so <syntaxhighlight lang=apl inline>!Y</syntaxhighlight> is undefined at n
    2 KB (289 words) - 21:21, 10 September 2022
  • ...is a [[monadic]] [[scalar function]] which returns random or pseudo-random numbers. The name ''Roll'' comes from the analogy of rolling dice. Each [[scalar]] ...to predict algorithm) or taken from the operating system. They way random numbers are generated is controlled by the [[random link]] <syntaxhighlight lang=ap
    3 KB (373 words) - 22:14, 10 September 2022
  • ...[[wikipedia:Remainder|remainder]] of [[divide|division]] between two real numbers. It takes the divisor as the left [[argument]], and the dividend as the rig For negative arguments, one may decide to return non-negative numbers in all cases or follow the sign of the dividend or the divisor. For complex
    2 KB (311 words) - 21:10, 10 September 2022
  • The rule for tolerant comparison is that numbers <syntaxhighlight lang=apl inline>a</syntaxhighlight> and <syntaxhighlight l ...evaluated intolerantly. This means that the allowed difference between the numbers increases as they become larger in magnitude (a relative tolerance). Compar
    4 KB (601 words) - 13:30, 26 February 2024
  • ...as) Normed Division Algebra] datatypes: Complex, Quaternion, and Octonion numbers, along with several Multi-Precision datatypes, and signed Infinities: ...http://wiki.nars2000.org/index.php?title=Rational_and_VFP_Numbers Rational Numbers]
    10 KB (1,101 words) - 02:29, 9 March 2024
  • ...Ler for hire, can be a difficult task. This is both because of the limited numbers involved, but also because there is no obvious place for potential employee
    887 bytes (129 words) - 06:34, 10 February 2022
  • ...ell, Eugene. [https://www.jsoftware.com/papers/satn40.htm SATN-40: Complex Numbers].</ref>. His suggestion that zero divided by zero should be zero rather tha * SATN-40: [https://www.jsoftware.com/papers/satn40.htm Complex Numbers]. 1981-06-20.
    5 KB (678 words) - 11:23, 16 December 2022
  • :''This page is about array rank, a number associated with every array. For numbers associated with a function specifying its argument rank, see [[function ran
    1 KB (175 words) - 21:45, 10 September 2022
  • In [[K]], characters are converted to numbers to participate in arithmetic. This system differs from affine character ari
    1 KB (182 words) - 02:58, 7 February 2024
  • It is subject to [[comparison tolerance]]: floating-point numbers which are very close together are considered equal, even though they are sl x ← 1 + (⎕CT×0.6)ׯ2 ¯1 0 1 2 ⍝ Numbers close to 1
    4 KB (500 words) - 21:57, 28 November 2022
  • ...s Group to arrays, where an array corresponds to a dictionary with natural numbers for its keys.<ref>[[Marshall Lochbaum]]. [https://mlochbaum.github.io/BQN/c
    1 KB (199 words) - 23:29, 17 March 2024
  • ...|nested array theory]] the elements can only be arrays, and characters and numbers are held to be contained in [[simple scalar]]s, arrays which by convention ...Ls such as APL2 allow any array to be used as an element, including scalar numbers or characters (written with quotes) as well as larger arrays. In order to i
    14 KB (2,301 words) - 20:27, 3 March 2024
  • ...nclude all arrays of a single type, as well as arrays which mix types like numbers and characters. Arrays which would not be representable in flat array theor
    1 KB (175 words) - 10:46, 20 April 2021
  • GNU APL supports both 64-bit floats and 64-bit integers, as well as complex numbers whose components are floating-point. The integer type is used when a value
    4 KB (565 words) - 12:28, 22 February 2024
  • 2 KB (277 words) - 01:03, 11 March 2024
  • ...such as [[Less Than]] is always composed of Booleans. Because Booleans are numbers, arithmetic functions can be used on them directly, for example by [[sum]]m The use of numbers for Booleans also allows functions to be extended from a Boolean domain to
    9 KB (1,140 words) - 22:10, 10 September 2022
  • ...can store any array, boxes may be used to define arrays which contain both numbers and characters, as well as arrays with a nested structure.
    1 KB (239 words) - 15:27, 30 April 2020
  • 2 KB (249 words) - 08:56, 13 May 2020
  • ...nships between them. On some implementations with [[complex number|complex numbers]], Circular also includes functions to decompose and assemble a complex num ...with <syntaxhighlight lang=apl inline>5○¯6○Y</syntaxhighlight> for complex numbers.
    7 KB (900 words) - 22:28, 10 September 2022
  • On APL implementations that support [[complex]] numbers, one can demonstrate [[wikipedia:Euler's identity|Euler's identity]] (with
    2 KB (241 words) - 22:25, 10 September 2022
  • Floor rounds down the given numbers to the nearest integers. ...nnell]] designed the domain extension of Floor to [[complex number|complex numbers]].<ref>McDonnell, Eugene. [https://www.jsoftware.com/papers/eem/complexfloo
    5 KB (582 words) - 16:27, 24 December 2023
  • 2 KB (268 words) - 02:46, 25 February 2024
  • ...r numbers before the first interval boundary, index 0 is returned, and for numbers after the last, index 4 is returned.
    9 KB (1,337 words) - 23:27, 10 March 2024
  • ...ion, using exact rationals when possible and high-precision floating-point numbers otherwise.
    2 KB (264 words) - 22:44, 24 January 2024
  • | numeric types = [[wikipedia:Common_Lisp#Scalar_types|CL numbers]] including [[complex]] and [[rational]]
    2 KB (260 words) - 19:02, 7 March 2023
  • 2 KB (320 words) - 21:32, 10 September 2022
  • === Negative numbers === ...side is a [[singleton]]). [[APL2]] defined a different extension: negative numbers do not correspond to any element of the right argument, but still indicate
    16 KB (2,092 words) - 19:15, 16 March 2024
  • * [[Dyalog '09]] 15: Complex Numbers Implementation Stories ([https://www.dyalog.com/uploads/conference/dyalog09 * Dyalog '11 D05: [https://dyalog.tv/Dyalog11/?v=CkaQQYcxpfM Rational Numbers] ([https://www.dyalog.com/uploads/conference/dyalog11/presentations/D05_rat
    20 KB (2,702 words) - 10:41, 20 August 2023
  • For any non-zero real or complex numbers, the [[signum]] of reciprocal is equal to the [[conjugate]] of signum, and
    2 KB (235 words) - 21:56, 10 September 2022
  • Maximum finds the larger of two numbers:
    2 KB (317 words) - 21:28, 10 September 2022
  • ...t]], that is, a number whose square is the argument. As there are two such numbers for any non-zero argument (negating one possible result gives another), the
    2 KB (322 words) - 11:05, 11 September 2022
  • ...d true cases, it's placed first, and returns a scalar or vector of natural numbers. Each number indicates one of the following groups of statements (separated
    2 KB (341 words) - 02:32, 8 March 2024
  • ...ated as a different type from the same value without the dressing. Complex numbers, matrices, polar coordinate tuples, sets and vectors are implemented in Lan
    3 KB (361 words) - 22:46, 24 January 2024
  • ...ang=apl inline>○</syntaxhighlight>) to left arguments designed for complex numbers. ...lang=apl inline>⎕BIG</syntaxhighlight>, while [[Kap]] uses exact rational numbers by default. [[NARS2000]] supports numerous numeric types, and [[April]] pro
    21 KB (1,991 words) - 06:36, 17 March 2024
  • The result of a comparison function on real numbers is determined by their ordering, which falls into one of three possible cas
    4 KB (479 words) - 22:24, 10 September 2022
  • The choice of which numbers are indices is subjective and must be made by the language designer. In som
    4 KB (518 words) - 22:05, 10 September 2022
  • ...allowed, they indicate that the index of the number is repeated. Negative numbers are never allowed.
    8 KB (1,126 words) - 20:03, 14 April 2024
  • ...s of APL. Only a single shift state was available (which would switch from numbers and uppercase letters to APL glyphs), so for example <syntaxhighlight lang=
    14 KB (1,453 words) - 22:10, 10 September 2022
  • * [https://doi.org/10.1145/97808.97821 "ACORN: APL to C on real numbers"] at [[APL90]]. With [[Bob Bernecky|Robert Bernecky]], Stephen B. Jaffe, an
    3 KB (410 words) - 17:52, 19 March 2024
  • 3 KB (439 words) - 21:02, 10 September 2022
  • ...integers or booleans, and may [[Array model#Numeric type coercion|coerce]] numbers to a common type to ensure that an array is homogeneous in memory. ...panded]], adding 1-byte and 2-byte integers as well as 16-byte [[complex]] numbers containing the other types (however, Dyalog also allows the user access to
    15 KB (2,326 words) - 13:12, 31 August 2023
  • SHARP originally supported only real numbers using double (8-byte) precision. Numbers were stored in one of three types: ...jsoftware.com/papers/satn40.htm SATN-40] describes the addition of complex numbers to SHARP APL.
    22 KB (2,017 words) - 03:25, 11 May 2024
  • ...ay be considered a representation of sets rather than multisets of natural numbers.
    17 KB (2,304 words) - 16:19, 30 December 2023
  • ...igin]]-agnostic alternative to [[Index Generator]] for creating a range of numbers. Range is currently implemented in [[NARS2000]] (using the digraph <syntaxh
    3 KB (282 words) - 22:18, 10 September 2022
  • ...McDonnell]]. SATN-40: [https://www.jsoftware.com/papers/satn40.htm Complex Numbers]. 1981-06-20.</ref> and [[Donald McIntyre]].<ref>[[Donald McIntyre|D. B. Mc
    4 KB (534 words) - 01:58, 8 March 2024
  • * The notion that APL only has two data types: numbers and characters
    3 KB (429 words) - 23:39, 20 February 2024
  • ...xpressions involving exactly the digits 2 0 1 6 in that order to equal the numbers 0 to 100
    10 KB (1,442 words) - 13:09, 4 March 2024
  • ...ible to make it work on arrays of a higher rank. Applying Rank with larger numbers will produce a function whose rank is higher, but the function's results wi
    4 KB (618 words) - 18:06, 29 January 2024
  • 5 KB (553 words) - 12:25, 31 August 2023
  • ...on of [[strand notation]] allowing the elements to be any arrays, not just numbers.
    7 KB (1,047 words) - 00:11, 10 April 2024
  • ...ric data. In the prototype, all characters are converted to spaces and all numbers to zeros. Thus the prototype retains type and structure information but not
    5 KB (495 words) - 13:28, 24 October 2022
  • 4 KB (622 words) - 05:22, 26 February 2024
  • G×⍵[1]×⍵[2]÷⍵[3]*2 ⍝ the argument is a vector of numbers
    4 KB (545 words) - 22:11, 10 September 2022
  • ...on by [[Minimum]] or [[Maximum]] gives the minimum or maximum over several numbers. Same goes for [[And]], [[Or]], [[GCD]], [[LCM]], and XOR ([[Not Equal]] on
    4 KB (570 words) - 19:11, 26 June 2023
  • ...erwise counting the number of true values would require converting them to numbers or using conditional logic. For a live cell the sum is 1 more than the numb ..., recent versions of Dyalog APL use [[vector instructions]], enabling many numbers to be added at once.
    19 KB (1,783 words) - 11:49, 1 November 2023
  • ...ent]]s. In normal cases, the result is identical to the argument, with all numbers replaced by zeros and all characters replaced by spaces, and the substituti
    5 KB (491 words) - 14:28, 13 February 2023
  • ...de.com/problems/add-two-numbers/ a LeetCode problem] which asks to add two numbers given as reversed digit lists:
    5 KB (664 words) - 13:35, 17 February 2024
  • ...is an APL program to calculate the average (arithmetic mean) of a list of numbers, written as a [[dfn]]: ...refers to the argument of the function, a list (or 1-dimensional array) of numbers. The <syntaxhighlight lang=apl inline>≢</syntaxhighlight> denotes the [[t
    11 KB (1,379 words) - 01:32, 10 March 2024
  • We can convert decimal numbers to fractions. For example, we can convert <math>2.625</math> to the imprope +.×⍨2 3 5 7 11 13 17 ⍝ numbers 2 through 17 without those appearing in their multiplication table are prim
    13 KB (1,347 words) - 21:28, 6 March 2024
  • Since we will be using binary numbers to index arrays, it is more convenient for us to have arrays start at 0.
    8 KB (535 words) - 22:09, 10 September 2022
  • The last step is to round these numbers down. Traditional mathematics writes ''floor'' as <math>\lfloor x \rfloor</ ...zero [[axes]]) paired up with other individual numbers. As pairing up the numbers in <syntaxhighlight lang=apl inline>3 1 4</syntaxhighlight> with those in <
    21 KB (2,593 words) - 21:38, 10 September 2022
  • * [[APL90]]: [https://doi.org/10.1145/97808.97821 ACORN: APL to C on real numbers] ([https://www.snakeisland.com/acorn.htm download]). With [[Charles Brenner
    6 KB (787 words) - 06:49, 3 November 2021
  • ...t, APL being a language well-suited to the manipulation of large arrays of numbers. As technology was moving from the mainframe to distributed systems, there
    9 KB (859 words) - 02:29, 5 March 2024
  • * [[Dyalog '09]] 19: [https://dyalog.tv/Dyalog09/?v=8ic0ctto1HU Complex Numbers]
    7 KB (980 words) - 11:47, 11 December 2023
  • ...ich was used internally for the primitive) was was wrong on floating point numbers, due to some false assumptions about [[Index of]],<ref>[[Roger Hui|Hui, Rog
    6 KB (809 words) - 14:35, 6 March 2024
  • ...ge.com/rooms/52405/conversation/lesson-43-complex-numbers-in-depth Complex numbers in depth] || Jun 2, 2020
    10 KB (1,065 words) - 22:23, 10 September 2022
  • ...at it permits [[mixed array]]s, so while in J an array containing a mix of numbers, characters, and boxes cannot be mixed, in Dyalog any array at all can be m
    7 KB (900 words) - 18:27, 29 January 2024
  • 16 KB (1,323 words) - 03:23, 11 May 2024
  • ...>0</syntaxhighlight> indicating numbers. Indeed, it is the "vector without numbers", equivalent to <syntaxhighlight lang=apl inline>0~0</syntaxhighlight>. ...ng=apl inline>⍒</syntaxhighlight> pointing down is on the lower of the two numbers 3 and 4. This can be remembered as the pound going down due to [[wikipedia:
    28 KB (3,594 words) - 08:54, 3 August 2023
  • | <code>∠</code> || Atangent || Take the arctangent of two numbers || atan | <code>⇡</code> || [[Index Generator|Range]] || Make an array of all natural numbers less than a number
    16 KB (2,314 words) - 20:02, 14 April 2024
  • S←,⍎{⍞←⍵ ⋄ (≢⍵)↓⍞}'Please, enter 11 numbers: '
    7 KB (1,008 words) - 14:57, 10 March 2024
  • ...the operator. See [[Rank]] for the number associated with every array. For numbers associated with a function specifying its argument rank, see [[function ran
    7 KB (949 words) - 23:54, 20 July 2023
  • ...bility in the [[Power]] function was broken: fractional powers of negative numbers, such as <syntaxhighlight lang=apl inline>¯8 * ÷3</syntaxhighlight>, coul Support was added for 128-bit [[decimal floating point]] numbers (from [[wikipedia:IEEE 754|IEEE 754]]-2008), using the [[wikipedia:densely
    33 KB (4,425 words) - 23:27, 10 March 2024
  • ...s the generalization of [[strand notation]] to any arrays rather than just numbers. APL2 was released in 1984, and Brown continued to work at IBM on design as
    7 KB (1,028 words) - 23:38, 15 April 2024
  • 7 KB (1,014 words) - 23:29, 10 March 2024
  • ...syntax colouring, TCPSocket object, OLE client/server, automatic file tie numbers ...character arrays are always stored using one of the above types. For both numbers and characters, an array may be represented using any type that can contain
    32 KB (3,640 words) - 23:27, 10 March 2024
  • Using similar techniques, we can define a function that generates prime numbers by using an outer product of [[Residue]].
    8 KB (948 words) - 00:47, 19 March 2024
  • ...g [[Del]]s (<syntaxhighlight lang=apl inline>∇</syntaxhighlight>) and line numbers, after having such a definition has been made.<ref>[[Dyalog Ltd.]] Language
    11 KB (1,470 words) - 22:13, 10 September 2022
  • | 8 || [https://problems.tryapl.org/psets/2020.html?goto=P8_Zigzag Zigzag Numbers] || [https://chat.stackexchange.com/transcript/52405?m=64081060#64081060 Ju
    42 KB (5,422 words) - 01:40, 19 March 2024
  • |rowspan=2| 2. || Ascending cardinal numbers (ranking, shareable) ||style="text-align: right;"|<syntaxhighlight lang=apl |rowspan=2| 19. || Ascending cardinal numbers (ranking, all different) ||style="text-align: right;"|<syntaxhighlight lang
    228 KB (28,000 words) - 22:16, 10 September 2022
  • * '''Let the Numbers Do the Talking—with MAGIC'''. David Keith.
    13 KB (1,758 words) - 23:37, 15 April 2024
  • ...problems faster. (The complete code for calculating the mean of a list of numbers requires 3 characters.) Ironically, experience shows APLs are easier for no
    13 KB (1,953 words) - 22:17, 10 September 2022
  • * '''15: Complex Numbers Implementation Stories''', [[Roger Hui]] ([https://www.dyalog.com/uploads/c * '''19: Complex Numbers''', [[John Scholes]] ([https://dyalog.tv/Dyalog09/?v=8ic0ctto1HU video (65
    135 KB (18,206 words) - 19:11, 20 February 2024
  • It is good programming style to avoid using numbers in code. Instead of talking about 1001, for example, we should use a meanin
    32 KB (3,860 words) - 22:09, 10 September 2022
  • * '''Hospital administration of large numbers of multi-trauma patients'''. Mitchell Snyder, Bruno Lunenfeld, and Daniel L * '''ACORN: APL to C on real numbers'''. [[Bob Bernecky|Robert Bernecky]], [[Charles Brenner]], Stephen B. Jaffe
    168 KB (20,470 words) - 00:01, 16 April 2024