# Zorba

The XQuery Processor

- Documentation
- Live Demo
- Modules
- Download
- Tools
- Blog
- Code

# http://www.w3.org/2005/xpath-functions/math

Module Description
Before using any of the functions below please remember to import the module namespace:

    import module namespace math = "http://www.w3.org/2005/xpath-functions/math";

This module contains all the functions part of the W3C XPath and XQuery Functions and Operators 3.0 section "4.7 Trigonometric and exponential functions".

Author:

www.w3c.org

Module Resources

- the XQuery module can be found here.

Related Documentation

For more details please also see:

- http://www.w3.org/TR/xpath-functions-30/#trigonometry

Namespaces

math | http://www.w3.org/2005/xpath-functions/math

Function Summary

| `acos ( $arg as xs:double? ) as xs:double? .`
| `asin ( $arg as xs:double? ) as xs:double? .`
| `atan ( $arg as xs:double? ) as xs:double? .`
| `atan2 ( $y as xs:double, $x as xs:double ) as xs:double .`
| `cos ( $theta as xs:double? ) as xs:double? .`
| `exp ( $arg as xs:double? ) as xs:double? .`
| `exp10 ( $arg as xs:double? ) as xs:double? .`
| `log ( $arg as xs:double? ) as xs:double? .`
| `log10 ( $arg as xs:double? ) as xs:double? .`
| `pi ( ) as xs:double .`
| `pow ( $x as xs:double?, $y as numeric ) as xs:double? .`
| `sin ( $theta as xs:double? ) as xs:double? .`
| `sqrt ( $arg as xs:double? ) as xs:double? .`
| `tan ( $theta as xs:double? ) as xs:double? .`

Functions
acos

    declare function math:acos (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:acos

asin

    declare function math:asin (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:asin

atan

    declare function math:atan (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:atan

atan2

    declare function math:atan2 (
                $y as xs:double,
                $x as xs:double
    ) as xs:double

No description available.

See:

- for semantics please check math:atan2

cos

    declare function math:cos (
                $theta as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:cos

exp

    declare function math:exp (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:exp

exp10

    declare function math:exp10 (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:exp10

log

    declare function math:log (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:log

log10

    declare function math:log10 (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:log10

pi

    declare function math:pi (

    ) as xs:double

No description available.

See:

- for semantics please check math:pi

pow

    declare function math:pow (
                $x as xs:double?,
                $y as numeric
    ) as xs:double?

No description available.

See:

- for semantics please check math:pow

sin

    declare function math:sin (
                $theta as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:sin

sqrt

    declare function math:sqrt (
                $arg as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:sqrt

tan

    declare function math:tan (
                $theta as xs:double?
    ) as xs:double?

No description available.

See:

- for semantics please check math:tan

blog comments powered by Disqus