Hi, To allocate space for matrix I can specify the exact number of non-zero elements for diagonal and off diagonal or just specify a maximal number for each row. Do they have the same performance? Thanks. Yixun