hello,

i'm looking for a vector module to be used in Language::Befunge.
currently, i provide Language::Befunge::Vector which is a pure perl
version of what i'm looking for.

my requirements:
 - n dimensions, ie, not limited to 2D (x,y) or 3D (x,y,z)
 - integer values
 - basic operations on them (addition, substraction, etc)
 - fast, ie not pure perl

this seems to remove all the existing cpan modules but PDL. but PDL
seems a bit big for what i need... or isn't it?


therefore, i was planning to:
 1- remove Language::Befunge::Vector from Language::Befunge and release
    it as a new module
 2- provide a new XS module with the same interface, overwriting module
    1- (same as Readonly::XS does with Readonly)
 3- require module 1- & recommend module 2- in Language::Befunge

this has the added benefit over PDL that i can fallback on pure-perl
module for machines that don't have a compiler.

so now here's my question: how should i name my modules?
(maybe the first question would be: do you think i'm doing sthg wise or
would you recommend to use PDL?)

i thought of:
 - Math::Vector
 - Math::Vector::Integer (i deal with integer only)
 - Math::Vector::NDims   (i deal with more than 3 dims)
 - Math::NDimVector
 - other?


wdyt?
jérôme 
-- 
[EMAIL PROTECTED]

Reply via email to