Hi,
I know a little bit of python and am now starting to learn c. In python if I use numpy I have most things provided to me. For example If I want a sequence of 100 number between 1 and 10 I would just use numpy.linspace(1,10,100) . Now I know that I can quite easily do the same myself with a for loop, but I was wondering that it is something so often used would there be functions that do that for you in c. My other similar questions are that If I have two arrays and I want to append one to the end of the other is there a function in some library that does it.
Consider this 1,2,3,4,5,6,6.5,7,7.5,8,8.5,9,9.5,10,10.1,10.2,10. 3 ............. 14.9,15
The sequence from 1 to 15 is not equally spaced. Trivial to implement in python. I can do it in c with by defining a function and a for loop. Is C difficult because you have to do everything from scratch? Something like the sequence above is what I need very frequently it be annoying to write a code for it each time. If you know numerical libraries in C that do similar things as numpy please let me know. I am aware of gsl which is similar to scipy.
thanks guys.