stdDevSamp() public méthode

The arguments can be any expression as long as it resolves to an array.
See also: https://docs.mongodb.org/manual/reference/operator/aggregation/stdDevSamp/
Since: 1.3
public stdDevSamp ( mixed | self $expression1 )
$expression1 mixed | self
Exemple #1
0
 /**
  * Calculates the sample standard deviation of the input values.
  *
  * The argument can be any expression as long as it resolves to an array.
  *
  * @see https://docs.mongodb.org/manual/reference/operator/aggregation/stdDevSamp/
  * @see Expr::stdDevSamp
  * @param mixed|Expr $expression
  * @return self
  *
  * @since 1.3
  */
 public function stdDevSamp($expression)
 {
     $this->expr->stdDevSamp($expression);
     return $this;
 }