string() should get a second dimension
Framework for numerical computations, data analysis and visualisation
Brought to you by:
numere
The string() object should get a second dimension for simpler interaction. The parser should be capable of interpreting both writings:
string(j1:j2)
string(i,j1:j2)
Analysis:
This change requires a total change in interface. Every function capable of acting with the string() object has to be investigated.
Probably the best change is to implement default values just like
STRING_TYPE stringfunc(indices) -> STRING_TYPE stringfunc(indices,col=0)
Implementation:
Change was implemented as proposed by the analysis. Proposed syntax was changed from string(i,j1:j2) to string(i1:i2,j).
Tests:
Tests were passed successfully. Change accepted.
Anonymous
Diff:
Diff:
Diff:
Diff: