Changes between Version 13 and Version 14 of coding_rules


Ignore:
Timestamp:
06/16/20 13:23:54 (5 years ago)
Author:
jdquinn
Comment:

Added section for MATLAB built-in equivalents

Legend:

Unmodified
Added
Removed
Modified
  • coding_rules

    v13 v14  
    103103}}}
    104104
     105=== MATLAB Built-In Equivalents ===
     106The 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
    105110=== !NumPy/SciPy ===
    106111!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: