Description
Complement six binary line values and encode the resulting figure with its bottom line as the least significant bit.
These tools represent a six-line figure as six binary values ordered from bottom to top, with yin represented by zero and yang by one. Three adjacent lines form a trigram. Binary encoding, line reversal, and changing selected lines are separate operations under this explicit representation.
Complement six binary line values and encode the resulting figure with its bottom line as the least significant bit.
When to use this tool
Use Yijing Complementary Hexagram Calculator when you need a reproducible binary line transformation with an inspectable output figure.
How to use the tool and how it works
- Enter lines. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read result. Expand result to inspect the returned fields.
Require six binary lines, replace each by one minus itself, and encode the complemented figure with the bottom line as least significant bit. Return complementaryLines and binaryCode inside result.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| lines | Lines | Required. Array of Finite number.. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| result | Result | Required. Object. |
{
"input": {
"lines": [
0,
0,
0,
0,
0,
0
]
},
"output": {
"result": {
"complementaryLines": [
1,
1,
1,
1,
1,
1
],
"binaryCode": 63
}
}
} Limitations and assumptions
- Complementing changes line values without reversing their positions. The binary code is an identity under the tool's convention rather than a name, prediction, or traditional sequence lookup.
- Outputs are nested inside result. The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
Alternative or Complementary methods
Keep one explicit line-order and binary convention throughout. Use a separate attributed text or scholarly source when the task requires a figure name or interpretation.
References
Similar or alternative tools
- Yijing Reversed Hexagram Calculator
Reverse six bottom-to-top binary lines and report whether the figure is unchanged by reversal.
- Yijing Changing-Line Transformation Calculator
Flip explicit unique bottom-counted line positions and return the original and resulting binary figures.