public class MatrixMultiplikation
extends java.lang.Object
MNumber
entries.Constructor and Description |
---|
MatrixMultiplikation() |
public static MNumber[] multinxm(MNumber[] A, MNumber[] B, int n, int m, int p)
A
and an mxp-matrix B
.
Result is an nxp-matrix.
A
and B
have to be given rowwise. They remain
unchanged.A
- a MNumber[]
of length n*mB
- a MNumber[]
of length m*pn
- an int
m
- an int
p
- an int
MNumber[]
of length n*pjava.lang.IllegalArgumentException
- if the matrices have the wrong dimensions.public static MNumber[] multinxn(MNumber[] A, MNumber[] B)
A
and B
.
Result is an nxn-matrix.
A
and B
have to be given rowwise. They remain
unchanged.A
- a MNumber[]
of length n*nB
- a MNumber[]
of length n*nMNumber[]
of length n*njava.lang.IllegalArgumentException
- if the matrices have the wrong dimensions.Further documentation and examples can be found under www.mathletfactory.de.