Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
isNumeric=: _ ~: _ ". ]
|
||||
isNumericScalar=: 1 -: isNumeric
|
||||
TXT=: ,&' a scalar numeric value.' &.> ' is not';' represents'
|
||||
sayIsNumericScalar=: , TXT {::~ isNumericScalar
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
isNumeric '152'
|
||||
1
|
||||
isNumeric '152 -3.1415926 Foo123'
|
||||
1 1 0
|
||||
isNumeric '42 foo42 4.2e1 4200e-2 126r3 16b2a 42foo'
|
||||
1 0 1 1 1 1 0
|
||||
isNumericScalar '152 -3.1415926 Foo123'
|
||||
0
|
||||
sayIsNumericScalar '-3.1415926'
|
||||
-3.1415926 represents a scalar numeric value.
|
||||
Loading…
Add table
Add a link
Reference in a new issue