def METHOD_NAME():
    matrix = np.array(
        [[[1, 2, 3], [7, 8, 9], [4, 5, 6]], [[-1, 3, -2], [0, 9, -5], [7, 7, -4]]]
    )
    trans = linear_transforms(dims=['lin'], values=matrix)
    sc.testing.assert_identical(
        trans.fields.xx, sc.array(dims=['lin'], values=[1.0, -1.0])
    )
    sc.testing.assert_identical(
        trans.fields.xy, sc.array(dims=['lin'], values=[2.0, 3.0])
    )
    sc.testing.assert_identical(
        trans.fields.xz, sc.array(dims=['lin'], values=[3.0, -2.0])
    )
    sc.testing.assert_identical(
        trans.fields.yx, sc.array(dims=['lin'], values=[7.0, 0.0])
    )
    sc.testing.assert_identical(
        trans.fields.yy, sc.array(dims=['lin'], values=[8.0, 9.0])
    )
    sc.testing.assert_identical(
        trans.fields.yz, sc.array(dims=['lin'], values=[9.0, -5.0])
    )
    sc.testing.assert_identical(
        trans.fields.zx, sc.array(dims=['lin'], values=[4.0, 7.0])
    )
    sc.testing.assert_identical(
        trans.fields.zy, sc.array(dims=['lin'], values=[5.0, 7.0])
    )
    sc.testing.assert_identical(
        trans.fields.zz, sc.array(dims=['lin'], values=[6.0, -4.0])
    )