wolffd@0: function Tbig = divide_by_pot(Tbig, Tsmall) wolffd@0: % DIVIDE_BY_POT Tbig /= Tsmall wolffd@0: % Tbig = divide_by_pot(Tbig, Tsmall) wolffd@0: % wolffd@0: % Tsmall's domain must be a subset of Tbig's domain. wolffd@0: wolffd@0: %process sparse dpot, we do not concern only one of the two pots is sparse wolffd@0: if issparse(Tbig.T) & issparse(Tsmall.T) wolffd@0: Tbig.T = divide_by_sparse_table(Tbig.T, Tbig.domain, Tbig.sizes, Tsmall.T, Tsmall.domain, Tsmall.sizes); wolffd@0: else wolffd@0: Tbig.T = divide_by_table(Tbig.T, Tbig.domain, Tbig.sizes, Tsmall.T, Tsmall.domain, Tsmall.sizes); wolffd@0: end wolffd@0: wolffd@0: