* block() for vectors ---> segment()

* documentation improvements, especially in quickstart guide
This commit is contained in:
Benoit Jacob
2008-09-15 15:45:41 +00:00
parent 0940ad7127
commit 247f2b0ffa
18 changed files with 213 additions and 243 deletions

View File

@@ -87,8 +87,11 @@ template<typename Real> void MandelbrotThread::render(int img_width, int img_hei
{
# define ITERATE \
pzr_buf = pzr; \
pzr = pzr.cwise().square() - pzi.cwise().square() + pcr; \
pzi = (2*pzr_buf).cwise()*pzi + pci;
pzr = pzr.cwise().square(); \
pzr -= pzi.cwise().square(); \
pzr += pcr; \
pzi = (2*pzr_buf).cwise()*pzi; \
pzi += pci;
ITERATE ITERATE ITERATE ITERATE
}
pix_dont_diverge = ((pzr.cwise().square() + pzi.cwise().square())