photo

Sheet


Last seen: environ un mois il y a Actif depuis 2023

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2

Afficher les badges

Feeds

Afficher par

Question


How to check if a number is power of a prime number?
How to check if a number is power of a prime number? e.g. 9, 25, 27, 36 are powers of a prime number. Program should return log...

environ un mois il y a | 1 réponse | 0

0

réponse

Question


Generation of all possible vectors with constraints
Hi I want to create all possible vectors comprised of 0, 1 or/and -1 such that length of each vector is 7 and it contains exact...

environ 2 mois il y a | 1 réponse | 0

1

réponse

Question


Counting frequency of occurance of each element of one vector in the another vector
Suppose I have a vector x=[1 2 3 4 5] and y=[1 1 4 2 1 5 2 5 1 1]. I have to count frequency of occurance of each element of x i...

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Creating an array of partial sums of certain array
Suppose I have an initial array [a1 a2 a3 a4 a5]. Then I have to create an array = [a1, a2, a3, a4, a5, a1+a2, a2+a3, a3+a4,...

plus d'un an il y a | 2 réponses | 0

2

réponses

Question


Is there any better alternative of four nested loops?
Hi, I have certain matrices e1, e2, e3 & e4 corresponding to u1, u2, u3 & u4 of sizes h1, h2, h3, & h4 respectively. I have to ...

plus d'un an il y a | 1 réponse | 0

1

réponse