JLF64ArrayFunctions

jafunctions.spad line 147 [edit on github]

This package provides different JL utility functions for operations using CPU/GPU supported data types. Internal package.

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

jlApplyFunction!(func, cvec1, cvec2) applies the JL function func to cvec2 and overwrites cvec1 with the result. Please note that overwriting is done by JL and not FriCAS. See JL ‘copy!’ for example.

jlApplyFunction!: (String, JLComplexF64Vector, JLComplexF64Vector, 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, JLComplexF64Vector, JLFloat64Vector, 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 JL ‘sqrt’ for example.

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

jlApplyFunction!(func, cmat1, cmat2) applies the JL function func to cmat2 and overwrites cmat1 with the result. Please note that overwriting is done by JL and not FriCAS. See JL ‘copy!’ or adjoint! for example.

jlApplyFunction!: (String, JLFloat64Vector, JLComplexF64Vector, 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 JL ‘real’ or ‘imag’ for example.

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

jlApplyFunction!(func, vec1, vec2) applies the JL function func to vec2 and overwrites vec1 with the result. Please note that overwriting is done by JL and not FriCAS. See JL ‘copy!’ for example.

jlApplyFunction!: (String, JLFloat64Vector, JLFloat64Vector, 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 JL ‘inv’ for example.

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

jlApplyFunction!(func, mat1, mat2) applies the JL function func to mat2 and overwrites mat1 with the result. Please note that overwriting is done by JL and not FriCAS. See JL ‘copy!’ or transpose! for example.

jlApplyFunction: (String, JLComplexF64Vector) -> JLFloat64

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

jlApplyFunction: (String, JLComplexF64Vector) -> Void

jlF32FunctionF32Vec(func, vec) applies func to cvec.

jlApplyFunction: (String, JLComplexF64Vector, JLFloat64) -> JLFloat64

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

jlApplyFunction: (String, JLComplexF64Vector, NonNegativeInteger) -> JLFloat64

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, JLComplexF64Vector, NonNegativeInteger) -> Void

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

jlApplyFunction: (String, JLComplexF64Vector, NonNegativeInteger, JLFloat64) -> JLFloat64

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, JLFloat64Vector) -> JLFloat64

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

jlApplyFunction: (String, JLFloat64Vector) -> Void

jlFunctionF32Vector(func, vec) applies func to vec.

jlApplyFunction: (String, JLFloat64Vector, JLFloat64) -> JLFloat64

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

jlApplyFunction: (String, JLFloat64Vector, NonNegativeInteger) -> JLFloat64

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, JLFloat64Vector, NonNegativeInteger) -> Void

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

jlApplyFunction: (String, JLFloat64Vector, NonNegativeInteger, JLFloat64) -> JLFloat64

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.