[Pkg-javascript-commits] [science.js] 61/87: Add semicolon to end of statement
bhuvan krishna
bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:12:00 UTC 2016
This is an automated email from the git hooks/post-receive script.
bhuvan-guest pushed a commit to branch master
in repository science.js.
commit 36fc339903ab14e3acd4eb1375b8bca6b64a7e64
Author: Kristofer Monisit <kmonisit at gmail.com>
Date: Tue Mar 20 12:46:27 2012 +0800
Add semicolon to end of statement
---
science.js | 2 +-
science.lin.js | 6 +++---
science.lin.min.js | 2 +-
science.stats.js | 2 +-
src/end.js | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/science.js b/science.js
index 4f88b94..fc30663 100644
--- a/science.js
+++ b/science.js
@@ -69,4 +69,4 @@ science.zeroes = function(n) {
this, Array.prototype.slice.call(arguments, 1));
return a;
};
-})()
\ No newline at end of file
+})();
diff --git a/science.lin.js b/science.lin.js
index 9e8ce16..698e1c6 100644
--- a/science.lin.js
+++ b/science.lin.js
@@ -725,7 +725,7 @@ science.lin.dot = function(a, b) {
return s;
};
science.lin.length = function(p) {
- return Math.sqrt(science.vector.dot(p, p));
+ return Math.sqrt(science.lin.dot(p, p));
};
science.lin.normalize = function(p) {
var length = science.lin.length(p);
@@ -805,7 +805,7 @@ science.lin.gaussjordan = function(m, eps) {
};
// Find matrix inverse using Gauss-Jordan.
science.lin.inverse = function(m) {
- var n = m.length
+ var n = m.length,
i = -1;
// Check if the matrix is square.
@@ -885,4 +885,4 @@ science.lin.tridag = function(a, b, c, d, x, n) {
x[i] = (d[i] - c[i] * x[i + 1]) / b[i];
}
};
-})()
\ No newline at end of file
+})();
diff --git a/science.lin.min.js b/science.lin.min.js
index 0a474d0..aa0bbbd 100644
--- a/science.lin.min.js
+++ b/science.lin.min.js
@@ -1 +1 @@
-(function(){function a(a,b,c){var d=c.length;for(var e=0;e<d;e++)a[e]=c[d-1][e];for(var f=d-1;f>0;f--){var g=0,h=0;for(var i=0;i<f;i++)g+=Math.abs(a[i]);if(g===0){b[f]=a[f-1];for(var e=0;e<f;e++)a[e]=c[f-1][e],c[f][e]=0,c[e][f]=0}else{for(var i=0;i<f;i++)a[i]/=g,h+=a[i]*a[i];var j=a[f-1],k=Math.sqrt(h);j>0&&(k=-k),b[f]=g*k,h-=j*k,a[f-1]=j-k;for(var e=0;e<f;e++)b[e]=0;for(var e=0;e<f;e++){j=a[e],c[e][f]=j,k=b[e]+c[e][e]*j;for(var i=e+1;i<=f-1;i++)k+=c[i][e]*a[i],b[i]+=c[i][e]*j;b[e]=k}j=0 [...]
\ No newline at end of file
+(function(){function a(a,b,c){var d=c.length;for(var e=0;e<d;e++)a[e]=c[d-1][e];for(var f=d-1;f>0;f--){var g=0,h=0;for(var i=0;i<f;i++)g+=Math.abs(a[i]);if(g===0){b[f]=a[f-1];for(var e=0;e<f;e++)a[e]=c[f-1][e],c[f][e]=0,c[e][f]=0}else{for(var i=0;i<f;i++)a[i]/=g,h+=a[i]*a[i];var j=a[f-1],k=Math.sqrt(h);j>0&&(k=-k),b[f]=g*k,h-=j*k,a[f-1]=j-k;for(var e=0;e<f;e++)b[e]=0;for(var e=0;e<f;e++){j=a[e],c[e][f]=j,k=b[e]+c[e][e]*j;for(var i=e+1;i<=f-1;i++)k+=c[i][e]*a[i],b[i]+=c[i][e]*j;b[e]=k}j=0 [...]
\ No newline at end of file
diff --git a/science.stats.js b/science.stats.js
index 4558453..4360115 100644
--- a/science.stats.js
+++ b/science.stats.js
@@ -774,4 +774,4 @@ science.stats.distribution.gaussian = function() {
};
science_stats_distribution_gaussianConstant = 1 / Math.sqrt(2 * Math.PI);
-})()
\ No newline at end of file
+})();
diff --git a/src/end.js b/src/end.js
index 2d9c82a..0319a0f 100644
--- a/src/end.js
+++ b/src/end.js
@@ -1 +1 @@
-})()
\ No newline at end of file
+})();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/science.js.git
More information about the Pkg-javascript-commits
mailing list