Function triangular

Source
pub fn triangular<F>(n: F, size: F) -> F
where F: Float,