tilus.ir.layout.divide

Contents

tilus.ir.layout.divide

tilus.ir.layout.divide(lhs, rhs)[source]

Divide two layouts.

Given two layouts lhs and rhs, the divide function will return a new layout result, such that:

lhs = compose(result, rhs)

If no such layout exists, the function will raise a LayoutOperationFailed exception.

Parameters:
Returns:

ret – The result layout.

Return type:

RegisterLayout