code: public static int cusolverRfGetMatrixFormat(
          cusolverRfHandle handle, 
          int[] format, 
          int[] diag)
      {
          return checkResult(cusolverRfGetMatrixFormatNative(handle, format, diag));
      }
docs: CUSOLVERRF set and get input format