Source code for issm.PythonFuncs
import numpy as np
[docs]def logical_and_n(*arg):
if len(arg):
result=arg[0]
for item in arg[1:]:
result=logical_and(result,item)
return result
else:
return None
[docs]def logical_or_n(*arg):
if len(arg):
result=arg[0]
for item in arg[1:]:
result=logical_or(result,item)
return result
else:
return None