[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] Updated: (OFFICE-2018) PERMUTATIONAspecification
[ http://tools.oasis-open.org/issues/browse/OFFICE-2018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eike Rathke updated OFFICE-2018: -------------------------------- Resolution: Changed Semantics to: The result is 1 if Total = 0 and Chosen = 0, otherwise the result is Total^Chosen. was: Summary: Returns the number of permutations for a given number of objects (repetition allowed). Syntax: PERMUTATIONA( Integer total ; Integer chosen ) Returns: Number Constraints: total >= 0, chosen >= 0 Semantics: PERMUTATIONA = 0 if total = 0 and chosen = 0. It is total^chosen otherwise Since Chosen is the number of objects selected from the Total number of objects, I fail to see how the constraint 0 <= Chosen <= Total should not apply and be Chosen >= 0 instead. > PERMUTATIONA specification > -------------------------- > > Key: OFFICE-2018 > URL: http://tools.oasis-open.org/issues/browse/OFFICE-2018 > Project: OASIS Open Document Format for Office Applications (OpenDocument) TC > Issue Type: Bug > Components: OpenFormula > Affects Versions: ODF 1.2 > Reporter: Andreas Guelzow > Assignee: Andreas Guelzow > Fix For: ODF 1.2 > > > We currently have: > --------------------------------------------------------------------------------------- > Summary: Returns the number of permutations for a given number of objects (repetition allowed). > Syntax: PERMUTATIONA( Integer total ; Integer chosen ) > Returns: Number > Constraints: total >= 0, 0 <= chosen <= total > Semantics: Given total number of objects, return the number of permutations containing chosen > number of objects, with repetition permitted. > PERMUTATIONA = Total^Chosen > --------------------------------------------------------------------------------------- > It is not clear what PERMUTAIONA(0,0) should be since 0^0 is undefined. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]