Remove all "FileHasObject" edge reads and writes
[phabricator.git] / src / applications / fact / chart / PhabricatorCosChartFunction.php
blob46a6904a5939050736bc302c5b2e0226d58ab989
1 <?php
3 final class PhabricatorCosChartFunction
4 extends PhabricatorPureChartFunction {
6 const FUNCTIONKEY = 'cos';
8 protected function newArguments() {
9 return array();
12 public function evaluateFunction(array $xv) {
13 $yv = array();
15 foreach ($xv as $x) {
16 $yv[] = cos(deg2rad($x));
19 return $yv;