What is a Linear Transformation? It is a function (the word ‘transformation‘ means the same thing as the word ‘function‘) which takes vectors as inputs and produces vectors as outputs. Linear transformation is also called ‘Linear Map‘ or ‘Linear Mapping‘.
How to create a vector in Python using numpy
Mathematically, a vector is a tuple of n real numbers where n is an element of the Real (R) number space. Each number n (also called a scalar) represents a dimension. For example, the vector v = (x, y, z)
Difference between ndarray and array in numpy
numpy.array() is just a method which returns an array object of the type ndarray. Since the name of the method is array, developers who are new to Python often tend to confuse that numpy.array returns an array object of some
How to install a Python package in Eclipse
In my previous blog I talked about How to install Python PyDev plugin in Eclipse. In this blog, I’ll show how to install a python package in Eclipse using pip. pip is a tool for installing Python packages. To use
How to install Python PyDev plugin in Eclipse
Eclipse is a favourite tool for Java/JEE developers (including me 🙂 ). When I started learning Python, I wanted to use Eclipse as my preferred IDE for Python development. I found out that PyDev is one good open source plugin
How to change user name in Eclipse code templates
When a new code file is created, the author name in the @author is set to the value which is taken from the user.name environment variable. One way to override this value is to modify the eclipse.ini file. Following are
How to change jQuery version used by SAPUI5
In my last blog I showed you how to find the version of the jQuery library being used by sap-ui-core.js. In this blog I’ll show you how to change the jQuery version used by SAPUI5 runtime environment to a custom
How to find the jQuery version used by SAPUI5
The sap-ui-core.js is a part of the bootstrap section as shown below. It contains a copy of jQuery file. The version of the jQuery being used can be found by the command $.fn.jQuery. index.html <!DOCTYPE HTML> <html> <head> <meta http-equiv="X-UA-Compatible"
Understanding sap.ui.define by Hello World
With the introduction of the function sap.ui.define in the version 1.28, SAPUI5 has introduced the support for Asynchronous Module Definition (AMD). Note A module is a JavaScript file that can be loaded and executed in a browser. Asynchronous Module Definition
How to unlock or revert checked out activities in SAP Netweaver DTR
While working with source code files, it is often required to view, unlock or revert checked out activities in SAP Netweaver Design Time Repository (also known as the DTR). There is a web interface in the DTR which can be