add some methods to LinearData

add some methods to LinearData