Changes between Version 13 and Version 14 of coding_rules
- Timestamp:
- 06/16/20 13:23:54 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
coding_rules
v13 v14 103 103 }}} 104 104 105 === MATLAB Built-In Equivalents === 106 The following is a list of MATLAB built-in equivalents in Python: 107 ||= '''MATLAB''' =||= '''Python''' =||= '''Notes''' =|| 108 || {{{s=num2str(A)}}} || {{{s=str(A)}}} || convert numbers to character array || 109 105 110 === !NumPy/SciPy === 106 111 !NumPy and !SciPy are used extensively in the Python interface to ISSM to replicate MATLAB-native functionality. When translating modules or tests, for example, from MATLAB to Python, the following sources may come in handy: