KeyValueMap
KeyValueMap[f,key1val1,key2val2,…]
gives the list {f[key1,val1],f[key2,val2],…}.
KeyValueMap[f]
represents an operator form of KeyValueMap that can be applied to an expression.
Details
- KeyValueMap[f][assoc] is equivalent to KeyValueMap[f,assoc].
- Parallelize[KeyValueMap[f,key1val1,key2val2,…]] computes KeyValueMap[f,key1val1,key2val2,…] in parallel on all subkernels. »
Examples
open allclose allProperties & Relations (1)
Compute KeyValueMap in parallel:
Wolfram Research (2015), KeyValueMap, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyValueMap.html.
Text
Wolfram Research (2015), KeyValueMap, Wolfram Language function, https://reference.wolfram.com/language/ref/KeyValueMap.html.
CMS
Wolfram Language. 2015. "KeyValueMap." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/KeyValueMap.html.
APA
Wolfram Language. (2015). KeyValueMap. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/KeyValueMap.html