Hello,

I am simply interested in obtaining a vector with x_i = \sum_j | A_{i, j} | for 
each row ā€œiā€ in the matrix A. I found MatGetColumnNorms(), but no row version. 
I am wondering if it is more efficient to calculate the transpose A^T and then 
MatGetColumnNorms() or maybe iterate through each row with MatGetRow() and 
calculate \sum_j | A_{i, j} | by hand by myself.

Thanks
Miguel

Miguel A. Salazar de Troya
Postdoctoral Researcher, Lawrence Livermore National Laboratory
B141
Rm: 1085-5
Ph: 1(925) 422-6411

Reply via email to