Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 604ee198d820660456b61f89c5966ff338d80d3addcff3d593827637453c0931
Ticket: e6b26853885c35d26243793e917107fa6f47206d
proportional weighted shares
User & Date: anonymous 2018-08-06 23:17:21
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    ::math::stats::proportional_weighted_shares --
            #
            # Return the proportional_weighted_shares from quantity by two or more given ratios
            #
            # Arguments:
            #    quantity   first value is quantity
            #    args       second, third,  and sucessive values
            #               are two or more given ratios (usually integers in high school)
            #               However, decimal fractions for both quantity and args seem
            #               to be reasonably accurate to TCL precison.     
            # Conditions and answer checks
            #       The quantity must be larger than 0
            #       The number of args must be larger than 2
            #       If sum of parts equals zero, formula is undefined
            #       Number of parts should be equal to [ llength $args ] 
            #       Total value of parts should be equal to quantity entry
            #       The solution may not be unique in that more than one
            #       set of shares may have or generate the same multiple ratios. 
            # Results: parts of quantity into proportional weighted shares
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "6a35629ae8c91b8189de05be9d12871d9ac9f8f9"
  10. resolution changed to: "None"
  11. severity changed to: "Cosmetic"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "math :: statistics"
  15. title changed to: "proportional weighted shares"
  16. type changed to: "Patch"