JLF64ArrayFunctions¶
jafunctions.spad line 147 [edit on github]
This package provides different Julia utility functions for operations using CPU/GPU supported data types. Internal package.
- jlApplyFunction!: (String, JLComplexF64Vector, JLComplexF64Vector) -> Void
jlApplyFunction!(func, cvec1, cvec2)
applies the Julia functionfunc
tocvec2
and overwritescvec1
with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ for example.
- jlApplyFunction!: (String, JLComplexF64Vector, JLComplexF64Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, carray, cmat, nr)
applies the functionfunc
to the matrixcmat
and returns the result incarray
. It is FriCAS that puts, at theC
level, the resulting matrix incarray
.
- jlApplyFunction!: (String, JLComplexF64Vector, JLFloat64Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, carray, mat, nr)
applies the functionfunc
to the matrixmat
and returns the result incarray
. It is FriCAS that puts, at theC
level, the resulting matrix incarray
. Can be used with Julia ‘sqrt’ for example.
- jlApplyFunction!: (String, JLComplexF64Vector, NonNegativeInteger, JLComplexF64Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, cmat1, cmat2)
applies the Julia functionfunc
tocmat2
and overwritescmat1
with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ or adjoint! for example.
- jlApplyFunction!: (String, JLFloat64Vector, JLComplexF64Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, array, cmat, nr)
applies the functionfunc
to the matrixcmat
and returns the result inarray
. It is FriCAS that puts, at theC
level, the resulting matrix inarray
. Can be used with Julia ‘real’ or ‘imag’ for example.
- jlApplyFunction!: (String, JLFloat64Vector, JLFloat64Vector) -> Void
jlApplyFunction!(func, vec1, vec2)
applies the Julia functionfunc
tovec2
and overwritesvec1
with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ for example.
- jlApplyFunction!: (String, JLFloat64Vector, JLFloat64Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, array, mat, nr)
applies the functionfunc
to the matrixmat
and returns the result inarray
. It is FriCAS that puts, at theC
level, the resulting matrix inarray
. Can be used with Julia ‘inv’ for example.
- jlApplyFunction!: (String, JLFloat64Vector, NonNegativeInteger, JLFloat64Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, mat1, mat2)
applies the Julia functionfunc
tomat2
and overwritesmat1
with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ or transpose! for example.
- jlApplyFunction: (String, JLComplexF64Vector) -> JLFloat64
jlApplyFunction(func, cvec)
returns the output value offunc
applied to cvec.
- jlApplyFunction: (String, JLComplexF64Vector) -> Void
jlApplyFunction(func, vec)
appliesfunc
to cvec.
- jlApplyFunction: (String, JLComplexF64Vector, JLFloat64) -> JLFloat64
jlApplyFunction(func, cvec, p)
returns the output value offunc
applied tocvec
with parameterp
.
- jlApplyFunction: (String, JLComplexF64Vector, NonNegativeInteger) -> JLFloat64
jlApplyFunction(func, cmat, nr)
returns the output value offunc
applied tocmat
, internally a vector, where the number of rows isnr
.
- jlApplyFunction: (String, JLComplexF64Vector, NonNegativeInteger) -> Void
jlApplyFunction(func, cmat, nr)
appliesfunc
to the matrix mat, internally a vector, where the numer of rows isnr
.
- jlApplyFunction: (String, JLComplexF64Vector, NonNegativeInteger, JLFloat64) -> JLFloat64
jlApplyFunction(func, cmat, nr, p)
returns the output value offunc
applied tocmat
, internally a vector, where the number of rows isnr
andp
an additional parameter.
- jlApplyFunction: (String, JLFloat64Vector) -> JLFloat64
jlApplyFunction(func, vec)
returns the output value offunc
applied to vec.
- jlApplyFunction: (String, JLFloat64Vector) -> Void
jlApplyFunction(func, vec)
appliesfunc
to vec.
- jlApplyFunction: (String, JLFloat64Vector, JLFloat64) -> JLFloat64
jlApplyFunction(func, vec, p)
returns the output value offunc
applied tovec
with parameterp
.
- jlApplyFunction: (String, JLFloat64Vector, NonNegativeInteger) -> JLFloat64
jlApplyFunction(func, mat, nr)
returns the output value offunc
applied tomat
, internally a vector, where the number of rows isnr
.
- jlApplyFunction: (String, JLFloat64Vector, NonNegativeInteger) -> Void
jlApplyFunction(func, mat, nr)
appliesfunc
to the matrixmat
, internally a vector, where the numer of rows isnr
.
- jlApplyFunction: (String, JLFloat64Vector, NonNegativeInteger, JLFloat64) -> JLFloat64
jlApplyFunction(func, mat, nr, p)
returns the output value offunc
applied tomat
, internally a vector, where the number of rows isnr
andp
an additional parameter.