mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
* block() for vectors ---> segment()
* documentation improvements, especially in quickstart guide
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user