New to mathematica and also not entirely sure how to phrase my questions but basically I have a function I'm trying to write where several inputs will return the same value. For example,
function[ax, ax] = output1 function[ax, ay] = output1 function[ax, az] = output1 ... function[az, az] = output1
Is there a way to write this along the lines of:
function[ax||ay||az, ax||ay||az] = output1
instead of having to list all the possibilities out?
I tried this and it didn't seem to work so I was wondering if I'm missing something.