MCPcopy Create free account
hub / github.com/andeya/algorithm / Swap

Function Swap

linalg/blas/level1.go:198–229  ·  view source on GitHub ↗

Interchanges two vectors (X <-> Y). ARGUMENTS X float or complex matrix Y float or complex matrix. Must have the same type as X. OPTIONS n integer. If n<0, the default value of n is used. The default value is equal to 1+(len(x)-offsetx-1)/abs(incx) or 0 if len(x) > offset

(X, Y matrix.Matrix, opts ...linalg.Option)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestDswapFunction · 0.70

Calls 7

check_level1_funcFunction · 0.85
zswapFunction · 0.85
dswapFunction · 0.85
onErrorFunction · 0.70
EqualTypesMethod · 0.65
ComplexArrayMethod · 0.45
FloatArrayMethod · 0.45

Tested by 1

TestDswapFunction · 0.56