Guide to Regular Expressions in Java
Regular Expressions (RegEx) are one of the most powerful tools in programming, yet they're also commonly misunderstood. They help you match patterns in a flexible, dynamic and efficient way, as well as allow you to perform operations based on the results. This can include validating certain patterns that exist in...
Calculating Euclidean Distance with NumPy
In this guide - we'll take a look at how to calculate the Euclidean distance between two points in Python, using Numpy. Euclidean distance is a fundamental distance metric pertaining to systems in Euclidean space. Euclidean space is the classical geometrical space that you get familiar with in the Math...
Guide to NumPy's arange() Function
NumPy is the most popular mathematical computing Python library. It offers a great number of mathematical tools including but not limited to multi-dimensional arrays and matrices, mathematical functions, number generators, and a lot more. One of the fundamental tools in NumPy is the ndarray - an N-dimensional array. Today, we're...