Class FVecArrayImpl.FVecDoubleArrayImpl

  • All Implemented Interfaces:
    FVec, java.io.Serializable
    Enclosing class:
    FVecArrayImpl

    static class FVecArrayImpl.FVecDoubleArrayImpl
    extends java.lang.Object
    implements FVec
    • Nested Class Summary

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean treatsZeroAsNA  
      private double[] values  
    • Constructor Summary

      Constructors 
      Constructor Description
      FVecDoubleArrayImpl​(double[] values, boolean treatsZeroAsNA)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float fvalue​(int index)
      Gets index-th value.
      • Methods inherited from class java.lang.Object

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

      • values

        private final double[] values
      • treatsZeroAsNA

        private final boolean treatsZeroAsNA
    • Constructor Detail

      • FVecDoubleArrayImpl

        FVecDoubleArrayImpl​(double[] values,
                            boolean treatsZeroAsNA)
    • Method Detail

      • fvalue

        public float fvalue​(int index)
        Description copied from interface: FVec
        Gets index-th value.
        Specified by:
        fvalue in interface FVec
        Parameters:
        index - index
        Returns:
        value