Alternative linear structures for classical and quantum systems