JLF32ArrayFunctions¶
jafunctions.spad line 1 [edit on github]
This package provides different Julia utility functions for operations using CPU/GPU supported data types. Internal package.
- jlApplyFunction!: (String, JLComplexF32Vector, JLComplexF32Vector) -> Void
jlApplyFunction!(func, cvec1, cvec2)applies the Julia functionfunctocvec2and overwritescvec1with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ for example.
- jlApplyFunction!: (String, JLComplexF32Vector, JLComplexF32Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, carray, cmat, nr)applies the functionfuncto the matrixcmatand returns the result incarray. It is FriCAS that puts, at theClevel, the resulting matrix incarray.
- jlApplyFunction!: (String, JLComplexF32Vector, JLFloat32Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, carray, mat, nr)applies the functionfuncto the matrixmatand returns the result incarray. It is FriCAS that puts, at theClevel, the resulting matrix incarray. Can be used with Julia ‘sqrt’ for example.
- jlApplyFunction!: (String, JLComplexF32Vector, NonNegativeInteger, JLComplexF32Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, cmat1, cmat2)applies the Julia functionfunctocmat2and overwritescmat1with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ or adjoint! for example.
- jlApplyFunction!: (String, JLFloat32Vector, JLComplexF32Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, array, cmat, nr)applies the functionfuncto the matrixcmatand returns the result inarray. It is FriCAS that puts, at theClevel, the resulting matrix inarray. Can be used with Julia ‘real’ or ‘imag’ for example.
- jlApplyFunction!: (String, JLFloat32Vector, JLFloat32Vector) -> Void
jlApplyFunction!(func, vec1, vec2)applies the Julia functionfunctovec2and overwritesvec1with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ for example.
- jlApplyFunction!: (String, JLFloat32Vector, JLFloat32Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, array, mat, nr)applies the functionfuncto the matrixmatand returns the result inarray. It is FriCAS that puts, at theClevel, the resulting matrix inarray. Can be used with Julia ‘inv’ for example.
- jlApplyFunction!: (String, JLFloat32Vector, NonNegativeInteger, JLFloat32Vector, NonNegativeInteger) -> Void
jlApplyFunction!(func, mat1, mat2)applies the Julia functionfunctomat2and overwritesmat1with the result. Please note that overwriting is done by Julia and not FriCAS. See Julia ‘copy!’ or transpose! for example.
- jlApplyFunction: (String, JLComplexF32Vector) -> JLFloat32
jlApplyFunction(func, cvec)returns the output value offuncapplied to cvec.
- jlApplyFunction: (String, JLComplexF32Vector) -> Void
jlApplyFunction(func, vec)appliesfuncto cvec.
- jlApplyFunction: (String, JLComplexF32Vector, JLFloat32) -> JLFloat32
jlApplyFunction(func, cvec, p)returns the output value offuncapplied tocvecwith parameterp.
- jlApplyFunction: (String, JLComplexF32Vector, NonNegativeInteger) -> JLFloat32
jlApplyFunction(func, cmat, nr)returns the output value offuncapplied tocmat, internally a vector, where the number of rows isnr.
- jlApplyFunction: (String, JLComplexF32Vector, NonNegativeInteger) -> Void
jlApplyFunction(func, cmat, nr)appliesfuncto the matrix mat, internally a vector, where the numer of rows isnr.
- jlApplyFunction: (String, JLComplexF32Vector, NonNegativeInteger, JLFloat32) -> JLFloat32
jlApplyFunction(func, cmat, nr, p)returns the output value offuncapplied tocmat, internally a vector, where the number of rows isnrandpan additional parameter.
- jlApplyFunction: (String, JLFloat32Vector) -> JLFloat32
jlApplyFunction(func, vec)returns the output value offuncapplied to vec.
- jlApplyFunction: (String, JLFloat32Vector) -> Void
jlApplyFunction(func, vec)appliesfuncto vec.
- jlApplyFunction: (String, JLFloat32Vector, JLFloat32) -> JLFloat32
jlApplyFunction(func, vec, p)returns the output value offuncapplied tovecwith parameterp.
- jlApplyFunction: (String, JLFloat32Vector, NonNegativeInteger) -> JLFloat32
jlApplyFunction(func, mat, nr)returns the output value offuncapplied tomat, internally a vector, where the number of rows isnr.
- jlApplyFunction: (String, JLFloat32Vector, NonNegativeInteger) -> Void
jlApplyFunction(func, mat, nr)appliesfuncto the matrixmat, internally a vector, where the numer of rows isnr.
- jlApplyFunction: (String, JLFloat32Vector, NonNegativeInteger, JLFloat32) -> JLFloat32
jlApplyFunction(func, mat, nr, p)returns the output value offuncapplied tomat, internally a vector, where the number of rows isnrandpan additional parameter.