0

suppose I have a few lists
b_wi=[[1,2,3,4],[6,7,8,9,10,11]] #b_wi is a subset of x
f_wi=[[5,4,2,7,9],[5,4,3,7,2,3,4]]
x=[[1,2,3,4,5,6,7,8,9,2,5,3],[1,24,36,42,35,6,7,8,91,2,5,3]]
#the following two are step functions formed by the above lists.
'''
F1 = f_wi[0][0] if x< b_wi[0][0] ;
f_wi[0][...