55%
12.11.2020
f(x):
return x*x
# end def
def trapezoidal(a, b, n, h):
s = 0.0
s += h * f(a)
for i in range(1, n):
s += 2.0 * h * f(a + i*h)
# end for
s += h * f(b)
return (s/2.)
# end def
# Main
54%
02.02.2021
5221548db 58 seconds ago 5.67MB
80dc7d447a48 About a minute ago 167MB
alpine 3.9 78a2ce922f86 5 months ago 5.55MB
The command you really
54%
17.06.2017
-1) = 0.25 * (a(1:n-2,2:n) + a(3:n,2:n) + a(2:n,1:n-2) + a(2:n,3:n))
Using forall, the same can be written as:
forall (i=2:n-1, j=2:n-1) a(i,j) = 0.25*(a(i-1,j) + a(i+1,j) + a(i,j-1) + a(i,j+1
53%
07.02.2019
/2),n
d(j) = c(j) - e(j)
end do
#pragma acc parallel loop copyin(a, b, e)
create(c) copyout(d)
{
for (int i=0; i < n; i++)
{
c[i] = a[i] * b[i]
}
for (int j=(n/2
53%
13.12.2022
/11/05 08:56:13 info unpack layer: sha256:1a930d163dcafa193dc2c3c005d9c220ae1c07a48cad5f7feed0066ada0b998f
2022/11/05 08:56:15 info unpack layer: sha256:d3ca234f568b088b991388a0e9e8b61b05ac8627522f10fe16df2b81d51c0748
53%
02.08.2021
SGEMM
for N = [2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192]
A = single( rand(N,N) );
B = single( rand(N,N) );
start = clock();
C = A*B;
elapsedTime = etime(clock(), start
53%
20.10.2020
gen 2 Type-A ports, 1 USB 3.2 Type-C, 2 RJ-45 LAN ports, 5 audio jacks, built-in Intel® Wireless-AC (a/b/g/n/ac/ax), and Bluetooth 5.0
To accommodate such power, System 76 had to put serious work
53%
29.10.2013
:
remote: error: Unable to deploy application version: No
Environment found for EnvironmentName = 'DanApp-env'.
remote:
To
https://AKIAJ2XDUJ2NAFXXXXXXXX:
XXXXXXa9a9fe7e0fd7XXXXXXXXa94d94942@git
53%
30.11.2025
. Here are some examples:
_{3,} – Three or more consecutive underscores
· {2,5} – Between two and five spaces in a row (where · is a space)
(the·){2} – Two consecutive
52%
10.06.2015
to the first sed I know that here is only a SINGLE space
45 display_list="$(sed ':a;N;$!ba;s/\n / /g'<<<"$xrandr_current" | sed \
-n -e 's/^\([a-zA-Z0-9_-]\+\) connected.* \([0-9]\+\)mm.* \([0-9]\+\)mm