edu.emory.mathcs.csparsej.tfloat
Class Scs_pvec
- java.lang.Object
-
- edu.emory.mathcs.csparsej.tfloat.Scs_pvec
-
public class Scs_pvec extends java.lang.ObjectPermutes a vector, x=P*b.
-
-
Constructor Summary
Constructors Constructor and Description Scs_pvec()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static booleancs_pvec(int[] p, float[] b, float[] 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, float[] b, float[] 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