made isTranspose const