Library/ManagedCuda/CudaSolve/Refactorization.cs
/// <summary>
/// The user can query which matrix failed LU refactorization by checking
/// corresponding value in position array. The input parameter position is an integer array of size batchSize.
/// </summary>
/// <param name="position">integer array of size batchSize. The value of position(j) reports singularity
/// of matrix Aj, -1 if no structural / numerical zero, k &gt;= 0 if Aj(k,k) is either structural zero or numerical zero.</param>
The user can query which matrix failed LU refactorization by checking
corresponding value in position array. The input parameter position is an integer array of size batchSize.
The user can query which matrix failed LU refactorization by checking corresponding value in position array . The input parameter position is an integer array of size batchSize .
public void BatchZeroPivot(int[] position)
		{
			res = CudaSolveNativeMethods.Refactorization.cusolverRfBatchZeroPivot(_handle, position);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cusolverRfBatchZeroPivot", res));
			if (res != cusolverStatus.Success) throw new CudaSolveException(res);
		}
public void BatchZeroPivot ( int [ ] position ) { res = CudaSolveNativeMethods . Refactorization . cusolverRfBatchZeroPivot ( _handle , position ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cusolverStatus . Success ) throw new CudaSolveException ( res ) ; }
The user can query which matrix failed LU refactorization by checking
corresponding value in position array.
The user can query which matrix failed LU refactorization by checking corresponding value in position array .
position
int[]
integer array of size batchSize. The value of position(j) reports singularity
of matrix Aj, -1 if no structural / numerical zero, k >= 0 if Aj(k,k) is either structural zero or numerical zero.
integer array of size batchSize . The value of position ( j ) reports singularity of matrix Aj - 1 if no structural / numerical zero k > = 0 if Aj ( k k ) is either structural zero or numerical zero .