Increment given array (starting at offset index) with contents of this DoubleSeq, multiplied by factor f.
Increment given array (starting at offset index) with contents of this DoubleSeq, multiplied by factor f.
Append a string representation of this DoubleSeq to the StringBuilder.
Append a string representation of this DoubleSeq to the StringBuilder.
Return the values as an Array[Double].
Return the values as an Array[Double]. Not guaranteed to be a copy; in fact if it is possible to return a pointer to an internal array, it will simply return this.
With uncopied contents
With uncopied contents
Assumes that the values are already normalized to sum to 1.
Assumes that the values are already normalized to sum to 1.
Assumes that the values are already normalized to sum to 1.
Assumes that the values are already normalized to sum to 1.
Assumes that the values in both DoubleSeq are already normalized to sum to 1.
Assumes that the values in both DoubleSeq are already normalized to sum to 1.
Careful, for many subclasses this is inefficient because it calls the method "sum" to get the normalizer.
Careful, for many subclasses this is inefficient because it calls the method "sum" to get the normalizer.
Return the values as an Array[Double].
Return the values as an Array[Double]. Guaranteed to be a copy, not just a pointer to an internal array that would change with changes to the DoubleSeq
With copied contents
With copied contents
Return records for the n elements with the largest values.
Return records for the n elements with the largest values.