Opened 15 years ago
Last modified 15 years ago
#779 closed task
New built-in function to replace values of cells in a matrix — at Initial Version
Reported by: | Víctor de Buen Remiro | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | highest | Milestone: | Mantainance |
Component: | Various | Version: | |
Severity: | blocker | Keywords: | |
Cc: |
Description
In some circumstances it's needed a fast way to code and decode contens of matrices.
Matrix MatReplace(Matrix data, Matrix old, Matrix new)
This function sholud replace in arbitrary matrix 'data' all occurrences of cell given in column matrix 'old' by corresponding cell in column matrix 'new', having obviously the same dimensions that 'old'.
CAUTION!:
- 'new' cannot have any value existing in 'old'
- 'old' cannot have repeated cells
Note: See
TracTickets for help on using
tickets.