Writing a Python Function

Python has the reputation of being easy to learn. So here is a function in Python to calculate the length of a line in 3D space. Well, it looks almost similar to the one written in Scilab. more ...



C++ valarray

C++ valarray is a class template to represent an array of numerical values. It is versatile and comes with all basic features required for a one-dimensioned array.

Arrays in C++ are identical to those in C. Consequently, operators, such as $+, -, *, /$ are not defined for arrays. C++ classes are a user ...

more ...