mardi 24 mars 2015

IEEE Style for Number Array


What is the IEEE preferred style for writing a number array with a specific step size? There seem to be several options:



1: (start, step, stop)

2: (start:step:stop)

3: start ... (step) ... stop


There are a few other (seemingly) equally valid representations, even ignoring the differentiation between inclusive and exclusive brackets. I say start/stop instead of min/max because at least one of my arrays has a negative step size, that is, the numbers are getting smaller.


Is there a prefered style or is it just whatever floats my boat? I can't find any suggestions in the IEEE Style Manual.





Aucun commentaire:

Enregistrer un commentaire