Documentation of 'edu.emory.mathcs.csparsej.tdouble.Dcs_pinv' Java class
Dcs_pinv
edu.emory.mathcs.csparsej.tdouble

Class Dcs_pinv



  • public class Dcs_pinv
    extends java.lang.Object
    Invert a permutation vector.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Dcs_pinv() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int[] cs_pinv(int[] p, int n)
      Inverts a permutation vector.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Dcs_pinv

        public Dcs_pinv()
    • Method Detail

      • cs_pinv

        public static int[] cs_pinv(int[] p,
                                    int n)
        Inverts a permutation vector. Returns pinv[i] = k if p[k] = i on input.
        Parameters:
        p - a permutation vector if length n
        n - length of p
        Returns:
        pinv, null on error

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.