Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,18 @@
|
|||
mata
|
||||
a=asarray_create()
|
||||
|
||||
// Add entries
|
||||
asarray(a,"one",1)
|
||||
asarray(a,"two",2)
|
||||
|
||||
// Check existence of key
|
||||
asarray_contains(a,"two")
|
||||
|
||||
// Get a vector of all keys
|
||||
asarray_keys(a)
|
||||
|
||||
// Number of entries
|
||||
asarray_elements(a)
|
||||
|
||||
// End Mata session
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue