There is no excerpt because this is a protected post.
Protected: Programming HOWTOs
There is no excerpt because this is a protected post.
Using LAPACK in C, julia, lisp, and python
LAPACK and BLAS are two very highly optimized code libraries for linear algebra. There is almost no way that you can write linear algebra code that can compete with them in speed, accuracy or economy. Julia, R, python (and practically
Code managment: Using git
A large collaboration (well, any collaboration) may maintain a code-base for the in-house software that the group has written for their research. Each collaborator needs to be able to pull down the code-base development branch, make contributions, and commit them
Root finding
#include<stdio.h> float a,b,c; float func(float (*pf)(float x), float x, float y); float f( float z); main(){ a=2.0; b=3.0; c=func(f,a,b); printf("%f\n",c); } float func(float(*pf)(float x), float x, float y){ float c; c=(*pf)(x); c=y*c; return(c); } float f(float z){ return(1.0/(z*z)); } (defun