Navigation :
Envision Language
Lokad Platform
Envision Gallery
Envision Reference
- Glossary
- Tile syntax
- List of icons
- StyleCode sub-language
-
_
-
A-B-C
-
D-E-F
-- dashUrl
-- date
-- Day
-- dayNum
-- def
-- default
-- delete
-- desc
-- dirac
-- diracz
-- dispersion
-- distinct
-- distinctapprox
-- downloadUrl
-- each
-- else
-- emptySet
-- endsWith
-- entropy
-- enum
-- escape
-- exp
-- expect
-- exponential
-- export
-- expsmooth
-- extend.billOfMaterials
-- extend.range
-- extend.ranvar
-- extend.split
-- fail
-- false
-- field
-- fieldCount
-- fieldr
-- fifo
-- Files
-- fileUrl
-- fillrate
-- first
-- flag
-- flagset
-- floor
-- folderUrl
-- for
-- forest.regress
-- forex
-- form
-- format
-
G-H-I
-
J-K-L
-
M-N-O
-
P-Q-R
-
S-T-U
-
V-W-X
-
Y-Z
Envision Specifications
Library
Legacy
dirac
dirac(n : number) 🡒 ranvar, pure function
Returns a ranvar with a zero probability everywhere, except on n
where the probability is 1. The function fails if a fractional number is passed as argument.
Example:
table T = with
[| as N |]
[| -1 |]
[| 0 |]
[| 1 |]
[| 2 |]
show table "" a1b4 with
T.N
dirac(T.N)