• Custom User Avatar

    Why reinvent the wheel? I saw no point in trying to roll my own XML parser here.

  • Custom User Avatar

    They want the population variance (divide by n). The larger number is the sample variance, corresponding to a denominator of n - 1.

  • Custom User Avatar

    No need to order the start and end of the sequence. For example, 1:3 yields 1, 2, 3 whilst 3:1 returns 3, 2, 1. Both vectors have the same sum!