def linsrgb_to_srgb(linsrgb):
    """Convert physically linear RGB values into sRGB ones. The transform is
    uniform in the components, so *linsrgb* can be of any shape.

    *linsrgb* values should range between 0 and 1, inclusively.

    """
    gamma = 1.055 * linsrgb ** (1.0 / 2.4) - 0.055
    scale = linsrgb * 12.92
    if linsrgb > 0.0031308:
        return gamma
    return scale
