edu.emory.mathcs.csparsej.tdouble
Class Dcs_reach
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tdouble.Dcs_reach
-
public class Dcs_reach extends java.lang.ObjectFind nonzero pattern of x=L\b for sparse L and b.
-
-
Constructor Summary
Constructors Constructor and Description Dcs_reach()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static intcs_reach(Dcs_common.Dcs G, Dcs_common.Dcs B, int k, int[] xi, int[] pinv)Finds a nonzero pattern of x=L\b for sparse L and b.
-
-
-
Method Detail
-
cs_reach
public static int cs_reach(Dcs_common.Dcs G, Dcs_common.Dcs B, int k, int[] xi, int[] pinv)
Finds a nonzero pattern of x=L\b for sparse L and b.- Parameters:
G- graph to search (G.p modified, then restored)B- right hand side, b = B(:,k)k- use kth column of Bxi- size 2*n, output in xi[top..n-1]pinv- mapping of rows to columns of G, ignored if null- Returns:
- top, -1 on error
-
-
DMelt 3.0 © DataMelt by jWork.ORG