edu.emory.mathcs.csparsej.tdouble
Class Dcs_pvec
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tdouble.Dcs_pvec
-
public class Dcs_pvec extends java.lang.ObjectPermutes a vector, x=P*b.
-
-
Constructor Summary
Constructors Constructor and Description Dcs_pvec()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleancs_pvec(int[] p, double[] b, double[] x, int n)Permutes a vector, x=P*b, for dense vectors x and b.
-
-
-
Method Detail
-
cs_pvec
public static boolean cs_pvec(int[] p, double[] b, double[] x, int n)Permutes a vector, x=P*b, for dense vectors x and b.- Parameters:
p- permutation vector, p=null denotes identityb- input vectorx- output vector, x=P*bn- length of p, b and x- Returns:
- true if successful, false otherwise
-
-
DMelt 3.0 © DataMelt by jWork.ORG