Based on a table called test
col1 number
col2 number

Example would be

create index example
on test(col1*col2);

Regards