Analysis.IsParityFunction
Back to table
/*
Logic-Function-Analysis
Analysis.IsParityFunction
[bool result]=Analysis.IsParityFunction(LogicFunction f);
f : a logic function
result : true | false
Check whether $f$ is a parity function.
*/
//-------------------------------------------------------------------
// examples
[f]=AndXor()
{
1;2;3;
}
[h]=AndXor()
{
ONE;1;2;3;
}
[g]=Analysis.IsParityFunction(f);
Print("IsParityFunction?", g);
[g]=Analysis.IsParityFunction(h);
Print("IsParityFunction?", g);
//-------------------------------------------------------------------
// result
MatchLogicFunction Analysis IsBiUnateFunction IsCovering IsInverse AndOr MaxValue BCD OneComplement ToAndXor ToDiagram ToShannonTree DiagramGateName DigitalSystem Count LogicScript Nor PositiveDecimalToMantissa RadixFromIndex OrAnd AutoAssignInputAndStateVariables Backwardly Forwardly OutputAndStateBasedly Balanced StateDeviceName string() Utility AdjustLogicVariableCount Zero
The website is simply translated by using the Google Translate. Please inform us if you find the wrong/funny/weird translation.