[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.3263009 [View]
File: 94 KB, 1162x675, Bild 4.png [View same] [iqdb] [saucenao] [google]
3263009

>>3262966
think about it like this:

Block:
"I actually doing computation in the main file, but to try something, in this block, as an experiment, I will set the vars to a"
(like when you're guessing an ansatz to a diffgl.)

Module:
"I really compute something new, like in a class, and afterwards I ship the result outside."

thats why in the example above the var=a already happended for Block and "a-a" = 0 immediatenly but in the module case he computes "b-var" and when it gets out of the module he sees that var is actualla a so it's b-a.
Module is a protected sub nb so to speak, which exports an object to the actual nb you're in.

>>3262972
some years ago I constructed a 7-parametric family of polar plots, see pic, so I got infinite^7 pics to contribute.

Navigation
View posts[+24][+48][+96]