Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 436 Bytes

File metadata and controls

28 lines (20 loc) · 436 Bytes

You are given a 2-D array of size NxN. Your task is to find:

  1. The mean along axis

  2. The var along axis

  3. The std along axis

Input Format

The first line contains the space separated values of N and M . The next N lines contains M space separated integers.

Output Format

First, print the mean. Second, print the var. Third, print the std.

Sample Input 2 2 1 2 3 4

Sample Output [ 1.5 3.5] [ 1. 1.] 1.11803398875