Hi Martin,
In your scenegraph code you declare function signatures twice, for
instance in SCartesian.spad the Exports part has (via SPointCategory)
spnt:(a:DoubleFloat,b:DoubleFloat) -> %
while the Implementation part has
spnt(a:DF,b:DF):% ==
pt := new(n+1,0$DF)$Rep
pt.0 := a
pt.1 := b
pt.n := 1...@df
pt
but you could write
spnt(a,b) ==
pt := new(n+1,0$DF)$Rep
pt.0 := a
pt.1 := b
pt.n := 1...@df
pt
Is this a stylistic preference? In adapting your code to OpenAxiom I
would tend to eliminate the second signature declaration except that,
since it's your code, I would consider deferring to your wishes on the
matter if you feel strongly about it.
Arthur
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.