Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F570398
PhabricatorSinChartFunction.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
PhabricatorSinChartFunction.php
View Options
<?php
final
class
PhabricatorSinChartFunction
extends
PhabricatorPureChartFunction
{
const
FUNCTIONKEY
=
'sin'
;
protected
function
newArguments
()
{
return
array
();
}
public
function
evaluateFunction
(
array
$xv
)
{
$yv
=
array
();
foreach
(
$xv
as
$x
)
{
$yv
[]
=
sin
(
deg2rad
(
$x
));
}
return
$yv
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 13, 3:27 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
124581
Default Alt Text
PhabricatorSinChartFunction.php (338 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment