inline linpack functions