Replies: 2 comments
-
|
Here's an example of how to calculate the sum product of def sumproduct(t):
return sum(foo(t) * bar(t) for t in range(last_t)) |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for your kind advise!
I will try the code right away
2024년 1월 14일 (일) 오후 10:53, fumitoh ***@***.***>님이 작성:
… Here's an example how to take the sumproduct of foo(t) and bar(t) for t =
0 .. last_t-1.
def sumproduct(t):
return sum(foo(t) * bar(t) for t in range(last_t))
—
Reply to this email directly, view it on GitHub
<#63 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATYK2K4ZPGKYN7M6XTHRPE3YOPPODAVCNFSM6AAAAABB2BQKZCVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DCMRTHA2TK>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there any function similar to excel function Sumproduct?
I want to construct a model which has a lot of sumproduct calculation logic.
Beta Was this translation helpful? Give feedback.
All reactions