numpy api

Mean

mean

The average value


/apitalk/numpy/Mean/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/Mean/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MeanApi;

import java.io.File;
import java.util.*;

public class MeanApiExample {

    public static void main(String[] args) {
        
        MeanApi apiInstance = new MeanApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            Mean_response result = apiInstance.mean(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MeanApi#mean");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MeanApi;

public class MeanApiExample {

    public static void main(String[] args) {
        MeanApi apiInstance = new MeanApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            Mean_response result = apiInstance.mean(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MeanApi#mean");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *list = list_example; // send your List like this   23,312,23,5,6,7,3 

MeanApi *apiInstance = [[MeanApi alloc] init];

// 
[apiInstance meanWith:apiecoKey
    list:list
              completionHandler: ^(Mean_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.MeanApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var list = list_example; // {String} send your List like this   23,312,23,5,6,7,3 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.mean(apiecoKey, list, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class meanExample
    {
        public void main()
        {
            
            var apiInstance = new MeanApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var list = list_example;  // String | send your List like this   23,312,23,5,6,7,3 

            try
            {
                // 
                Mean_response result = apiInstance.mean(apiecoKey, list);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MeanApi.mean: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MeanApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$list = list_example; // String | send your List like this   23,312,23,5,6,7,3 

try {
    $result = $api_instance->mean($apiecoKey, $list);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MeanApi->mean: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MeanApi;

my $api_instance = WWW::SwaggerClient::MeanApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $list = list_example; # String | send your List like this   23,312,23,5,6,7,3 

eval { 
    my $result = $api_instance->mean(apiecoKey => $apiecoKey, list => $list);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MeanApi->mean: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MeanApi()
apiecoKey = apiecoKey_example # String | apikey for use API
list = list_example # String | send your List like this   23,312,23,5,6,7,3 

try: 
    # 
    api_response = api_instance.mean(apiecoKey, list)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MeanApi->mean: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
List*
String
send your List like this 23,312,23,5,6,7,3
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


Median

median

The mid point value


/apitalk/numpy/median/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/median/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.MedianApi;

import java.io.File;
import java.util.*;

public class MedianApiExample {

    public static void main(String[] args) {
        
        MedianApi apiInstance = new MedianApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            median_response result = apiInstance.median(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MedianApi#median");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.MedianApi;

public class MedianApiExample {

    public static void main(String[] args) {
        MedianApi apiInstance = new MedianApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            median_response result = apiInstance.median(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling MedianApi#median");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *list = list_example; // send your List like this   23,312,23,5,6,7,3 

MedianApi *apiInstance = [[MedianApi alloc] init];

// 
[apiInstance medianWith:apiecoKey
    list:list
              completionHandler: ^(median_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.MedianApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var list = list_example; // {String} send your List like this   23,312,23,5,6,7,3 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.median(apiecoKey, list, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class medianExample
    {
        public void main()
        {
            
            var apiInstance = new MedianApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var list = list_example;  // String | send your List like this   23,312,23,5,6,7,3 

            try
            {
                // 
                median_response result = apiInstance.median(apiecoKey, list);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling MedianApi.median: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\MedianApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$list = list_example; // String | send your List like this   23,312,23,5,6,7,3 

try {
    $result = $api_instance->median($apiecoKey, $list);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling MedianApi->median: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::MedianApi;

my $api_instance = WWW::SwaggerClient::MedianApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $list = list_example; # String | send your List like this   23,312,23,5,6,7,3 

eval { 
    my $result = $api_instance->median(apiecoKey => $apiecoKey, list => $list);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling MedianApi->median: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.MedianApi()
apiecoKey = apiecoKey_example # String | apikey for use API
list = list_example # String | send your List like this   23,312,23,5,6,7,3 

try: 
    # 
    api_response = api_instance.median(apiecoKey, list)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling MedianApi->median: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
List*
String
send your List like this 23,312,23,5,6,7,3
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


Percentile

percentile

Percentiles are used in statistics to give you a number that describes the value that a given percent of the values are lower than. Example: Let's say we have an array of the ages of all the people that lives in a street. ages = [5,31,43,48,50,41,7,11,15,39,80,82,32,2,8,6,25,36,27,61,31] What is the 75. percentile? The answer is 43, meaning that 75% of the people are 43 or younger.


/apitalk/numpy/percentile/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/percentile/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.PercentileApi;

import java.io.File;
import java.util.*;

public class PercentileApiExample {

    public static void main(String[] args) {
        
        PercentileApi apiInstance = new PercentileApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        String percentile = percentile_example; // String | send your percentile like this 75 and that meaning that 75% 
        try {
            percentile_response result = apiInstance.percentile(apiecoKey, list, percentile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PercentileApi#percentile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.PercentileApi;

public class PercentileApiExample {

    public static void main(String[] args) {
        PercentileApi apiInstance = new PercentileApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        String percentile = percentile_example; // String | send your percentile like this 75 and that meaning that 75% 
        try {
            percentile_response result = apiInstance.percentile(apiecoKey, list, percentile);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling PercentileApi#percentile");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *list = list_example; // send your List like this   23,312,23,5,6,7,3 
String *percentile = percentile_example; // send your percentile like this 75 and that meaning that 75% 

PercentileApi *apiInstance = [[PercentileApi alloc] init];

// 
[apiInstance percentileWith:apiecoKey
    list:list
    percentile:percentile
              completionHandler: ^(percentile_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.PercentileApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var list = list_example; // {String} send your List like this   23,312,23,5,6,7,3 

var percentile = percentile_example; // {String} send your percentile like this 75 and that meaning that 75% 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.percentile(apiecoKey, list, percentile, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class percentileExample
    {
        public void main()
        {
            
            var apiInstance = new PercentileApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var list = list_example;  // String | send your List like this   23,312,23,5,6,7,3 
            var percentile = percentile_example;  // String | send your percentile like this 75 and that meaning that 75% 

            try
            {
                // 
                percentile_response result = apiInstance.percentile(apiecoKey, list, percentile);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling PercentileApi.percentile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\PercentileApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
$percentile = percentile_example; // String | send your percentile like this 75 and that meaning that 75% 

try {
    $result = $api_instance->percentile($apiecoKey, $list, $percentile);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling PercentileApi->percentile: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::PercentileApi;

my $api_instance = WWW::SwaggerClient::PercentileApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $list = list_example; # String | send your List like this   23,312,23,5,6,7,3 
my $percentile = percentile_example; # String | send your percentile like this 75 and that meaning that 75% 

eval { 
    my $result = $api_instance->percentile(apiecoKey => $apiecoKey, list => $list, percentile => $percentile);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling PercentileApi->percentile: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.PercentileApi()
apiecoKey = apiecoKey_example # String | apikey for use API
list = list_example # String | send your List like this   23,312,23,5,6,7,3 
percentile = percentile_example # String | send your percentile like this 75 and that meaning that 75% 

try: 
    # 
    api_response = api_instance.percentile(apiecoKey, list, percentile)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling PercentileApi->percentile: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
List*
String
send your List like this 23,312,23,5,6,7,3
Required
percentile*
String
send your percentile like this 75 and that meaning that 75%
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


RandomNormal

randomNormal

In the previous chapter we learned how to create a completely random array, of a given size, and between two given values. In this chapter we will learn how to create an array where the values are concentrated around a given value. In probability theory this kind of data distribution is known as the normal data distribution, or the Gaussian data distribution, after the mathematician Carl Friedrich Gauss who came up with the formula of this data distribution.


/apitalk/numpy/random_normal/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/random_normal/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RandomNormalApi;

import java.io.File;
import java.util.*;

public class RandomNormalApiExample {

    public static void main(String[] args) {
        
        RandomNormalApi apiInstance = new RandomNormalApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer count = 56; // Integer | ارسال تعداد خروجی اعداد رندمی
        Integer start = 56; // Integer | شروع اعداد از این مقدار 
        String end = end_example; // String | تا این مقدار
        try {
            random_normal_response result = apiInstance.randomNormal(apiecoKey, count, start, end);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RandomNormalApi#randomNormal");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RandomNormalApi;

public class RandomNormalApiExample {

    public static void main(String[] args) {
        RandomNormalApi apiInstance = new RandomNormalApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer count = 56; // Integer | ارسال تعداد خروجی اعداد رندمی
        Integer start = 56; // Integer | شروع اعداد از این مقدار 
        String end = end_example; // String | تا این مقدار
        try {
            random_normal_response result = apiInstance.randomNormal(apiecoKey, count, start, end);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RandomNormalApi#randomNormal");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
Integer *count = 56; // ارسال تعداد خروجی اعداد رندمی
Integer *start = 56; // شروع اعداد از این مقدار 
String *end = end_example; // تا این مقدار

RandomNormalApi *apiInstance = [[RandomNormalApi alloc] init];

// 
[apiInstance randomNormalWith:apiecoKey
    count:count
    start:start
    end:end
              completionHandler: ^(random_normal_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.RandomNormalApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var count = 56; // {Integer} ارسال تعداد خروجی اعداد رندمی

var start = 56; // {Integer} شروع اعداد از این مقدار 

var end = end_example; // {String} تا این مقدار


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.randomNormal(apiecoKey, count, start, end, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class randomNormalExample
    {
        public void main()
        {
            
            var apiInstance = new RandomNormalApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var count = 56;  // Integer | ارسال تعداد خروجی اعداد رندمی
            var start = 56;  // Integer | شروع اعداد از این مقدار 
            var end = end_example;  // String | تا این مقدار

            try
            {
                // 
                random_normal_response result = apiInstance.randomNormal(apiecoKey, count, start, end);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RandomNormalApi.randomNormal: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RandomNormalApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$count = 56; // Integer | ارسال تعداد خروجی اعداد رندمی
$start = 56; // Integer | شروع اعداد از این مقدار 
$end = end_example; // String | تا این مقدار

try {
    $result = $api_instance->randomNormal($apiecoKey, $count, $start, $end);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RandomNormalApi->randomNormal: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RandomNormalApi;

my $api_instance = WWW::SwaggerClient::RandomNormalApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $count = 56; # Integer | ارسال تعداد خروجی اعداد رندمی
my $start = 56; # Integer | شروع اعداد از این مقدار 
my $end = end_example; # String | تا این مقدار

eval { 
    my $result = $api_instance->randomNormal(apiecoKey => $apiecoKey, count => $count, start => $start, end => $end);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RandomNormalApi->randomNormal: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.RandomNormalApi()
apiecoKey = apiecoKey_example # String | apikey for use API
count = 56 # Integer | ارسال تعداد خروجی اعداد رندمی
start = 56 # Integer | شروع اعداد از این مقدار 
end = end_example # String | تا این مقدار

try: 
    # 
    api_response = api_instance.random_normal(apiecoKey, count, start, end)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RandomNormalApi->randomNormal: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
count*
Integer
ارسال تعداد خروجی اعداد رندمی
Required
start*
Integer
شروع اعداد از این مقدار
Required
end*
String
تا این مقدار
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


RandomUniform

randomUniform

In the previous chapter we learned how to create a completely random array, of a given size, and between two given values. In this chapter we will learn how to create an array where the values are concentrated around a given value. In probability theory this kind of data distribution is known as the normal data distribution, or the Gaussian data distribution, after the mathematician Carl Friedrich Gauss who came up with the formula of this data distribution.


/apitalk/numpy/random_uniform/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/random_uniform/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RandomUniformApi;

import java.io.File;
import java.util.*;

public class RandomUniformApiExample {

    public static void main(String[] args) {
        
        RandomUniformApi apiInstance = new RandomUniformApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer count = 56; // Integer | ارسال تعداد خروجی اعداد رندمی
        Integer start = 56; // Integer | شروع اعداد از این مقدار 
        String end = end_example; // String | تا این مقدار
        try {
            random_uniform_response result = apiInstance.randomUniform(apiecoKey, count, start, end);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RandomUniformApi#randomUniform");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RandomUniformApi;

public class RandomUniformApiExample {

    public static void main(String[] args) {
        RandomUniformApi apiInstance = new RandomUniformApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        Integer count = 56; // Integer | ارسال تعداد خروجی اعداد رندمی
        Integer start = 56; // Integer | شروع اعداد از این مقدار 
        String end = end_example; // String | تا این مقدار
        try {
            random_uniform_response result = apiInstance.randomUniform(apiecoKey, count, start, end);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RandomUniformApi#randomUniform");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
Integer *count = 56; // ارسال تعداد خروجی اعداد رندمی
Integer *start = 56; // شروع اعداد از این مقدار 
String *end = end_example; // تا این مقدار

RandomUniformApi *apiInstance = [[RandomUniformApi alloc] init];

// 
[apiInstance randomUniformWith:apiecoKey
    count:count
    start:start
    end:end
              completionHandler: ^(random_uniform_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.RandomUniformApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var count = 56; // {Integer} ارسال تعداد خروجی اعداد رندمی

var start = 56; // {Integer} شروع اعداد از این مقدار 

var end = end_example; // {String} تا این مقدار


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.randomUniform(apiecoKey, count, start, end, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class randomUniformExample
    {
        public void main()
        {
            
            var apiInstance = new RandomUniformApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var count = 56;  // Integer | ارسال تعداد خروجی اعداد رندمی
            var start = 56;  // Integer | شروع اعداد از این مقدار 
            var end = end_example;  // String | تا این مقدار

            try
            {
                // 
                random_uniform_response result = apiInstance.randomUniform(apiecoKey, count, start, end);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RandomUniformApi.randomUniform: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\RandomUniformApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$count = 56; // Integer | ارسال تعداد خروجی اعداد رندمی
$start = 56; // Integer | شروع اعداد از این مقدار 
$end = end_example; // String | تا این مقدار

try {
    $result = $api_instance->randomUniform($apiecoKey, $count, $start, $end);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RandomUniformApi->randomUniform: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RandomUniformApi;

my $api_instance = WWW::SwaggerClient::RandomUniformApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $count = 56; # Integer | ارسال تعداد خروجی اعداد رندمی
my $start = 56; # Integer | شروع اعداد از این مقدار 
my $end = end_example; # String | تا این مقدار

eval { 
    my $result = $api_instance->randomUniform(apiecoKey => $apiecoKey, count => $count, start => $start, end => $end);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RandomUniformApi->randomUniform: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.RandomUniformApi()
apiecoKey = apiecoKey_example # String | apikey for use API
count = 56 # Integer | ارسال تعداد خروجی اعداد رندمی
start = 56 # Integer | شروع اعداد از این مقدار 
end = end_example # String | تا این مقدار

try: 
    # 
    api_response = api_instance.random_uniform(apiecoKey, count, start, end)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RandomUniformApi->randomUniform: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
count*
Integer
ارسال تعداد خروجی اعداد رندمی
Required
start*
Integer
شروع اعداد از این مقدار
Required
end*
String
تا این مقدار
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


Std

std

Standard deviation is a number that describes how spread out the values are. A low standard deviation means that most of the numbers are close to the mean (average) value. A high standard deviation means that the values are spread out over a wider range.


/apitalk/numpy/std/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/std/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.StdApi;

import java.io.File;
import java.util.*;

public class StdApiExample {

    public static void main(String[] args) {
        
        StdApi apiInstance = new StdApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            std_response result = apiInstance.std(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StdApi#std");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.StdApi;

public class StdApiExample {

    public static void main(String[] args) {
        StdApi apiInstance = new StdApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            std_response result = apiInstance.std(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling StdApi#std");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *list = list_example; // send your List like this   23,312,23,5,6,7,3 

StdApi *apiInstance = [[StdApi alloc] init];

// 
[apiInstance stdWith:apiecoKey
    list:list
              completionHandler: ^(std_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.StdApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var list = list_example; // {String} send your List like this   23,312,23,5,6,7,3 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.std(apiecoKey, list, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class stdExample
    {
        public void main()
        {
            
            var apiInstance = new StdApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var list = list_example;  // String | send your List like this   23,312,23,5,6,7,3 

            try
            {
                // 
                std_response result = apiInstance.std(apiecoKey, list);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling StdApi.std: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\StdApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$list = list_example; // String | send your List like this   23,312,23,5,6,7,3 

try {
    $result = $api_instance->std($apiecoKey, $list);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling StdApi->std: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::StdApi;

my $api_instance = WWW::SwaggerClient::StdApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $list = list_example; # String | send your List like this   23,312,23,5,6,7,3 

eval { 
    my $result = $api_instance->std(apiecoKey => $apiecoKey, list => $list);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling StdApi->std: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.StdApi()
apiecoKey = apiecoKey_example # String | apikey for use API
list = list_example # String | send your List like this   23,312,23,5,6,7,3 

try: 
    # 
    api_response = api_instance.std(apiecoKey, list)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling StdApi->std: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
List*
String
send your List like this 23,312,23,5,6,7,3
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error


Var

var

Variance is another number that indicates how spread out the values are. In fact, if you take the square root of the variance, you get the standard deviation! Or the other way around, if you multiply the standard deviation by itself, you get the variance!


/apitalk/numpy/Var/

Usage and SDK Samples

curl -X POST "https://api.apieco.ir/apitalk/numpy/Var/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.VarApi;

import java.io.File;
import java.util.*;

public class VarApiExample {

    public static void main(String[] args) {
        
        VarApi apiInstance = new VarApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            var_response result = apiInstance.var(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VarApi#var");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.VarApi;

public class VarApiExample {

    public static void main(String[] args) {
        VarApi apiInstance = new VarApi();
        String apiecoKey = apiecoKey_example; // String | apikey for use API
        String list = list_example; // String | send your List like this   23,312,23,5,6,7,3 
        try {
            var_response result = apiInstance.var(apiecoKey, list);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VarApi#var");
            e.printStackTrace();
        }
    }
}
String *apiecoKey = apiecoKey_example; // apikey for use API
String *list = list_example; // send your List like this   23,312,23,5,6,7,3 

VarApi *apiInstance = [[VarApi alloc] init];

// 
[apiInstance varWith:apiecoKey
    list:list
              completionHandler: ^(var_response output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var NumpyApi = require('numpy_api');

var api = new NumpyApi.VarApi()

var apiecoKey = apiecoKey_example; // {String} apikey for use API

var list = list_example; // {String} send your List like this   23,312,23,5,6,7,3 


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.var(apiecoKey, list, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class varExample
    {
        public void main()
        {
            
            var apiInstance = new VarApi();
            var apiecoKey = apiecoKey_example;  // String | apikey for use API
            var list = list_example;  // String | send your List like this   23,312,23,5,6,7,3 

            try
            {
                // 
                var_response result = apiInstance.var(apiecoKey, list);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VarApi.var: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\VarApi();
$apiecoKey = apiecoKey_example; // String | apikey for use API
$list = list_example; // String | send your List like this   23,312,23,5,6,7,3 

try {
    $result = $api_instance->var($apiecoKey, $list);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VarApi->var: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::VarApi;

my $api_instance = WWW::SwaggerClient::VarApi->new();
my $apiecoKey = apiecoKey_example; # String | apikey for use API
my $list = list_example; # String | send your List like this   23,312,23,5,6,7,3 

eval { 
    my $result = $api_instance->var(apiecoKey => $apiecoKey, list => $list);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling VarApi->var: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.VarApi()
apiecoKey = apiecoKey_example # String | apikey for use API
list = list_example # String | send your List like this   23,312,23,5,6,7,3 

try: 
    # 
    api_response = api_instance.var(apiecoKey, list)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling VarApi->var: %s\n" % e)

Parameters

Header parameters
Name Description
apieco-key*
String
apikey for use API
Required
Form parameters
Name Description
List*
String
send your List like this 23,312,23,5,6,7,3
Required

Responses

Status: 200 - This REST API return HTTP responses in JSON formats:

Status: 202 - Not Valid Url

Status: 400 - Bad Request

Status: 404 - Not Found

Status: 405 - Method Not Allowed

Status: 500 - Internal Server Error