def get_matrix_as_list(matrix):
    """
    Retu9rns the given mamtrix as list of components
    :param matrix: OpenMaya.MMatrix
    :return: list(float)
    """

    return [
        matrix(0, 0), matrix(0, 1), matrix(0, 2), matrix(0, 3),
        matrix(1, 0), matrix(1, 1), matrix(1, 2), matrix(1, 3),
        matrix(2, 0), matrix(2, 1), matrix(2, 2), matrix(2, 3),
        matrix(3, 0), matrix(3, 1), matrix(3, 2), matrix(3, 3)
    ]