Skip to content

Tag Archives: cpp-numerics-library

The numeric_limits class template provides an easy and standardized way to query various properties of arithmetic types. For example, the maximum value a type T… Read More
The tan() function for complex number is defined in the complex header file.This function is the complex version of the tan() function. This function is… Read More
The norm() function is defined in the complex header file. This function is used to return the squared magnitude of the complex number z. Syntax:Want… Read More
The cos() function for complex number is defined in the complex header file.This function is the complex version of the cos() function. This function is… Read More
The polar() function for complex number is defined in the complex header file.The polar function is used to find the complex number from phase angle… Read More
The cosh() function for complex number is defined in the complex header file.This function is the complex version of the cosh() function. This function is… Read More
This function is defined in <cmath.h> .The isinf() function is use to determine whether the given number is infinity or not i.e positive infinity or… Read More
This function is defined in <cmath.h> . By using isnormal() function, we determines that whether the given number is normal (neither zero, infinite nor NAN)… Read More
Compute adjacent difference of range Assigns to every element in the range starting at result, the difference between its corresponding element in the range [first,… Read More
Store increasing sequence Assigns to every element in the range [first, last] successive values of val, as if incremented with ++val after each element is written.… Read More
Competitive programming often involves computation of Least Common Multiple (LCM) of two numbers. One way of doing that is using boost::math::lcm(), which we discussed in… Read More
Formatting in the standard C++ libraries is done through the use of manipulators, special variables or objects that are placed on the output stream. There… Read More
We have already discussed the rotation of a point P about the origin in the Set 1 and Set 2. The rotation of point P… Read More
Let’s first consider a general case where the line is nothing but the X-Axis. We can now definitely say that the conjugate of a point… Read More
After going through previous post, we know what exactly are complex numbers and how we can use them to simulate points in a cartesian plane.… Read More