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

Function Scal

linalg/blas/level1.go:289–314  ·  view source on GitHub ↗

Scales a vector by a constant (X := alpha*X). ARGUMENTS X float or complex matrix alpha number (float or complex singleton matrix). Complex alpha is only allowed if X is complex. OPTIONS n integer. If n<0, the default value of n is used. The default value is equal to 1+(len(x

(X matrix.Matrix, alpha matrix.Scalar, opts ...linalg.Option)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestDscalFunction · 0.85

Calls 8

check_level1_funcFunction · 0.85
zscalFunction · 0.85
onErrorFunction · 0.70
dscalFunction · 0.70
ComplexMethod · 0.65
FloatMethod · 0.65
ComplexArrayMethod · 0.45
FloatArrayMethod · 0.45

Tested by 1

TestDscalFunction · 0.68