You should use

    F := operator "F"

to let the system know that 'F' is a function that can be applied to variables.

On Thu, Jul 12, 2018 at 8:07 AM, 'Nasser M. Abbasi' via FriCAS -
computer algebra system <[email protected]> wrote:
> sorry for basic question, but after some search I could find what the
> correct syntax is.
> Some integrals I need to run in Fricas use a generic function as in f(x) in
> the integrand.  For example
>
>     integrate(F(x)/(sqrt(x)*sqrt(-x + 1)),x)
>
> Fricas does not like the above
> -------------------
> (1) -> integrate(F(x)/(sqrt(x)*sqrt(-x + 1)),x)
>    There are no exposed library operations named F but there is one
>       unexposed operation with that name. Use HyperDoc Browse or issue
>                                 )display op F
>       to learn more about the available operation.
>
>    Cannot find a definition or applicable library operation named F
>       with argument type(s)
>                                  Variable(x)
>
>       Perhaps you should use "@" to indicate the required return type,
>       or "$" to specify which version of the function you need.
> -----------------------
>
> What do I need to do to make it work?
> using   FriCAS 1.3.4
>
> Thanks,
> --Nasser
>
> --
> 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.

-- 
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.
  • [fricas-devel] how... 'Nasser M. Abbasi' via FriCAS - computer algebra system
    • Re: [fricas-d... oldk1331

Reply via email to