chukwa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cheng (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CHUKWA-69) Calculate trapezoid area for a given series of data
Date Tue, 31 Mar 2009 21:08:50 GMT

    [ https://issues.apache.org/jira/browse/CHUKWA-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694271#action_12694271
] 

Cheng commented on CHUKWA-69:
-----------------------------

+1 thx for fixing it.

> Calculate trapezoid area for a given series of data
> ---------------------------------------------------
>
>                 Key: CHUKWA-69
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-69
>             Project: Hadoop Chukwa
>          Issue Type: Task
>          Components: User Interface
>            Reporter: Cheng
>            Assignee: Eric Yang
>            Priority: Minor
>         Attachments: CHUKWA-69-1.patch, chukwa-69.patch
>
>
> Calculate trapezoid area for a given series of data.
> suppose we have:
>   x0, x1, x2, x3 
>   y0, y1, y2, y3
> the area would be 
>    (x1-x0) * (y1+y0)/2 + (x2-x1) * (y2+y1)/2 + (x3-x2) * (y3+y2)/2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message