Editing User:Antonio Pino
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== A: An introduction == | == A: An introduction == | ||
* Please describe yourself in three sentences, one of them regarding your current studies. | * Please describe yourself in three sentences, one of them regarding your current studies. | ||
I am Antonio Pino Robles and I am currently an | I am Antonio Pino Robles and I am currently an undergratuate student at the University of the Basque Country, in the Basque Country, Northern Spain, atlantic French border. Thus I an a native Basque and Spanish speaker, I can express myself in French and Italian (after a year long stay in Piemonte), besides being fluent in English. | ||
I have always enjoyed literature and math, which are things I like to do when I enjoy the heavy rain pouring in my | I have always enjoyed literature and math, which are things I like to do when I enjoy the heavy rain pouring in my hometown. | ||
* What's your overall background? | * What's your overall background? | ||
As an ungergrad I am following a programme that leads me to a major in Electronic Engineering and a minor in Physics, that means that I have expirience in subjects such as Control Theory, Signal Analysis on one side, and Quantum Physics and Thermodynamics on the other; all with a strong mathematical background. | |||
* Why do you want to participate in the Google Summer of Code? What do you hope to gain by doing so? | * Why do you want to participate in the Google Summer of Code? What do you hope to gain by doing so? | ||
I hope to learn how programming is done outside of the | I hope to learn how programming is done outside of the sandboxed problems I have done until now (at Uni) while contributing to free software. Besides, I have been following the FSF for a long time, and been a free software user for longer, so this can be a way of giving back while receiving. | ||
* Why are you choosing Octave? | * Why are you choosing Octave? | ||
Last year, I took two courses the relied heavily on the matrix exponential (Control Theory and Non-linear dynamics) to solve systems (or approximate them) by | Last year, I took two courses the relied heavily on the matrix exponential (Control Theory and Non-linear dynamics) to solve systems (or approximate them) by | ||
Line 23: | Line 23: | ||
* Which time zone do you live in? Will that change over GSoC duration? | * Which time zone do you live in? Will that change over GSoC duration? | ||
In Spain we are at UTC+1 (DST UTC+2), although there have been talks to change to an UTC+0 (DST UTC+1) frame, I am not aware of those taking place soon, nor do I plan to travel outside UTC+2 this summer. | In Spain we are at UTC+1 (DST UTC+2), although there have been talks to change to an UTC+0 (DST UTC+1) frame, I am not aware of those taking place soon, nor do I plan to travel outside UTC+2 this summer. | ||
* Please state the | * Please state the timeframe (in UTC+0) when you feel most comfortable working during GSoC. Where are your time buffers? | ||
I am really a morning person, so a eight to six (UTC+0) schedule will do for me. | I am really a morning person, so a eight to six (UTC+0) schedule will do for me. | ||
Line 30: | Line 30: | ||
* Please describe your experience with C++, Octave or Matlab m-scripts, OpenGL and Qt. | * Please describe your experience with C++, Octave or Matlab m-scripts, OpenGL and Qt. | ||
I have been writing m-scripts for two years now, to solve specific engineering problems, 100-200 lines long on average. | I have been writing m-scripts for two years now, to solve specific engineering problems, 100-200 lines long on average. | ||
Appart from that, I have a basic level of C++ (not wih the octave api) and I have not used OpenGL nor Qt before. | |||
* Please describe your experience with other programming languages. | * Please describe your experience with other programming languages. | ||
A big part of the programming done at Uni has been done in Python: from the basic | A big part of the programming done at Uni has been done in Python: from the basic algortithm courses to symbolic problem solving with sympy. It has also been the tool of choice for a little klugde here and there. | ||
On the other hand, I have used VHDL for building and testing a discrete signal filter. And c to do a little systems and microcontroller programming. | On the other hand, I have used VHDL for building and testing a discrete signal filter. And c to do a little systems and microcontroller programming. | ||
* Please describe your experience with being in a development team. | * Please describe your experience with being in a development team. | ||
Line 38: | Line 38: | ||
* Please describe the biggest project you have written code for and what you learned by doing so. Also describe your role in that project over time. | * Please describe the biggest project you have written code for and what you learned by doing so. Also describe your role in that project over time. | ||
The biggest project I have worked on was the VHDL discrete filter, carried out along with two colleagues. The idea was to make use of all we learned about digital circuits so we implemented a RAM, adders, various types of registers, finite state machines, and we all went through the nightmare of 'looking for the bug' and creating | The biggest project I have worked on was the VHDL discrete filter, carried out along with two colleagues. The idea was to make use of all we learned about digital circuits so we implemented a RAM, adders, various types of registers, finite state machines, and we all went through the nightmare of 'looking for the bug' and creating testbenchs for vhdl. But more importantly that an innocent looking modification may break others' job. | ||
By the way, knowing about the nuts and bolts of how are numbers stored in the bare metal gave me an | By the way, knowing about the nuts and bolts of how are numbers stored in the bare metal gave me an appretiation for what are the differences betwen an idealized (almighty) function and the ''real'' poor man's version of it. | ||
* Please state the commits and patches you already contributed to Octave. | * Please state the commits and patches you already contributed to Octave. | ||
No commits or patches done, although I have successfully built it from source and written a | No commits or patches done, although I have successfully built it from source and written a barebones matrix cosine function | ||
[ | [[Media:cosm.m]] based on [http://www.maths.manchester.ac.uk/~higham/narep/narep411.pdf Higham and Smith]. | ||
== F: Feeling fine == | == F: Feeling fine == | ||
Line 52: | Line 52: | ||
Basic usage of git and hg only (just in order to clone-update-build). | Basic usage of git and hg only (just in order to clone-update-build). | ||
* Mediawiki or other wiki software | * Mediawiki or other wiki software | ||
Definitely not an expert, but comfortable editing | Definitely not an expert, but comfortable editing it it. | ||
* make, gcc, gdb or other development tools | * make, gcc, gdb or other development tools | ||
My experience with these is limited, having used GCC, make and autotools to build free software packages. | My experience with these is limited, having used GCC, make and autotools to build free software packages. | ||
Line 62: | Line 62: | ||
I have been using octave for a long time now, in varying courses such as Linear Algebra, Control Theory, Quantum Physics. | I have been using octave for a long time now, in varying courses such as Linear Algebra, Control Theory, Quantum Physics. | ||
* What was the first question concerning Octave you could not find an answer to rather quickly? | * What was the first question concerning Octave you could not find an answer to rather quickly? | ||
Finding a way to systematically test a functions was not very easy. I also missed a guide on the differences with Matlab (specially syntax), which should be crucial as Matlab is sadly more promoted than Octave in universities and people | Finding a way to systematically test a functions was not very easy. I also missed a guide on the differences with Matlab (specially syntax), which should be crucial as Matlab is sadly more promoted than Octave in universities and people dicover the latter when looking for an alternative to the former, just like me. | ||
== P: Prerequisites == | == P: Prerequisites == | ||
Line 73: | Line 73: | ||
* How autonomous are you when developing? | * How autonomous are you when developing? | ||
I often start with a proof of concept and 'see how it turns out' is | I often start with a proof of concept and 'see how it turns out' is usualy my approach to a problem, I never start doing it blindly or whitout a clue, though. | ||
== Y: Your task == | == Y: Your task == | ||
The project I intend to do is [http://wiki.octave.org/Summer_of_Code_Project_Ideas#Improve_logm.2C_sqrtm.2C_funm Improve logm, sqrtm, funm]; its aim is to improve the existing implementations of [https://en.wikipedia.org/wiki/Matrix_function Matrix Functions] in | The project I intend to do is [http://wiki.octave.org/Summer_of_Code_Project_Ideas#Improve_logm.2C_sqrtm.2C_funm Improve logm, sqrtm, funm]; its aim is to improve the existing implementations of [https://en.wikipedia.org/wiki/Matrix_function Matrix Functions] in octave based on the algorithms developed by [http://www.maths.manchester.ac.uk/~higham/NAMF/#People a team lead by Prof. Higham] at the University of Manchester. At this point in time, in Octave there are the following: [http://hg.savannah.gnu.org/hgweb/octave/file/9a8be23d2c05/scripts/linear-algebra/expm.m expm] makes use of Padé approximant, [http://hg.savannah.gnu.org/hgweb/octave/file/9a8be23d2c05/scripts/linear-algebra/logm.m logm] uses a Schur-Parlett algorithm, and [http://hg.savannah.gnu.org/hgweb/octave/file/9a8be23d2c05/libinterp/corefcn/sqrtm.cc sqrtm] using a variant of the algorithm in A New sqrtm for MATLAB[1]. On the other hand, in Octave-Forge there are [http://sourceforge.net/p/octave/linear-algebra/ci/default/tree/inst/funm.m funm] and [http://sourceforge.net/p/octave/linear-algebra/ci/default/tree/inst/thfm.m trigonometric and hyperbolic matrix functions]. | ||
I believe this is of interest to Gnu Octave first, due to the goal of overall MATLAB compatibility and second, because more and more systems are being described by a matrix equation lately. | |||
Upon completion Gnu Octave should have a working funm based on the Schur-Parlett algorithms by Higham et al., that calls to specific matrix functions if these have an instance of their own: expm, logm, sqrtm etc. | |||
<div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> | ||
'''TENTATIVE | '''TENTATIVE TIMELINE'''(previous) | ||
<div class="mw-collapsible-content">''' | <div class="mw-collapsible-content">'''Introductio | ||
It appears to me that the natural task division for this project is to first improve and test funm (this | It appears to me that the natural task division for this project is to first improve and test funm (this shoud be ready by the mid-term), and then get to the rest, picking logm first. | ||
'''weeks 1-2''' | '''weeks 1-2''' | ||
Line 194: | Line 106: | ||
'''weeks 12''' | '''weeks 12''' | ||
implement trigonometric functions (I submitted a | implement trigonometric functions (I submitted a snipet of cosm [http://octave.1599824.n4.nabble.com/GSoC-2015-improving-matrix-funtcions-td4669227.html to the mailing list]) | ||
'''weeks 13-14''' | '''weeks 13-14''' | ||
Line 202: | Line 114: | ||
</div> | </div> | ||
[1] N.J. Higham. A New sqrtm for MATLAB. Numerical Analysis Report No. 336, Manchester Centre for Computational Mathematics, Manchester, England, January 1999. | [1] N.J. Higham. A New sqrtm for MATLAB. Numerical Analysis Report No. 336, Manchester Centre for Computational Mathematics, Manchester, England, January 1999. | ||
------- | |||
[ | This section is being reworked in a sandbox, [[User:Antonio_Pino:anotherwiki|the other wiki]]. Will add it here when done. Note that the previous is still going though changes. | ||
==Z: submitted proposal== | ==Z: submitted proposal== | ||
Line 230: | Line 135: | ||
'''Organization''': GNU Project | '''Organization''': GNU Project | ||
'''Abstract''': Matrix Functions are widely used to describe dynamical systems, this project aims at implementing those based on algorithms developed at the University of Manchester by Dr. Philip Davies and Matthew Smith, led by Prof. Nick Higham. Upon completion Gnu Octave should | '''Abstract''': Matrix Functions are widely used to describe dynamical systems, this project aims at implementing those based on algorithms developed at the University of Manchester by Dr. Philip Davies and Matthew Smith, led by Prof. Nick Higham. Upon completion Gnu Octave should have a reliable working funm based on the Schur-Parlett algorithms by Higham et al., that calls to specific matrix functions if these have an instance of their own. | ||
Additional info: http://wiki.octave.org/User:Antonio_Pino | Additional info: http://wiki.octave.org/User:Antonio_Pino | ||
<div class="mw-collapsible-content">'''Introduction''' | <div class="mw-collapsible-content">'''Introduction''' | ||
I am Antonio Pino Robles, and if selected I will be working on the project for about 6-8 hours a day (8:00-16:00 UTC+0), with the exception of the first two weeks when I will be taking my final exams. Therefore, mine will be a soft start. As for IRC, I may be contacted | I am Antonio Pino Robles, and if selected I will be working on the project for about 6-8 hours a day (8:00-16:00 UTC+0), with the exception of the first two weeks when I will be taking my final exams. Therefore, mine will be a soft start. As for IRC, I may be contacted anytime during the day at AntonioPino in the #octave channel at freenode, via a mobile connection. That work plan shall not be altered, as I don't plan to travel this summer. | ||
On the other hand, I am a fluent English speaker, hold a Cambridge CAE certificate and have taken several university courses taught entirely in the English language. Besides, I am an avid reader, with a passion for the English literature. What I mean is that I do not expect any problem communicating with the mentors or organizers, either in a written fashion or orally. | On the other hand, I am a fluent English speaker, hold a Cambridge CAE certificate and have taken several university courses taught entirely in the English language. Besides, I am an avid reader, with a passion for the English literature. What I mean is that I do not expect any problem communicating with the mentors or organizers, either in a written fashion or orally. | ||
Line 242: | Line 147: | ||
'''Benefit-Deliverables''' | '''Benefit-Deliverables''' | ||
The project's aim is to improve the existing implementations of Matrix Functions in Gnu Octave based on the algorithms developed by a team lead by Prof. Higham at the University of Manchester. At this point in time, in Gnu Octave there are the following: expm makes use of Padé approximant, logm uses a Schur-Parlett algorithm, and sqrtm using a variant of the algorithm in A New sqrtm for MATLAB[ | The project's aim is to improve the existing implementations of Matrix Functions in Gnu Octave based on the algorithms developed by a team lead by Prof. Higham at the University of Manchester. At this point in time, in Gnu Octave there are the following: expm makes use of Padé approximant, logm uses a Schur-Parlett algorithm, and sqrtm using a variant of the algorithm in A New sqrtm for MATLAB[1]. On the other hand, in Octave-Forge there are funm and trigonometric and hyperbolic matrix functions. | ||
I believe this is of interest to Gnu Octave first, due to the goal of overall MATLAB compatibility and second, because more and more systems are being described by a matrix equation lately. | I believe this is of interest to Gnu Octave first, due to the goal of overall MATLAB compatibility and second, because more and more systems are being described by a matrix equation lately. | ||
funm shoud be ready by the mid-term. The rest will follow. The tentative time line can be read in the "Additional Info URL". | |||
'''Qualification''' | '''Qualification''' | ||
Line 260: | Line 162: | ||
On the other, more and more dynamical systems can be approximated by a Matrix differential equation, and to have efficient Matrix Function implementations in Gnu Octave will help any free software user (including myself) approach these systems. | On the other, more and more dynamical systems can be approximated by a Matrix differential equation, and to have efficient Matrix Function implementations in Gnu Octave will help any free software user (including myself) approach these systems. | ||
Finally, I have been writing m-scripts for two years now, to solve specific engineering problems, a strong python background. I order to | Finally, I have been writing m-scripts for two years now, to solve specific engineering problems, a strong python background. I order to fulfill it I will have to refresh my C++ knowledge by becoming familiar with the source tree, and get used to mercurial (hg), the version control system used to manage Gnu Octave. | ||
[ | [1] N.J. Higham. A New sqrtm for MATLAB. Numerical Analysis Report No. 336, Manchester Centre for Computational Mathematics, Manchester, England, January 1999. | ||
</div> | </div> |