Class SparseOperator


  • class SparseOperator
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SparseOperator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void axpy​(double a, Feature[] x, double[] y)  
      (package private) static double dot​(double[] s, Feature[] x)  
      (package private) static double nrm2_sq​(Feature[] x)  
      (package private) static double sparse_dot​(Feature[] x1, Feature[] x2)  
      • Methods inherited from class java.lang.Object

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

      • SparseOperator

        SparseOperator()
    • Method Detail

      • nrm2_sq

        static double nrm2_sq​(Feature[] x)
      • dot

        static double dot​(double[] s,
                          Feature[] x)
      • sparse_dot

        static double sparse_dot​(Feature[] x1,
                                 Feature[] x2)
      • axpy

        static void axpy​(double a,
                         Feature[] x,
                         double[] y)