close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 15 years ago

#779 closed task (fixed)

New built-in function to replace values of cells in a matrix

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 (last modified by Víctor de Buen Remiro)

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!: 'old' cannot have repeated cells

Change History (2)

comment:1 Changed 15 years ago by Víctor de Buen Remiro

Description: modified (diff)
Status: newaccepted

comment:2 Changed 15 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: acceptedclosed

(In [1665]) Fixes #779

Note: See TracTickets for help on using tickets.