MongoDB Trigonometric Operators
The MongoDB trigonometric operators perform trigonometric calculations on specified arrays. This page summarizes the trigonometric operators available in MongoDB.
-
$acos
The$acosoperator is a convenient trigonometric function operator in MongoDB that can be used to calculate the arccosine of a given angle. -
$acosh
The$acoshoperator is a mathematical operator in MongoDB used to calculate the inverse hyperbolic cosine value of a given numeric value. -
$asin
The Mongodb$asinoperator is an inverse sine function used to calculate the arcsine value of a given number and return its radian value. -
$asinh
The MongoDB$asinhoperator is a mathematical aggregation operator that returns the inverse hyperbolic sine value of a given number in radians. -
$atan
$atanis a mathematical operator in MongoDB used to calculate the arctangent of a given number. -
$atan2
$atan2is a geospatial operator in MongoDB used to calculate the arctangent value between a given point and a reference point. -
$atanh
The$atanhoperator is a mathematical operator in MongoDB used to calculate the inverse hyperbolic tangent function value of a number. -
$cos
$cosis a mathematical operator in MongoDB used to calculate the cosine value of a given angle. -
$cosh
The$coshoperator is a mathematical operator in MongoDB that calculates the hyperbolic cosine function value of an input expression, which can be any number, field, or expression. -
$degreesToRadians
In MongoDB, the$degreesToRadiansoperator is used to convert angle values from degrees to radians. -
$radiansToDegrees
$radiansToDegreesis an aggregation operator in MongoDB, used to convert angles in radians to angles in degrees. -
$sin
$sinis a mathematical operator in MongoDB that calculates the sine value of a given angle. -
$sinh
$sinhis a mathematical operator in MongoDB used to calculate the hyperbolic sine value of a given angle. -
$tan
$tanis a mathematical operator in MongoDB used to calculate the tangent of a given angle. -
$tanh
In MongoDB, the$tanhoperator is a mathematical operator used to calculate the hyperbolic tangent of a given value.