Briefly:
np.dot
is the dot product of two matrices.
|A B| . |E F| = |A*E+B*G A*F+B*H|
|C D| |G H| |C*E+D*G C*F+D*H|
Whereas np.multiply
does an element-wise multiplication of two matrices.
Briefly:
np.dot
is the dot product of two matrices.
|A B| . |E F| = |A*E+B*G A*F+B*H|
|C D| |G H| |C*E+D*G C*F+D*H|
Whereas np.multiply
does an element-wise multiplication of two matrices.
############################################################################## | |
# about buildozer.spec : https://buildozer.readthedocs.io/en/latest/specifications.html | |
############################################################################## | |
[app] | |
# (str) Title of your application | |
title = induperator | |
# (str) Package name |
const mounted = new WeakSet() | |
export default (component, displayName = component.displayName || component.name || 'React.Component') => { | |
const host = { | |
[displayName] : class extends React.Component { | |
constructor(){ | |
this.state = {} | |
component.apply(this, arguments) | |
} |
#include "stdio.h" | |
#include "sys/socket.h" | |
#include "errno.h" | |
#include "netdb.h" | |
#include "string.h" | |
#include "stdlib.h" | |
int main(int argc , char **argv) | |
{ | |
struct hostent *host; |
<script> | |
function test(){ | |
d=document; | |
d.body.appendChild(c=d.createElement("canvas")); | |
g=c.getContext("webgl")||c.getContext("experimental-webgl"); | |
sp=g.createProgram(); | |
function gs(t,s){ | |
g.shaderSource(t=g.createShader(t),s); | |
g.compileShader(t);g.attachShader(sp,t); | |
} |
To remove a submodule you need to:
#:import la kivy.adapters.listadapter | |
#:import listview kivy.uix.listview | |
<MyList>: | |
adapter: la.ListAdapter( | |
data=[], | |
args_converter=self.list_item_args_converter, | |
cls=listview.ListItemButton) | |
<MyScreen>: |
#!/bin/bash | |
JAILS=`fail2ban-client status | grep "Jail list" | sed -E 's/^[^:]+:[ \t]+//' | sed 's/,//g'` | |
for JAIL in $JAILS | |
do | |
fail2ban-client status $JAIL | |
done |