SERVING THE QUANTITATIVE FINANCE COMMUNITY

Search found 62144 matches

by Cuchulainn
September 7th, 2020, 4:19 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 305
Views: 61742

Re: Python tricks

The textbook solutions are often suboptimal - for the sake of clarity. Not always a bad thing. Depends how to  define 'optimal'. I suspect you mean run-time, as many technical folk think this way.  It's only one of many.  In current case code in language A is being ported to code in language B. Stu...
by Cuchulainn
September 7th, 2020, 3:55 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 305
Views: 61742

Re: Python tricks

The textbook solutions are often suboptimal - for the sake of clarity. Not always a bad thing. Another optimisation: If the Cython function is called multiple times for the same V size (which is the case in this example, I suspect), I'd allocate V once, outside of the function. It might need to hav...
by Cuchulainn
September 7th, 2020, 3:52 pm
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 305
Views: 61742

Re: Python tricks

Well done, you're welcome. "Get it working, then get it right, then and only then get itvoptimised" :-)
by Cuchulainn
September 7th, 2020, 11:58 am
Forum: Off Topic
Topic: Good things that come out of this pandemic...
Replies: 257
Views: 15957

Re: Good things that come out of this pandemic...

have not seen a living sole. 

What about salmon.
by Cuchulainn
September 7th, 2020, 11:58 am
Forum: Off Topic
Topic: Good things that come out of this pandemic...
Replies: 257
Views: 15957

Re: Good things that come out of this pandemic...

have not seen a living sole. 

What about salmon.
by Cuchulainn
September 7th, 2020, 11:56 am
Forum: Off Topic
Topic: Good things that come out of this pandemic...
Replies: 257
Views: 15957

Re: Good things that come out of this pandemic...

interesting book Screen Shot 2020-09-03 at 8.19.29 PM.png
Ecclesiastes, King Solomon
10th century BC

"A time to embrace, and a time to refrain from embracing;"
by Cuchulainn
September 7th, 2020, 11:53 am
Forum: Off Topic
Topic: Good things that come out of this pandemic...
Replies: 257
Views: 15957

Re: Good things that come out of this pandemic...

Tennis!

Image
by Cuchulainn
September 7th, 2020, 10:21 am
Forum: Politics Forum
Topic: News from the 'Border'
Replies: 220
Views: 35139

Re: News from the 'Border'

UK seeks Irish intervention on NI Protocol in exchange for help with land bridge

https://www.rte.ie/news/brexit/2020/090 ... ransition/
by Cuchulainn
September 7th, 2020, 9:41 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 305
Views: 61742

Re: Python tricks

Regarding the numerics, explicit Euler is too slow, but that fact is probably irrelevant in this test case.
ADE (Barakat and Clark) is stable. explicit and 2nd order.
by Cuchulainn
September 7th, 2020, 9:11 am
Forum: Book And Research Paper Forum
Topic: New 2nd Edition - The Complete Guide to Option Pricing Formulas + CD-ROM by Espen Gaarder Haug
Replies: 211
Views: 163271

Re: New 2nd Edition - The Complete Guide to Option Pricing Formulas + CD-ROM by Espen Gaarder Haug

Looks like a mighty river, so in context I’d go with Volga.
Congratulations, aka vega convexity.

www.youtube.com/watch?v=2TOL2ul5HjQ

Yo, heave ho! Yo, heave ho!
by Cuchulainn
September 7th, 2020, 8:45 am
Forum: Programming and Software Forum
Topic: Python tricks
Replies: 305
Views: 61742

Re: Python tricks

The default order in Python is row-order but you can switch to column-order (saves you having to modify your working code). The other option is to exchange the i and k loops and then it is standardised C-way. It is certainly worth investigating. Stale caches lines an even false sharing are a possibi...
by Cuchulainn
September 6th, 2020, 7:16 pm
Forum: Off Topic
Topic: Linkedin me up Scotty!
Replies: 205
Views: 19983

Re: Linkedin me up Scotty!

We had universities, books and monks in the 6th century in Ireland until the Vikings came.

Image
by Cuchulainn
September 6th, 2020, 7:12 pm
Forum: Politics Forum
Topic: Trump -- the last 100 days
Replies: 3671
Views: 202027

Re: Trump -- the last 100 days

As somebody who served in a NATO force during the height of the Cold War, I cannot imagine a more despicable sucker and loser excuse for a commander in chief than Trump. Hope you had your thermal underwear! It gets very cold in Finland. Well, of course I did, but I’m not sure what Finland has to do...
GZIP: On