There are no translations available

 
Home arrow Forums
wimsedu le forum
Welcome, Guest
Please Login or Register.    Lost Password?
Mélanger lignes matrice (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Mélanger lignes matrice
#1574
jbfrondas (User)
Moderator
Posts: 88
graphgraph
User Offline Click here to see the profile of this user
Mélanger lignes matrice 14 Years, 4 Months ago Karma: 0  
Bonjour,


Existe-t-il une commande pour mélanger les lignes d'une matrice ?

JBa
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1575
bernadette (Admin)
Admin
Posts: 638
graph
User Online Now Click here to see the profile of this user
Re:Mélanger lignes matrice 14 Years, 4 Months ago Karma: 23  
Code:

Compter le nombre de lignes \matrix{A=1,2,3 4,5,6 a,b,c } \integer{cnt_ligne=items(\A[;1])} Faire un shuffle sur le nombre de lignes \text{S=shuffle(\cnt_ligne)} Permuter les lignes \matrix{B=\A[\S;]}
Bernadette
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
© 2024 WimsEdu
Joomla! est un logiciel libre distribué sous licence GNU/GPL.