[][src]Function bulletproofs::range_proof::delta

fn delta(n: usize, m: usize, y: &Scalar, z: &Scalar) -> Scalar

Compute \[ \delta(y,z) = (z - z^{2}) \langle \mathbf{1}, {\mathbf{y}}^{n \cdot m} \rangle - \sum_{j=0}^{m-1} z^{j+3} \cdot \langle \mathbf{1}, {\mathbf{2}}^{n \cdot m} \rangle \]