|   | 1 |  initial version  | 
You should first define a callable symbolic expression containing 2*h0:
f(r) = 2*h0
and then call
A.apply_map(lambda x: x.substitute_function(function('h'), f))
Then A[:] yields
[2*h0(r)       0]
[      0       0]
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.