Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F548563
PhabricatorCosChartFunction.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
338 B
Referenced Files
None
Subscribers
None
PhabricatorCosChartFunction.php
View Options
<?php
final
class
PhabricatorCosChartFunction
extends
PhabricatorPureChartFunction
{
const
FUNCTIONKEY
=
'cos'
;
protected
function
newArguments
()
{
return
array
();
}
public
function
evaluateFunction
(
array
$xv
)
{
$yv
=
array
();
foreach
(
$xv
as
$x
)
{
$yv
[]
=
cos
(
deg2rad
(
$x
));
}
return
$yv
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:51 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
123041
Default Alt Text
PhabricatorCosChartFunction.php (338 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment