Skip to main content

prt_compute_both

Function prt_compute_both 

Source
pub fn prt_compute_both(c: &[u8], c_star: &[u8]) -> (Vec<u8>, Vec<u8>)
Expand description

PRT: Pairwise Reverse Transform (C-plane → U-plane)

Computes both U and U* from C and C*:

[U ]   [1  γ] [C ]
[U*] = [γ  1] [C*]

§Arguments

  • c - C values (primary)
  • c_star - C* values (companion)

§Returns

Tuple of (U, U*) vectors