Re: [eigen] Eigen Internals |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen@xxxxxxxxxxxxxxxxxxx*Subject*: Re: [eigen] Eigen Internals*From*: Mayank Agarwal <mayank007.win@xxxxxxxxx>*Date*: Fri, 9 Mar 2018 01:55:04 +0530*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=5IpK+SRT5FldqFTY7WzqieKeQ1bt5qnwK6v8Xxz3mvo=; b=i+qCbDrnN6ZpXNXm8m1nQKnf3nIAQ+6nLEZsfZcRuAe21FfSoF5pdUSxMMeSxHKpTC G3cywdmVF8h7xmiJHaOHQMriRgKNOsvL72H17NwgxXum81hbH7mFOVmP/D3etJX3FpEo MEaGmQAZ8fOfFwLvssNmQ2Sv+8vVXEjrPhXWEU0cwT3n4bBzhPMiF3NnIQQ3ULJVGM7h XYiwnu7Kxmou62FnUO4Pha1ZDa3QzNYXLr9LONhAHnug5NeGkTFYtOkrR/nvI6XAexXp Va8ohinAAhB0gmDxshgnfiPUH/hNzmBZEq5gSePI9ARZzlEMB5jdxL4EhkV/2Nxe8GOc QJ8A==

Hi,

Thanks a lot. I am new to Eigen and have been going through documentation and all.

I want to implement symmetric matrices class in Eigen, for which I guess knowing the internals

and how Eigen works is required. I am not sure which part to learn and what parts are there.

I just want to learn enough so that I know what my approach should be to create such a working

class in Eigen.

Thank you,

Mayank

On Thu, Mar 8, 2018 at 10:14 PM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:

Hi,that's a though question! Which part do you want to learn?Anyhow, a good start could be to run step by step in a debugger the following code:#define EIGEN_DONT_VECTORIZE#include <Eigen/Core>using namespace Eigen;int main() {int n = 5;VectorXd A(n), B(n), C(n);A = B+C;}This will show you what is returned by A+B, and how this simple _expression_ is evaluated. You can comment #define EIGEN_DONT_VECTORIZE to see how explicit vectorization is accomplished or try more fancy expressions. gaelOn Wed, Mar 7, 2018 at 8:07 PM, Mayank Agarwal <mayank007.win@xxxxxxxxx> wrote:Hi,I have been going through the core Eigen folder. I am really confused about the starting point of it all as from which header file I should start understanding the Eigen internals and function definitions.Thank You,Mayank

**References**:**[eigen] Eigen Internals***From:*Mayank Agarwal

**Re: [eigen] Eigen Internals***From:*Gael Guennebaud

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Dense Matrix Decompositions/Solvers: Inherit from SolverBase** - Next by Date:
**[eigen] GSoC 2018 Symmetric Matrix** - Previous by thread:
**Re: [eigen] Eigen Internals** - Next by thread:
**Re: [eigen] Dense Matrix Decompositions/Solvers: Inherit from SolverBase**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |