Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F979132
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
Wed, Jun 18, 11:56 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
235978
Default Alt Text
PhabricatorCosChartFunction.php (338 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment