Hi all,

I implemented signatures e.g. normalKernel  depending in a package
depending on Field K with the additional
condition:

if K has "^": (K, Fraction Integer) -> K

The function works without package calling for K = Float

(125) -> normalKernel(x, lvf_cb, Hinv)

   (125)  0.8359433134_9085011644 E -2172
                                                                                
        
Type: Float
Strange enough, it is not shown via )show

(130) -> )sh KernelDensityEstimation(Float)
 KernelDensityEstimation(Float) is a domain constructor.
 Abbreviation for KernelDensityEstimation is KDENSEST
 This constructor is exposed in this frame.
 13 Names for 14 Operations in this Domain.
------------------------------------------- Operations
-------------------------------------------

 dashLine : () -> OutputForm                       dottedLine : () ->
OutputForm
 equalLine : () -> OutputForm                      line : String ->
OutputForm
 meanValue : List(Float) -> Float                  messageLevel? : () ->
NonNegativeInteger
 messageLevelPointers : () -> List(Boolean)        varianceEstimation :
List(Float) -> Float
 densityEstimation : (Float, List(Float), (Float -> Float), Float) -> Float
 densityEstimation : (Vector(Float), List(Vector(Float)), (Vector(Float)
-> Float), Float) -> Vector(Float)
 meanValues : List(Vector(Float)) -> Vector(Float)
 messageLevelPointer : NonNegativeInteger -> Boolean
 setMessageLevel : NonNegativeInteger -> NonNegativeInteger
 varianceEstimations : List(Vector(Float)) -> Vector(Float)

The reason seems to have to do with the following strange behaviour:

(130) -> Float has "^": (Float, Fraction Integer) -> Float

   (130)  false
                                                                                
      
Type: Boolean
(131) -> Float has ^: (Float, Fraction Integer) -> Float

   (131)  true

I think one should have consistant use of "^"!


--
Mit freundlichen Grüßen

Johannes Grabmeier

Prof. Dr. Johannes Grabmeier
Köckstraße 1, D-94469 Deggendorf
Tel. +49-(0)-991-2979584, Tel. +49-(0)-151-681-70756
Tel. +49-(0)-991-3615-141 (d),  Fax: +49-(0)-32224-192688

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to