add linear algebra function declaration