GO:0016615: malate dehydrogenase activity
Catalysis of the reversible conversion of pyruvate or oxaloacetate to malate.