|
Ublas : |
Subject: Re: [ublas] [GSoC 19] About programming competency test
From: Cem Bassoy (cem.bassoy_at_[hidden])
Date: 2019-02-18 12:22:45
Hello Sandesh,
you can use temporary objects for the multiplication. However, we want the
arithmetic expression to be 'parsed' via expression templates. Please make
sure that your code is tested.
Best
Cem
Am So., 17. Feb. 2019 um 07:37 Uhr schrieb Sandesh Ghanta via ublas <
ublas_at_[hidden]>:
> Hey all,
> I am Sandesh Ghanta, I am interested to contribute to UBLAS as part of
> GSoC 19. I have been working on the programming competency test for about a
> week now. The programming competency test requires me to implement a small
> library which uses expression templates to compute algebraic expressions. I
> have been able to write code which computes algebraic expressions
> containing only addition and subtraction. But I am confused as to how to
> write code for multiplication.
> Example: D = A*B + C
> Can someone guide me as to how to write code to solve such equations
> without the use of temporary variables?
> Links to online resources for the same is also gladly accepted.
>
> Yours Sincerely,
> Sandesh Ghanta,
> FOSS_at_Amrita <http://amfoss.in>
> GitHub <https://github.com/sandeshghanta> | Codechef |
> <http://www.codechef.com/users/sandeshghanta>Codeforces
> <http://www.codeforces.com/profile/sandeshghanta>
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: cem.bassoy_at_[hidden]
>