Description
Split six bottom-to-top binary lines into lower and upper three-bit trigram codes.
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.
Split six bottom-to-top binary lines into lower and upper three-bit trigram codes.
When to use this tool
Use Yijing Hexagram Trigram Splitter 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 bottom-to-top lines. Encode the first three as lowerCode and the last three as upperCode, using the first bit in each group as that trigram's least significant bit. Return codes 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": [
1,
0,
0,
0,
1,
0
]
},
"output": {
"result": {
"lowerCode": 1,
"upperCode": 2
}
}
} Limitations and assumptions
- Codes run from zero through seven under this explicit binary convention. They are not inferred traditional ordering labels, names, or an interpretation of the figure.
- 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 Upper and Lower Trigram Composer
Compose code=lowerCode+8*upperCode from integer trigram codes zero through seven.
- Yijing Hexagram Binary Encoder and Decoder
Encode six bottom-to-top binary lines as the sum of line[j]*2^j.