[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-12 Thread Phil Steitz (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phil Steitz updated MATH-448:
-

Fix Version/s: 2.2

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Fix For: 2.2
>
> Attachments: MATH-448.patch, MATH-448.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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



[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-09 Thread Patrick Meyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Meyer updated MATH-448:
---

Attachment: MATH-448.patch

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Attachments: MATH-448.patch, MATH-448.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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



[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-06 Thread Patrick Meyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Meyer updated MATH-448:
---

Attachment: MATH-448.patch

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Attachments: MATH-448.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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



[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-06 Thread Patrick Meyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Meyer updated MATH-448:
---

Attachment: (was: Frequency.diff)

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Attachments: MATH-448.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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



[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-06 Thread Patrick Meyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Meyer updated MATH-448:
---

Attachment: Frequency.diff

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Attachments: Frequency.diff
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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



[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-06 Thread Patrick Meyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Meyer updated MATH-448:
---

Attachment: (was: Frequency.diff)

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Attachments: Frequency.diff
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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



[jira] Updated: (MATH-448) Frequency get number of unique values

2010-12-06 Thread Patrick Meyer (JIRA)

 [ 
https://issues.apache.org/jira/browse/MATH-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Meyer updated MATH-448:
---

Attachment: Frequency.diff

> Frequency get number of unique values
> -
>
> Key: MATH-448
> URL: https://issues.apache.org/jira/browse/MATH-448
> Project: Commons Math
>  Issue Type: New Feature
>Reporter: Patrick Meyer
>Priority: Minor
> Attachments: Frequency.diff
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> It is often useful to know the number of unique elements in a frequency 
> table. Could you add a simple method that returns the size of freqTable. It 
> seems like it would be as simple as:
> {code}
> public int getUniqueCount(){
>  return freqTable.size();
> }
> {code}
> Given that freqTable is private, there is no way to extend the class and add 
> this method. Thanks!

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