Pi Times: Difference between revisions

Jump to navigation Jump to search
362 bytes added ,  14:31, 14 July 2020
m
Text replacement - "http://help.dyalog.com" to "https://help.dyalog.com"
(Created page with "{{Built-in|Pi Times|○}} is a monadic scalar function which gives the argument times the mathematical constant <math>\pi</math>. It shares th...")
 
m (Text replacement - "http://help.dyalog.com" to "https://help.dyalog.com")
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Built-in|Pi Times|○}} is a [[monadic]] [[scalar function]] which gives the [[argument]] [[times]] the mathematical constant [[wikipedia:pi|<math>\pi</math>]]. It shares the [[glyph]] <source lang=apl inline>○</source> with the dyadic arithmetic function [[Circular]]. The phrase "some value times <math>\pi</math>" appears frequently in mathematical formulas related to a [[wikipedia:circle|circle]] or [[wikipedia:trigonometric functions|trigonometric functions]] while <math>\pi</math> raised to some [[power]] is rare, which explains the design decision behind this function.
{{Built-in|Pi Times|○}} is a [[monadic]] [[scalar function]] which gives the [[argument]] [[times]] the mathematical constant [[wikipedia:pi|pi]] <math>\pi</math>. Its [[glyph]] <source lang=apl inline>○</source>, which is shared with the dyadic arithmetic function [[Circular]], alludes to pi being the ratio of a circle's circumference to its diameter. The phrase "some value times <math>\pi</math>" appears frequently in mathematical formulas related to a [[wikipedia:circle|circle]] or [[wikipedia:trigonometric functions|trigonometric functions]] while <math>\pi</math> raised to some [[power]] is rare, which explains the design decision behind this function.


[[File:Applepie.jpg|thumb|right|A circular apple pie]]
== Examples ==
== Examples ==


Line 10: Line 11:
</source>
</source>


As a pun, <source lang=apl inline>○1</source> is often called ''apple pie'', jokingly using an unconventional pronunciation of [[the name APL]] in conjunction with the [[wikipedia:homophone|homophone]]s ''pi''/''pie''.
== External links ==
== External links ==


=== Documentation ===
=== Documentation ===


* [http://help.dyalog.com/latest/#Language/Primitive%20Functions/Pi%20Times.htm Dyalog]
* [https://help.dyalog.com/latest/#Language/Primitive%20Functions/Pi%20Times.htm Dyalog]
* [http://microapl.com/apl_help/ch_020_020_230.htm APLX]
* [http://microapl.com/apl_help/ch_020_020_230.htm APLX]
* [https://www.jsoftware.com/help/dictionary/dodot.htm J Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/odot NuVoc]
* [https://www.jsoftware.com/help/dictionary/dodot.htm J Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/odot NuVoc]
{{APL built-ins}}[[Category:Primitive functions]][[Category:Scalar monadic functions]]
{{APL built-ins}}[[Category:Primitive functions]][[Category:Scalar monadic functions]]

Navigation menu