Package 

Class F64Array.Viewer

    • Constructor Summary

      Constructors 
      Constructor Description
      Viewer(F64Array a)
    • Method Summary

      Modifier and Type Method Description
      final F64Array get(Integer indices) Returns a subarray with several first indices specified.
      final F64Array get(_I any, Integer c) Returns a subarray with index 1 specified to c.
      final Unit set(Integer indices, F64Array other) Replaces a subarray with several first indices specified with the values from other.
      final Unit set(Integer indices, Double init) Fills a subarray with several first indices specified with init value.
      final Unit set(_I any, F64Array other) Replaces the whole array with the values from other.
      final Unit set(_I any, Double other) Replaces the whole array with other value.
      final Unit set(_I any, Integer c, F64Array other) Replaces a subarray with index 1 specified to c with the values from other.
      final Unit set(_I any, Integer c, Double init) Replaces a subarray with index 1 specified to c with the init value.
      • Methods inherited from class org.jetbrains.bio.viktor.F64Array.Viewer

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • get

         final F64Array get(Integer indices)

        Returns a subarray with several first indices specified.

        A less-verbose alias to view and chained view calls: a.Vi0, i1, i2 == a.view(i0).view(i1).view(i2)

        For an appropriately sized moreIndicesIntArray, the following invariant holds: aindices + moreIndices == a.VmoreIndices

        It should be noted that the former invocation is generally much more efficient.

        Viewer method.

      • get

         final F64Array get(_I any, Integer c)

        Returns a subarray with index 1 specified to c.

        A less-verbose alias to view: a.V_I, c == a.view(c, 1)

        Viewer method.

      • set

         final Unit set(Integer indices, F64Array other)

        Replaces a subarray with several first indices specified with the values from other.

        After we call: a.Vindices = other the following holds for an appropriately sized moreIndicesIntArray: aindices + moreIndices == othermoreIndices

        In-place method for this and copying method for other.

      • set

         final Unit set(Integer indices, Double init)

        Fills a subarray with several first indices specified with init value.

        After we call: a.Vindices = init the following holds for any appropriately sized moreIndicesIntArray: aindices + moreIndices == init

        In-place method.

      • set

         final Unit set(_I any, F64Array other)

        Replaces the whole array with the values from other.

        A less-verbose alias to copyTo.

        In-place method for this and copying method for other.

      • set

         final Unit set(_I any, Double other)

        Replaces the whole array with other value.

        A less-verbose alias to fill.

        In-place method.

      • set

         final Unit set(_I any, Integer c, F64Array other)

        Replaces a subarray with index 1 specified to c with the values from other.

        A less-verbose alias to view: a.V_I, c == a.view(c, 1)

        In-place method for this and copying method for other.

      • set

         final Unit set(_I any, Integer c, Double init)

        Replaces a subarray with index 1 specified to c with the init value.

        In-place method.