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 | repKeyVal (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 .If the pair exists, replace it with the new value. More... | |
function repKeyVal | ( | 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
.
If the pair exists, replace it with the new value.
[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 the (key, val) pairs of the hashmap in sequence as element of the cell array. |
hashnew
: The output cell array of even number of elements containing the input pair list and (key, val)
pair.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.