for-matrix macro
add decomposition API functions
doc fixes
add qr decomposition