Class CentralMoment


  • public class CentralMoment
    extends Lop
    Lop to perform cross product operation
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Lop
        Method to have Lops print their state. This is for debugging purposes.
        Specified by:
        toString in class Lop
      • getInstructions

        public String getInstructions​(String input1,
                                      String input2,
                                      String input3,
                                      String output)
        Function to generate CP centralMoment instruction for weighted operation. input1: data input2: weights input3: order
        Overrides:
        getInstructions in class Lop
        Parameters:
        input1 - input 1
        input2 - input 2
        input3 - input 3
        output - output
        Returns:
        instructions as string
      • getInstructions

        public String getInstructions​(String input1,
                                      String input2,
                                      String output)
        Function to generate CP centralMoment instruction for unweighted operation. input1: data input2: order (not used, and order is derived internally!)
        Overrides:
        getInstructions in class Lop
        Parameters:
        input1 - input 1
        input2 - input 2
        output - output
        Returns:
        instructions as string