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 function func to cvec2 and overwrites cvec1 with 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 function func to the matrix cmat and returns the result in carray. It is FriCAS that puts, at the C level, the resulting matrix in carray.

jlApplyFunction!: (String, JLComplexF32Vector, JLFloat32Vector, NonNegativeInteger) -> Void

jlApplyFunction!(func, carray, mat, nr) applies the function func to the matrix mat and returns the result in carray. It is FriCAS that puts, at the C level, the resulting matrix in carray. Can be used with Julia ‘sqrt’ for example.

jlApplyFunction!: (String, JLComplexF32Vector, NonNegativeInteger, JLComplexF32Vector, NonNegativeInteger) -> Void

jlApplyFunction!(func, cmat1, cmat2) applies the Julia function func to cmat2 and overwrites cmat1 with 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 function func to the matrix cmat and returns the result in array. It is FriCAS that puts, at the C level, the resulting matrix in array. Can be used with Julia ‘real’ or ‘imag’ for example.

jlApplyFunction!: (String, JLFloat32Vector, JLFloat32Vector) -> Void

jlApplyFunction!(func, vec1, vec2) applies the Julia function func to vec2 and overwrites vec1 with 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 function func to the matrix mat and returns the result in array. It is FriCAS that puts, at the C level, the resulting matrix in array. Can be used with Julia ‘inv’ for example.

jlApplyFunction!: (String, JLFloat32Vector, NonNegativeInteger, JLFloat32Vector, NonNegativeInteger) -> Void

jlApplyFunction!(func, mat1, mat2) applies the Julia function func to mat2 and overwrites mat1 with 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 of func applied to cvec.

jlApplyFunction: (String, JLComplexF32Vector) -> Void

jlApplyFunction(func, vec) applies func to cvec.

jlApplyFunction: (String, JLComplexF32Vector, JLFloat32) -> JLFloat32

jlApplyFunction(func, cvec, p) returns the output value of func applied to cvec with parameter p.

jlApplyFunction: (String, JLComplexF32Vector, NonNegativeInteger) -> JLFloat32

jlApplyFunction(func, cmat, nr) returns the output value of func applied to cmat, internally a vector, where the number of rows is nr.

jlApplyFunction: (String, JLComplexF32Vector, NonNegativeInteger) -> Void

jlApplyFunction(func, cmat, nr) applies func to the matrix mat, internally a vector, where the numer of rows is nr.

jlApplyFunction: (String, JLComplexF32Vector, NonNegativeInteger, JLFloat32) -> JLFloat32

jlApplyFunction(func, cmat, nr, p) returns the output value of func applied to cmat, internally a vector, where the number of rows is nr and p an additional parameter.

jlApplyFunction: (String, JLFloat32Vector) -> JLFloat32

jlApplyFunction(func, vec) returns the output value of func applied to vec.

jlApplyFunction: (String, JLFloat32Vector) -> Void

jlApplyFunction(func, vec) applies func to vec.

jlApplyFunction: (String, JLFloat32Vector, JLFloat32) -> JLFloat32

jlApplyFunction(func, vec, p) returns the output value of func applied to vec with parameter p.

jlApplyFunction: (String, JLFloat32Vector, NonNegativeInteger) -> JLFloat32

jlApplyFunction(func, mat, nr) returns the output value of func applied to mat, internally a vector, where the number of rows is nr.

jlApplyFunction: (String, JLFloat32Vector, NonNegativeInteger) -> Void

jlApplyFunction(func, mat, nr) applies func to the matrix mat, internally a vector, where the numer of rows is nr.

jlApplyFunction: (String, JLFloat32Vector, NonNegativeInteger, JLFloat32) -> JLFloat32

jlApplyFunction(func, mat, nr, p) returns the output value of func applied to mat, internally a vector, where the number of rows is nr and p an additional parameter.