[GSoC 19] About programming competency test
Sandesh Ghanta via ublas <[email protected]> Sun, 17 Feb 2019 12:06:32 +0530
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <CAKQNTxK47aeJujsNsKYqYqiYfz2qypt-zsNegsFw3smpn+D9QA@mail.gmail.com> |
--===============9094410827403854952== Content-Type: multipart/alternative; boundary="0000000000004ddc710582113bc2" --0000000000004ddc710582113bc2 Content-Type: text/plain; charset="UTF-8" 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@Amrita <http://amfoss.in> GitHub <https://github.com/sandeshghanta> | Codechef | <http://www.codechef.com/users/sandeshghanta>Codeforces <http://www.codeforces.com/profile/sandeshghanta> --0000000000004ddc710582113bc2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hey all,</div><div>I am Sandesh Ghanta, I am interest= ed to contribute to UBLAS as part of GSoC 19. I have been working on the pr= ogramming competency test for about a week now. The programming competency = test requires me to implement a small library which uses expression templat= es to compute algebraic expressions. I have been able to write code which c= omputes algebraic expressions containing only addition and subtraction. But= I am confused as to how to write code for multiplication. <br></div><div>E= xample: D =3D A*B + C</div><div>Can someone guide me as to how to write cod= e to solve such equations without the use of temporary variables?<br></div>= <div>Links to online resources for the same is also gladly accepted.<br></d= iv><div><br></div><div><div><div dir=3D"ltr" class=3D"gmail_signature" data= -smartmail=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div>= <div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir= =3D"ltr"><div><div>Yours Sincerely,<br></div>Sandesh Ghanta,<br></div><a hr= ef=3D"http://amfoss.in" target=3D"_blank">FOSS@Amrita</a><br></div><div><a = href=3D"https://github.com/sandeshghanta" target=3D"_blank">GitHub</a> | <a= href=3D"http://www.codechef.com/users/sandeshghanta" target=3D"_blank">Cod= echef | </a><span><a href=3D"http://www.codeforces.com/profile/sandeshghant= a" target=3D"_blank">Codeforces</a></span></div><div dir=3D"ltr"><div><div>= <br></div></div></div></div></div></div></div></div></div></div></div></div= ></div></div></div></div></div> --0000000000004ddc710582113bc2-- --===============9094410827403854952== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline