Le produit matriciel entre deux matrices de type string .

ami7 Messages postés 99 Date d'inscription dimanche 8 août 2010 Statut Membre Dernière intervention 29 juin 2011 - 1 mai 2011 à 15:16
cs_jopop Messages postés 1540 Date d'inscription lundi 26 mai 2003 Statut Membre Dernière intervention 1 août 2013 - 2 mai 2011 à 16:48
Bonjour,

j'ai besoin d'un algorithme en c# qui permet de faire le produit matriciel entre deux
matrices de type string .


merci

2 réponses

StagiaireMsl Messages postés 43 Date d'inscription mardi 19 avril 2011 Statut Membre Dernière intervention 22 avril 2013 3
2 mai 2011 à 16:36
Ce sont des matrices carré ?

Si on pose les 2 matrices comme cela :

Matrice1=
[a,b,
c,d]

Matrice2=
[1,2,
3,4]

Le produit maticielle sera

MatriceTotal=
[a*1,b*2,
c*3,d*4]

???
0
cs_jopop Messages postés 1540 Date d'inscription lundi 26 mai 2003 Statut Membre Dernière intervention 1 août 2013 12
2 mai 2011 à 16:48
Comment tu multiplies des string ?
Autant additionner ça pourrait se comprendre comme "concaténer", mais multiplier, je vois pas.
0
Rejoignez-nous