polishing
This commit is contained in:
parent
1ad8464821
commit
f633c67fe4
|
@ -411,9 +411,9 @@ pure function math_exp33(A,n)
|
|||
endif
|
||||
|
||||
do i = 1, order
|
||||
invFac = invFac/real(i,pReal) ! invfac = 1/i!
|
||||
invFac = invFac/real(i,pReal) ! invfac = 1/(i!)
|
||||
B = matmul(B,A)
|
||||
math_exp33 = math_exp33 + invFac*B ! exp = SUM (A^i)/i!
|
||||
math_exp33 = math_exp33 + invFac*B ! exp = SUM (A^i)/(i!)
|
||||
enddo
|
||||
|
||||
end function math_exp33
|
||||
|
|
Loading…
Reference in New Issue