Category: programming languages
I sometimes need to copy the posts to somewhere for easy sharing purpose and at the end of the post, I will point out the URL for the original …
November 13, 2014
BASH Shell, batch script, code, linux, programming languages, tools / utilities, tricks, Virtual Private Server, web programming, webhosting
Linux is a very powerful but tricky Operating System. One tiny mistake on configuration can lead to crash or system hung up. In this tutorial, we know how to …
In this tutorial, we know how to define a general-purpose function to compute the numerical integral using Python and Numpy package. The Python code supports the vectorized operations on …
In the last post, we have defined a function to compute the numerical integration in Python and Numpy. This tutorial will guide you how to compute the mean of …
If you want to compute x2 you can easily write a function in Python like this: def sqr(x): return x * x # or x ** 2 If you …