MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / PyCross

Function PyCross

python/utils.py:114–115  ·  view source on GitHub ↗
(a,b)

Source from the content-addressed store, hash-verified

112 +mat[2,0]*(mat[0,1]*mat[1,2]-mat[0,2]*mat[1,1])
113
114def PyCross(a,b):
115 return CoefficientFunction( (a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]) )
116
117def PyCof(m):
118 if m.dims[0] == 1:

Callers

nothing calls this directly

Calls 1

CoefficientFunctionClass · 0.50

Tested by

no test coverage detected