Ordenate and remove duplicate cases of an array passed as a c function argument


Joined
Sep 27, 2022
Messages
1
Reaction score
0
These are the arguments of a c function that I have to manipulate. I want to ordenate the array pointed by *response, and after it, remove its duplicated elements.

Code:
double getCustomSplitStatisticMultivariateRegression (unsigned int n,
                                                      char *membership,
double *time,
double *event,

unsigned int eventTypeSize,
unsigned int eventTimeSize,
double *eventTime,

double *response,
double mean,
double variance,
unsigned int maxLevel,

double **feature,
unsigned int featureCount)
    {



Do you have any idea how to proceed?
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top