[eigen] A piece of code that has me confused |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] A piece of code that has me confused
- From: Douglas Bates <bates@xxxxxxxxxxxxx>
- Date: Wed, 20 Jul 2011 14:05:03 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=dItqjj6KlGzl67a/Jm921VaRwAKZFyVW1I2XCDiAy98=; b=XcqmV40OQmntIYqeybPGJ/F3+wCX9bc5uNeYEtdz+PaLYUj/hsdjY7cnd935HMA8M3 SXKr8vZ7rXtbh2lSXmUY2CmbbNYYyYWAF9tgXr78lOUwOhNkExdwQqM8kJgbbGdJC5nv Li6YiaAiY5X4H3aVghnFYcJU6ItPYyhT48dBE=
In the file unsupported/Eigen/src/SparseExtra/SimplicialCholesky.h the
method _solve uses the template keyword in a way I have not seen
before:
if(m_matrix.nonZeros()>0) // otherwise L==I
m_matrix.template triangularView<UnitLower>().solveInPlace(dest);
Can anyone point me to documentation on that usage?