From 14fc3be8d95da244daa1fa12d519ceee8fb97eae Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Tue, 8 Aug 2017 18:55:55 +0530 Subject: Added Sind and Tand --- src/c/statisticsFunctions/moment/dmoments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/c/statisticsFunctions/moment/dmoments.c') diff --git a/src/c/statisticsFunctions/moment/dmoments.c b/src/c/statisticsFunctions/moment/dmoments.c index b9d8564a..779ffa0f 100644 --- a/src/c/statisticsFunctions/moment/dmoments.c +++ b/src/c/statisticsFunctions/moment/dmoments.c @@ -8,7 +8,7 @@ double dmoments (double* inp, int size, double ord) { double sum = 0; - for(int i = 0; i < size; i++) + for(int i = 0; i < size; i++) // Elements are raised to the order and then their mean is calculated to give moment { sum = sum + pow(inp[i], ord); } -- cgit