For matrix math, there are several projects in existence. I know of Surge
and its forked cousin Upsurge, and a quick googling reveals a few more.
On Tue, Aug 9, 2016 at 14:22 Maximilian Hünenberger <
swift-evolution@swift.org> wrote:
> I think this is a great idea!
>
> As Chris said we should use
I think this is a great idea!
As Chris said we should use GitHub or something else to start such a project.
Does someone already has a Math library where we can discuss and commit?
I'll soon push a small Math library to my GitHub repo and let you know.
Best regards
Maximilian
> Am 03.08.2016
You could use the pointer/raw memory API to implement that.
One reason why I dislike the idea of introducing fixed-size arrays as a
first-class language feature is that it adds an additional construct with quite
niche use. Non-type generic parameters instead give you a powerful tool that
you
> I don't think that non-type generic arguments are enough to create fixed-size
> arrays. How would you fill in `struct Vector { ... }`?
Fixed-size arrays could be initialized like current arrays:
You either give a value to repeat or an array-literal of the right size.
There could
I don't think that non-type generic arguments are enough to create fixed-size
arrays. How would you fill in `struct Vector { ... }`?
Seems to me that the first step would be actual language support for
non-parametrizable fixed-size arrays.
Félix
> Le 5 août 2016 à 04:53:20,
> A few things immediately spring to mind:
> • Fixed-size arrays
> • An optimized Matrix type
> • Swifty syntax for Fourier transforms
> • A numerical integrator (or diff-eq solver!)
> • BigInt capabilities
>
> The first of these (fixed-size arrays) will probably require compiler support.
If Swift team have no roadmap on those plans, any swift developers with
strong in each area could kickstart and contributing libraries in Github
repo. We will greatly benefit from those areas and AI.
On Wed, Aug 3, 2016 at 11:10 PM, Xiaodi Wu via swift-evolution <
swift-evolution@swift.org>
A few things immediately spring to mind:
• Fixed-size arrays
• An optimized Matrix type
• Swifty syntax for Fourier transforms
• A numerical integrator (or diff-eq solver!)
• BigInt capabilities
The first of these (fixed-size arrays) will probably require compiler
support.
The rest can already
> to make use of Swift more appealing and useful for science, engineering and
> finance and everything else involving actually calculating things, I think it
> would be a big step forward if Swift would ship with its own math/numerics
> library.
There are several topics that imho would benefit
Hello Swift community,
to make use of Swift more appealing and useful for science, engineering and
finance and everything else involving actually calculating things, I think
it would be a big step forward if Swift would ship with its own
math/numerics library.
Wouldn't it be great if Swift would
10 matches
Mail list logo