|
From: | ws |
Subject: | Re: Vector approach to row margin frequencies |
Date: | Wed, 24 Jun 2009 22:27:32 +0000 (UTC) |
User-agent: | Loom/3.14 (http://gmane.org/) |
> diag(sum(S,2)) \ XThe diag() stuff is really cool. Now I'll have to look into whether reshape+diag+reshape is faster than bsxfun for 3D arrays. Thanks Jaroslav!--judd Cool indeed! bsxfun vs diag vs repmat makes me remember why matrix math is so much fun! Thanks to all! > > > _______________________________________________ > Help-octave mailing list > Help-octave <at> octave.org > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave >
[Prev in Thread] | Current Thread | [Next in Thread] |