about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/potentials/Tables/mult_by_table_global.m
blob: cc6d712424d888d8431a2a0af103381cc0134ed2 (plain)
1
2
3
4
5
6
7
function mult_by_table_global(bigT, bigdom, bigsz, smallT, smalldom, smallsz)

% all arguments are read only
global NEWBIGT_GLOBAL

Ts = extend_domain_table(smallT, smalldom, smallsz, bigdom, bigsz);
NEWBIGT_GLOBAL = bigT(:) .* Ts(:);