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