Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
slsh /
[ HOME SHELL ]
Name
Size
Permission
Action
cmaps
[ DIR ]
drwxr-xr-x
help
[ DIR ]
drwxr-xr-x
rline
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
arrayfuns.sl
1.85
KB
-rw-r--r--
autoload.sl
460
B
-rw-r--r--
base64.sl
19
B
-rw-r--r--
chksum.sl
1.58
KB
-rw-r--r--
cmdopt.sl
7.58
KB
-rw-r--r--
csv.sl
16.35
KB
-rw-r--r--
fcntl.sl
35
B
-rw-r--r--
fork.sl
17
B
-rw-r--r--
fswalk.sl
2.36
KB
-rw-r--r--
glob.sl
2.42
KB
-rw-r--r--
histogram.sl
2.98
KB
-rw-r--r--
iconv.sl
35
B
-rw-r--r--
json.sl
5.97
KB
-rw-r--r--
listfuns.sl
3.04
KB
-rw-r--r--
onig.sl
17
B
-rw-r--r--
pcre.sl
1.21
KB
-rw-r--r--
png.sl
4.02
KB
-rw-r--r--
print.sl
7.61
KB
-rw-r--r--
process.sl
9.83
KB
-rw-r--r--
profile.sl
19.88
KB
-rw-r--r--
rand.sl
4.28
KB
-rw-r--r--
readascii.sl
5.24
KB
-rw-r--r--
require.sl
1.27
KB
-rw-r--r--
select.sl
37
B
-rw-r--r--
setfuns.sl
4.8
KB
-rw-r--r--
sldb.sl
2.11
KB
-rw-r--r--
sldbcore.sl
18.1
KB
-rw-r--r--
sldbsock.sl
7.43
KB
-rw-r--r--
slshhelp.sl
536
B
-rw-r--r--
slshrl.sl
9.23
KB
-rw-r--r--
slsmg.sl
35
B
-rw-r--r--
socket.sl
151
B
-rw-r--r--
stats.sl
15.07
KB
-rw-r--r--
stkcheck.sl
2.62
KB
-rw-r--r--
structfuns.sl
2.05
KB
-rw-r--r--
sysconf.sl
20
B
-rw-r--r--
termios.sl
39
B
-rw-r--r--
varray.sl
37
B
-rw-r--r--
zlib.sl
2.93
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : histogram.sl
% This file not only provides access to the module, it also provides several % other functions that are easier to implement in slang. These include: % % whist1d : weighted 1-d histogram % whist2d : weighted 2-d histogram % hist2d_rebin: Rebins a 2-d histogram % #ifeval _slang_version < 20000 if (current_namespace () != "") import ("histogram", current_namespace ()); else #endif import ("histogram"); define whist1d () { variable func = NULL; variable rev = NULL; switch (_NARGS) { case 4: rev = (); } { case 5: (rev, func) = (); } { if (_NARGS != 3) usage ("h = %s (pnts, weights, bin-edges [,rev-indices [,func]])", _function_name); } variable pnts, w, edges; (pnts, w, edges) = (); if (func == NULL) func = ∑ variable r; () = hist1d (pnts, edges, &r); variable n = length (edges); variable h = Double_Type [n]; _for (0, n-1, 1) { variable i = (); h[i] = (@func) (w[r[i]]); } if (rev != NULL) @rev = r; return h; } define whist2d () { variable rev = NULL, func = NULL; switch (_NARGS) { case 6: rev = (); } { case 7: (rev, func) = (); } { if (_NARGS != 5) usage ("img=%s(xpnts, ypnts, weights, xgrid, ygrid [,rev [,func]])", _function_name ()); } variable x, y, w, xgrid, ygrid; (x, y, w, xgrid, ygrid) = (); if (func == NULL) func = ∑ variable r; () = hist2d (x, y, xgrid, ygrid, &r); variable nx = length (xgrid); variable ny = length (ygrid); variable img = Double_Type[nx, ny]; _for (0, nx-1, 1) { variable i = (); _for (0, ny-1, 1) { variable j = (); img[i,j] = (@func)(w[r[i,j]]); } } if (rev != NULL) @rev = r; return img; } define hist2d_rebin () { if (_NARGS != 5) usage ("new_ijhist=%s(new_igrid,new_jgrid,old_igrid,old_jgrid,old_ijhist)", _function_name); variable new_igrid, new_jgrid, old_igrid, old_jgrid, old_hist; (new_igrid, new_jgrid, old_igrid, old_jgrid, old_hist) = (); variable new_ilen = length (new_igrid); variable new_jlen = length (new_jgrid); variable old_ilen = length (old_igrid); variable old_jlen = length (old_jgrid); variable h_i = hist1d_rebin (new_jgrid, old_jgrid, old_hist[0,*]); variable type = _typeof (h_i); variable new_hist = @Array_Type (type, [old_ilen, new_jlen]); new_hist[0,*] = h_i; _for (1, old_ilen-1, 1) { variable i = (); new_hist[i,*] = hist1d_rebin (new_jgrid, old_jgrid, old_hist[i,*]); } old_hist = new_hist; new_hist = @Array_Type (type, [new_ilen, new_jlen]); _for (0, new_jlen-1, 1) { variable j = (); new_hist[*,j] = hist1d_rebin (new_igrid, old_igrid, old_hist[*,j]); } return new_hist; } #ifexists add_doc_file $1 = path_concat (path_concat (path_dirname (__FILE__), "help"), "histogram.hlp"); if (NULL != stat_file ($1)) add_doc_file ($1); #endif provide ("histogram");
Close