Module ojalgo

Class ReciprocalPair


  • public final class ReciprocalPair
    extends java.lang.Object
    A simple container for a pair of double (R064) arrays, one holding values and the other their reciprocal.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double[] inverse  
      double[] values  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReciprocalPair​(int length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void fill​(double value)  
      void invert()  
      • Methods inherited from class java.lang.Object

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

      • inverse

        public final double[] inverse
      • values

        public final double[] values
    • Constructor Detail

      • ReciprocalPair

        public ReciprocalPair​(int length)
    • Method Detail

      • fill

        public void fill​(double value)
      • invert

        public void invert()