Mavzu: “Matrisani matrisaga ko’paytirish.”
Reja:
Matrisani matrisaga ko’paytirish.
Matrisalarni ko’paytirish: Birinchi matrisa ustunlar soni ikkinchi matrisa satrlar soniga teng bo’lgandagina ularni ko’paytirish mumkin. matrisani matrisaga ko’paytmasi deb, o’lchamli shunday matrisaga aytiladiki, uning elementi matrisa satri elementlarini matrisa ustunining mos elelentlariga ko’paytmalari yig’indisiga teng, ya’ni
Misol
amalni bajarish mumkin emas.
Maple dasturi
> restart; with(linalg): with(Student[LinearAlgebra]):
> A:=<<1,2,1>|<-1,1,1>>;
> B:=<<2,1>|<1,1>>;
> A.B;
> B.A;
Error, (in LinearAlgebra:-MatrixMatrixMultiply) first matrix column dimension (2) <> second matrix row dimension (3)
Xossalari:
Misol
Do'stlaringiz bilan baham: |