Class CmCovObject

java.lang.Object
org.apache.sysds.runtime.instructions.cp.Data
org.apache.sysds.runtime.instructions.cp.CmCovObject
All Implemented Interfaces:
Serializable

public class CmCovObject extends Data
See Also:
  • Field Details

  • Constructor Details

    • CmCovObject

      public CmCovObject()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • reset

      public void reset()
    • compareTo

      public int compareTo(CmCovObject that)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • set

      public void set(CmCovObject that)
    • isCMAllZeros

      public boolean isCMAllZeros()
    • isCOVAllZeros

      public boolean isCOVAllZeros()
    • getRequiredResult

      public double getRequiredResult(Operator op)
      Return the result of the aggregated operation given the operator.
      Parameters:
      op - operator
      Returns:
      result of the aggregated operation for the given operator
    • getRequiredResult

      public double getRequiredResult(CMOperator.AggregateOperationTypes agg)
      Return the result of the aggregated operation given the operation type.
      Parameters:
      agg - aggregate operation type
      Returns:
      result of the aggregated operation given the operation type
    • getRequiredPartialResult

      public double getRequiredPartialResult(Operator op)
    • getWeight

      public double getWeight()
    • getDebugName

      public String getDebugName()
      Specified by:
      getDebugName in class Data