Open wujilingfeng opened 1 year ago
How to generate an array according to the rules defined by oneself? I have a function like func:: Int->Int->Float, which represents calculating values based on index
func:: Int->Int->Float
Right now, I think you would need to combine Data.Vector.generate, Data.Vector.toList, and eg ArrayFire.Array.matrix.
The construction API could definitely be expanded
How to generate an array according to the rules defined by oneself? I have a function like
func:: Int->Int->Float
, which represents calculating values based on index