MongoDB $pow

In MongoDB, the $pow aggregation pipeline operator raises a number to the specified exponent and returns the result

$pow accepts two expressions, supplied in an array. The first one is the number, and the second is the exponent. Both can be any valid expression, as long as they resolve to a number.

Read more

MongoDB $log10

In MongoDB, the $log10 aggregation pipeline operator calculates the log base 10 of a number and returns the result as a double.

$log10 accepts any valid expression that resolves to a non-negative number.

The $log10 operator was introduced in MongoDB 3.2.

Read more

MongoDB $atanh

In MongoDB, the $atanh aggregation pipeline operator returns the hyperbolic arctangent (inverse hyperbolic tangent) of a value.

The return value is in radians.

$atanh accepts any valid expression that resolves to a number between -1 and 1.

The $atanh operator was introduced in MongoDB 4.2.

Read more

MongoDB $atan2

In MongoDB, the $atan2 aggregation pipeline operator returns the arctangent (inverse tangent) of one value divided by another.

You provide the two values in an array. Each of the two values provided to $atan2 can be any valid expression that resolves to a number.

The return value is in radians.

The $atan2 operator was introduced in MongoDB 4.2.

Read more

MongoDB $atan

In MongoDB, the $atan aggregation pipeline operator returns the arctangent (inverse tangent) of a value.

The return value is in radians.

$atan accepts any valid expression that resolves to a number.

The $atan operator was introduced in MongoDB 4.2.

Read more

MongoDB $asinh

In MongoDB, the $asinh aggregation pipeline operator returns the hyperbolic arcsine (inverse hyperbolic sine) of a value, measured in radians.

$asinh accepts any valid expression that resolves to a number.

The $asinh operator was introduced in MongoDB 4.2.

Read more

MongoDB $acosh

In MongoDB, the $acosh aggregation pipeline operator returns the hyperbolic arccosine (inverse hyperbolic cosine) of a value, measured in radians.

$acosh accepts any valid expression that resolves to a number between 1 and +Infinity.

The $acosh operator was introduced in MongoDB 4.2.

Read more

MongoDB $acos

In MongoDB, the $acos aggregation pipeline operator returns the arccosine (inverse cosine) of a value, measured in radians.

$acos accepts any valid expression that resolves to a number between -1 and 1.

The $acos operator was introduced in MongoDB 4.2.

Read more

MongoDB $cos

In MongoDB, the $cos aggregation pipeline operator returns the cosine of a value that is measured in radians.

$cos accepts any valid expression that resolves to a number.

The $cos operator was introduced in MongoDB 4.2.

Read more