ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Go to the source code of this file.
Functions | |
function | addKeyVal (in key, in val, in hashmap) |
Return the input hashmap with the new (key, val) appended, only if the input pair does not exist in the input hashmap. More... | |
function addKeyVal | ( | in | key, |
in | val, | ||
in | hashmap | ||
) |
Return the input hashmap with the new (key, val) appended, only if the input pair does not exist in the input hashmap.
[in] | key | : The input scalar MATLAB string containing the key to add to the input pair list. |
[in] | val | : The input value to be appended to the input hashmap after the input key . |
[in] | hashmap | : The input cell array of even number of elements containing a set of (key, val) pairs of the hashmap. |
hashnew
: The output cell array of even number of elements containing the input pair list and (key, val)
pair. If the input key
exists in the input hashmap
, the input (key, val)
pair will not be added.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.