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?
 

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

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,534
Members
45,008
Latest member
Rahul737

Latest Threads

Top