Matrix API support - start with formats?

Manu via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 20 17:30:43 PDT 2015


On 15 August 2015 at 05:11, Tofu Ninja via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On Friday, 14 August 2015 at 18:51:51 UTC, David Nadlinger wrote:
>>
>> On Friday, 14 August 2015 at 15:11:39 UTC, ponce wrote:
>>>
>>> Are sparse matrices a common scenario?
>>
>>
>> Yes. They tend to pop up in virtually all "serious" numerical problems in
>> science and engineering, particularly when partial differential equations
>> are involved.
>>
>>> If anything I think small vectors, non-sparse matrixes and
>>> rectangles/AABB could be part of Phobos before that.
>>
>>
>> If you just had a go at it from the CG/gamedev perspective, you'd probably
>> end up with an API that is entirely unsuitable for larger problems. This
>> might not be a big issue (just have two separate APIs), but we'd need to
>> make it a conscious decision.
>>
>>  — David
>
>
> Personally I would prefer small fixed sized vectors & matrices with game dev
> focused api be kept separate from a big/sparse matrix api.

I think gamedev's would unanimously agree on this.



More information about the Digitalmars-d mailing list