Function scale_bias

Source
pub fn scale_bias<T>(
    m: &Matrix<T, Const<4>, Const<4>, ArrayStorage<T, 4, 4>>,
    scale: T,
    bias: T,
) -> Matrix<T, Const<4>, Const<4>, ArrayStorage<T, 4, 4>>
where T: Number,
Expand description

Builds a scale-bias matrix, and right-multiply it to m.