pub struct SetRelationAnalysis {Show 13 fields
pub source_class: SetClass,
pub target_class: SetClass,
pub inclusion: SetInclusion,
pub common_tones: PitchClassMask,
pub transpositions: Vec<u8>,
pub inversion_indices: Vec<u8>,
pub transposition_equivalent: bool,
pub transposition_inversion_equivalent: bool,
pub exact_complement: bool,
pub complement_equivalent: bool,
pub z_related: bool,
pub source_interval_vector: IntervalVector,
pub target_interval_vector: IntervalVector,
}Expand description
Reproducible set-theory evidence relating two pitch-class masks.
Operator lists describe exact mask-to-mask transformations. Equivalence booleans are instead derived from the conventional phase-08 canonical forms, so callers never need to compare display labels or numeric normalization.
Fields§
§source_class: SetClassSource set class under transposition-and-inversion equivalence.
target_class: SetClassTarget set class under transposition-and-inversion equivalence.
inclusion: SetInclusionExact inclusion relation between the source and target masks.
common_tones: PitchClassMaskPitch classes present in both masks.
transpositions: Vec<u8>Transposition amounts Tn that map the source mask exactly to the target.
inversion_indices: Vec<u8>Conventional inversion indices TnI mapping source exactly to target.
transposition_equivalent: boolWhether conventional transposition-only prime forms agree.
transposition_inversion_equivalent: boolWhether conventional transposition-and-inversion prime forms agree.
exact_complement: boolWhether the target is the source’s exact aggregate complement.
complement_equivalent: boolWhether the target is Tn/TnI-equivalent to the source’s complement.
Whether the masks have equal interval vectors but distinct Tn/TnI forms.
source_interval_vector: IntervalVectorSource interval-class census.
target_interval_vector: IntervalVectorTarget interval-class census.
Trait Implementations§
Source§impl Clone for SetRelationAnalysis
impl Clone for SetRelationAnalysis
Source§fn clone(&self) -> SetRelationAnalysis
fn clone(&self) -> SetRelationAnalysis
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more