matrix number and size