## tan() function for complex number in C++

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 »

## norm() function in C++ with Examples

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:… Read More »

## cos() function for complex number in C++

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 »

## polar() function for complex number in C++

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 »

## cosh() function for complex number in C++

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 »

## isinf() function in C++

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 »

## isnormal() in C++

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 »

## std::iota in C++

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… Read More »

## std::lcm in C++17

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 »

## std::fixed, std::scientific, std::hexfloat, std::defaultfloat in C++

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 »

## Rotation of a point about another point in C++

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 »

## Reflection of a point about a line in C++

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 »

## Geometry using Complex Numbers in C++ | Set 2

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 »

## Geometry using Complex Numbers <std::complex> in C++ | Set 1

While solving geometric problems, it is time consuming to define the point class for specifying a point on the 2D Plane or the Euclidean Plane.… Read More »