Hi !
Here are my children, my C programs, on whom I spent many a nights, and many a phosphor ! And here they are ….. super-precise, you cannot get the logics shorter than this, and once you get the underlying ideas, they are extraordinarily simple yet captivating. Will be adding more soon. Here is a snapshot of what are gonna be and are on offer ……..
- Boolean functions, two and three variables,
- Linear Boolean functions,the XOR way,
- Character, word, blanks counting in a file,
- Sort – Bubble sort, Augmented bubble sort, Heap Sort.
- Search – Binary and Sequential,
- A program to find genotypes in fillial generations in sex-linked inheritance,
- Stack programs,-
- Linked list, -
- Creating nodes, connecting to main list, deleting, inserting,
- Reversing directions of nodes in a linked list.
- Multiplication of sparse polynomials.
- Tree programs -
- Inorder (recursive and non-recursive), Preorder and Postorder traversal, Insertion and Deletion in a Binary tree,
- Insertion and deletion in a balanced binary tree.
- Now MATHEMATICS
- Program to find inverse/g-inverse, determinant, rank, row space, column space, null space, solution for a particular vector, all for a given matrix,
- Regression programs,-
- Finding the correlation coefficient, and regression line by least-squares method,
- Finding regression line, Least Absolute Deviation (LAD), Iterated Re-weighted Least Squares (IRLS),
- Finding regression line, LAD, exact solution.
- Finding spearman’s rank correlation, and Kendall’s Tau.


woah! quite a lot bit of C++ down there… anw, here in our first semester, we had C++ as well and learnt how to make linked lists and everything… its damn cool… its amazing how much you can do with pointers… and yea, do you know how to traverse a linked list backwards? still have to figure that out – we weren’t taught that in the course… on the other hand, wiki might help me out!
cheers!
and best of luck for your remaining exams!
if u want to only traverse a linklist backwards, then a doubly linked list is enough. and if u wnt to permanently reverse the linklist, i.e. change the address of each node to prev node, then it is a little headache, but at last u can do it with only a four line code, and a for loop ( with in da first 3 lines! ). try it. not tough. happy programming.
, bt not ‘exams’, anymore, it’s ‘exam’, only prob exam on 7th remains.
and thanx
so how was the exam? hols finally! yay!
yep, good exam
, some butterflies initially
, but flying colors at last
. and …. welcome hols ! books to read, and max payne to play, lots of things to chat about ……
I’m interested in Programming & Statistics.That’s why I shall be grateful to you if you kindly mail me your c programmes of regression line,LAD,IRLS,exact solution,spearman’s rank correlation & Kendall’s tau.
Very interesting!!!I am in need of a C or MATLAB programme which will analyses Fisher Iris Data Set(like regression line of sepal length(sl) on pl pw sw, also partial correlations,multiple correlation etc.I request you to mail me the prog.Waiting for your mail……..