fabien van mook

all packages "fvm-*"

package "fvm-htab"

function file "nurepl.m"

Function nu_out = nurepl(nu,unit1,m,unit2)

returns new number-unit data in which unit1
has been replaced by unit2, and the number 
with unit1 has been multiplied by m.

If unit1 does not exist, nothing is done.
If unit1 and unit2 already exist, the number
with unit1 will be multiplied with m and added
to the prior number with unit2.

Input argument nu is a special struct, or an
array of special struct's. In the first case,
output argument nu_out is a special struct;
in the latter case, it is also an array of 
special struct's.

Each special struct has the form 
  nu.(unit) = number.


(c) 2026 fabien van mook

2026.08.20 release of this file within package "fvm-htab" under GNU GPLv3+