p2: add alternative way to get matrix product
This commit is contained in:
parent
f20ada00a2
commit
5927e4d86d
@ -123,6 +123,7 @@ func ImpulseFunction(ruu []float64, ruy []float64) ([]float64, error) {
|
|||||||
|
|
||||||
// g.Mul(invRuuMatrix, ruyVect)
|
// g.Mul(invRuuMatrix, ruyVect)
|
||||||
g.Mul(ruyVect, invRuuMatrix)
|
g.Mul(ruyVect, invRuuMatrix)
|
||||||
|
// g.Product(ruyVect, invRuuMatrix)
|
||||||
|
|
||||||
// calculate h - the impulse function.
|
// calculate h - the impulse function.
|
||||||
h, err := estimateImpulseFunc(g, lruu)
|
h, err := estimateImpulseFunc(g, lruu)
|
||||||
|
Loading…
Reference in New Issue
Block a user