Introduction
-
+
@@ -1692,14 +1692,14 @@
Introduction
Tasks for which the post can be relevant: the approaches presented seek a balance between speed and code readability. This implies that, while there may be methods to increase computational speed, the emphasis is on approaches that don't demand too many additional lines of code or a whole rewriting of the script (relative to what's standard in Julia).
-
-
The main conclusions of the post are:
-
+
+The main conclusions of the post are:
+
Unicode characters require more typing, but are effective in establishing a direct link with the mathematical terms.
-While for-loops commonly represent the most efficient approach in Julia, they can affect readability. I show that a vectorized form can circumvent this by applying various tools to achieve an identical performance.
+While for-loops commonly represent the most efficient approach in Julia, they can affect readability. I show that a vectorized form can circumvent this by applying various tools to achieve an identical performance.
-
+
Warning! The illustration is based on the solution of a non-linear system of equations.
If you're only interested in the implementation in Julia, go directly to
this section. I start there by summarizing the system of equations to solve, and
provide explanations that don't require any knowledge of Economics.
@@ -2228,7 +2228,7 @@ Vectorized Code: My Preferred Solution
style="width:40px; height:auto;opacity:0.9;padding-bottom:5px;"> Previous Post
Next Post
- © Martin Alfaro
Website Last Modified on September 4, 2023
+ © Martin Alfaro
Website Last Modified on September 5, 2023
@@ -2860,12 +2860,12 @@
Vectorized Code: My Preferred Solution
.index_container, .index_container section{font-size: 100%;}
-
.index_container{
padding-left:1%;
padding-right:1%;
}
+
h1 {font-size: 180%; padding-top:0.5em ;padding-bottom:0em; }
h2, .lead {font-size: 110%; }
.lead {padding-top:0em;padding-bottom: 1em;}
@@ -2901,13 +2901,22 @@
Vectorized Code: My Preferred Solution
/* .left_bar ul {padding-left:0 !important; margin-left:0} */
- .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.5em;padding-bottom:1.5em !important; height:auto;}
+ .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.0em !important;padding-bottom:1.5em !important; height:auto;}
- .left_bar ul li a {width:60px !important;}
+ .left_bar ul li a {width:60px !important; }
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
-
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
+
}
@@ -2968,6 +2977,15 @@
Vectorized Code: My Preferred Solution
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
}
diff --git a/css/custom.css b/css/custom.css
index d9b7c4f..22f4554 100644
--- a/css/custom.css
+++ b/css/custom.css
@@ -8,20 +8,20 @@
margin-top: -1em;
padding-bottom:1.5em;
}
-.bullets ul {
+.bullets ul, .bullets ol{
margin-left: 0em;
line-height: 1.15;
padding-top: 8px;
}
-.bullets ul li {
+.bullets ul li , .bullets ol li{
margin-left: 1em;
padding:0;
margin-bottom: -0.5em;
}
-.bullets ul li p {
+.bullets ul li p, .bullets ol li p{
margin-left: 0em;
line-height: 1.55;
text-indent:0;}
diff --git a/index.html b/index.html
index f568d34..9194e31 100644
--- a/index.html
+++ b/index.html
@@ -1842,12 +1842,12 @@
T.E.C.H.
.index_container, .index_container section{font-size: 100%;}
-
.index_container{
padding-left:1%;
padding-right:1%;
}
+
h1 {font-size: 180%; padding-top:0.5em ;padding-bottom:0em; }
h2, .lead {font-size: 110%; }
.lead {padding-top:0em;padding-bottom: 1em;}
@@ -1883,13 +1883,22 @@
T.E.C.H.
/* .left_bar ul {padding-left:0 !important; margin-left:0} */
- .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.5em;padding-bottom:1.5em !important; height:auto;}
+ .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.0em !important;padding-bottom:1.5em !important; height:auto;}
- .left_bar ul li a {width:60px !important;}
+ .left_bar ul li a {width:60px !important; }
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
-
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
+
}
@@ -1950,6 +1959,15 @@
T.E.C.H.
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
}
diff --git a/links/index.html b/links/index.html
index ca78c33..ca18f1d 100644
--- a/links/index.html
+++ b/links/index.html
@@ -1840,12 +1840,12 @@
Free AI Tools for Coding
The following three are the most useful.
.index_container, .index_container section{font-size: 100%;}
-
.index_container{
padding-left:1%;
padding-right:1%;
}
+
h1 {font-size: 180%; padding-top:0.5em ;padding-bottom:0em; }
h2, .lead {font-size: 110%; }
.lead {padding-top:0em;padding-bottom: 1em;}
@@ -1881,13 +1881,22 @@
Free AI Tools for Coding
The following three are the most useful.
/* .left_bar ul {padding-left:0 !important; margin-left:0} */
- .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.5em;padding-bottom:1.5em !important; height:auto;}
+ .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.0em !important;padding-bottom:1.5em !important; height:auto;}
- .left_bar ul li a {width:60px !important;}
+ .left_bar ul li a {width:60px !important; }
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
-
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
+
}
@@ -1948,6 +1957,15 @@
Free AI Tools for Coding
The following three are the most useful.
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
}
diff --git a/list_posts/index.html b/list_posts/index.html
index 79684fe..342d8b2 100644
--- a/list_posts/index.html
+++ b/list_posts/index.html
@@ -1850,12 +1850,12 @@
List of Posts
.index_container, .index_container section{font-size: 100%;}
-
.index_container{
padding-left:1%;
padding-right:1%;
}
+
h1 {font-size: 180%; padding-top:0.5em ;padding-bottom:0em; }
h2, .lead {font-size: 110%; }
.lead {padding-top:0em;padding-bottom: 1em;}
@@ -1891,13 +1891,22 @@
List of Posts
/* .left_bar ul {padding-left:0 !important; margin-left:0} */
- .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.5em;padding-bottom:1.5em !important; height:auto;}
+ .left_bar ul, .left_bar ul li {text-indent:0; padding-top:0.0em !important;padding-bottom:1.5em !important; height:auto;}
- .left_bar ul li a {width:60px !important;}
+ .left_bar ul li a {width:60px !important; }
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
-
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
+
}
@@ -1958,6 +1967,15 @@
List of Posts
.left_bar img{
width:0% !important; height:0% !important; visibility: hidden;}
+
+ .modal {padding: 2px !important;}
+
+ .bullets ol, .itemNoSpace ol{padding: 6px; }
+ .bullets ul li, .itemNoSpace ul li{padding-right: 5%; padding-left:0;margin-left:0;}
+ .bullets ul li p, .itemNoSpace ul li p {line-height:1.55;}
+
+ .index_container ul li {padding-right: 5%; padding-left: 0}
+ .index_container ul {padding-right: 0; padding-left: 5%;}
}
diff --git a/sitemap.xml b/sitemap.xml
index ddd9958..d9b01e0 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -57,7 +57,7 @@
PAGES\07_AIcoding\index.html
- 2023-08-01
+ 2023-09-05
monthly
0.5