view _FullBNT/KPMtools/is_stochastic.m @ 9:4ea6619cb3f5 tip

removed log files
author matthiasm
date Fri, 11 Apr 2014 15:55:11 +0100
parents b5b38998ef3b
children
line wrap: on
line source
function p = is_stochastic(T)
% IS_STOCHASTIC Is the argument a stochastic matrix, i.e., the sum over the last dimension is 1.
% p = is_stochastic(T)

p = approxeq(T, mk_stochastic(T));