Martin Baker wrote:
>
> I just tried a different variant:
>
> SCartesian(n) : Exports == Implementation where
> ....
> Exports ==> SPointCategory()
>
> Implementation ==> add
>
> and I am getting yet another error message:
>
> (4) -> PT ==> SCartesian(2)
> Type: Void
> (5) -> sipnt(-1,-1)$PT
> Internal Error
> The function sipnt with signature hashcode is missing from domain
> SCartesian2
> (5) -> a:=spnt(1.0,2.0)$PT
>
> (5) ("p",1.0,2.0,1.0)
> Type: SCartesian(2)
> (6) -> b:=spnt(3.0,4.0)$PT
>
> (6) ("p",3.0,4.0,1.0)
> Type:
> SCartesian(2)
> (7) -> colinearity(a,b)$PT
> Internal Error
> The function colinearity with signature hashcode is missing from
> domain SCartesian2
>
I compiled version that you posted and I get:
(1) -> PT ==> SCartesian(2)
Type: Void
(2) -> sipnt(-1,-1)$PT
(2) ("p",- 1.0,- 1.0,1.0)
Type: SCartesian(2)
(3) -> a:=spnt(1.0,2.0)$PT
(3) ("p",1.0,2.0,1.0)
Type: SCartesian(2)
(4) -> b:=spnt(3.0,4.0)$PT
(4) ("p",3.0,4.0,1.0)
Type: SCartesian(2)
(5) -> colinearity(a,b)$PT
(5) 0.9230769230769231
Type: DoubleFloat
Which version of FriCAS are you using? The above is with my
developement version which is close to trunk.
> --
> 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.
>
>
--
Waldek Hebisch
[email protected]
--
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.