4,493
edits
m (Grammatical error) |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
(One intermediate revision by the same user not shown) | |||
Line 19: | Line 19: | ||
}} | }} | ||
'''Rowan''' is a very APL-like language built on the same engine as [[Wikipedia:R (programming language)|R]], from which it inherits its array capabilities, connection to [[.NET]], error-handling and [[namespace]] architecture. The following examples shows its similarity to APL when using [[dfn]]s: | '''Rowan''' is a very APL-like language built on the same engine as [[Wikipedia:R (programming language)|R]], from which it inherits its array capabilities, connection to [[.NET]], error-handling and [[namespace]] architecture. The following examples shows its similarity to APL when using [[dfn]]s: | ||
< | <syntaxhighlight lang=apl> | ||
avg←{(+/⍵)÷⍴⍵} | avg←{(+/⍵)÷⍴⍵} | ||
a←3 5 6 | a←3 5 6 | ||
avg a | avg a | ||
Result: 4.66666666666667 | Result: 4.66666666666667 | ||
</ | </syntaxhighlight> | ||
== External links == | == External links == |