Transform to the triangular distribution

transform_triangular(mu, sigma, eta)

Arguments

mu

A value for the mean of the distribution

sigma

A value for the standard deviation of the distribution

eta

A numeric standard uniform vector