def METHOD_NAME(variant_scalar_rgb):
    fwd = lambda v: mi.warp.square_to_beckmann(v, 0.3)
    pdf = lambda v: mi.warp.square_to_beckmann_pdf(v, 0.3)
    inv = lambda v: mi.warp.beckmann_to_square(v, 0.3)
    check_inverse(fwd, inv)
    wrapper = lambda f: lambda x: f(x, 0.3)
    check_warp_vectorization("square_to_beckmann", wrapper, atol=1e-5)