++ed by:
5 non-PAUSE users
Daniel Șuteu
and 1 contributors

# NAME

Sidef::Types::Number::Quaternion

# DESCRIPTION

This class implements ...

# SYNOPSIS

var obj = Quaternion(...)

# INHERITS

Inherits methods from:

``       * Sidef::Types::Number::Number``

# METHODS

## !=

``    a != b``

Returns the

Aliases: ne

## %

``    a % b``

Returns the

Aliases: mod

## &

``    a & b``

Returns the

Aliases: and

## *

``    a * b``

Returns the

Aliases: mul

## **

``    a ** b``

Returns the

Aliases: pow

## +

``    a + b``

Returns the

## ++

``    a ++ b``

Returns the

Aliases: inc

## -

``    a - b``

Returns the

Aliases: sub

## --

``    a -- b``

Returns the

Aliases: dec

## /

``    a / b``

Returns the

Aliases: ÷, div

## <

``    a < b``

Returns the

Aliases: lt

## <<

``    a << b``

Returns the

Aliases: lsft, shift_left

## <=>

``    a <=> b``

Returns the

Aliases: cmp

## ==

``    a == b``

Returns the

Aliases: eq

## >

``    a > b``

Returns the

Aliases: gt

## >>

``    a >> b``

Returns the

Aliases: rsft, shift_right

## ^

``    a ^ b``

Returns the

Aliases: xor

## |

``    a | b``

Returns the

Aliases: or

## ≤

``    a ≤ b``

Returns the

Aliases: <=, le

## ≥

``    a ≥ b``

Returns the

Aliases: >=, ge

## a

``    Quaternion.a()``

Returns the

Aliases: re, real

## abs

``    Quaternion.abs()``

Returns the

## b

``    Quaternion.b()``

Returns the

## c

``    Quaternion.c()``

Returns the

## ceil

``    Quaternion.ceil()``

Returns the

## conj

``    Quaternion.conj()``

Returns the

## d

``    Quaternion.d()``

Returns the

## dump

``    Quaternion.dump()``

Returns the

## float

``    Quaternion.float()``

Returns the

## floor

``    Quaternion.floor()``

Returns the

## inv

``    Quaternion.inv()``

Returns the

## invmod

``    Quaternion.invmod()``

Returns the

## is_coprime

``    Quaternion.is_coprime()``

Returns the

## is_mone

``    Quaternion.is_mone()``

Returns the

## is_one

``    Quaternion.is_one()``

Returns the

## is_zero

``    Quaternion.is_zero()``

Returns the

## neg

``    Quaternion.neg()``

Returns the

## new

``    Quaternion.new()``

Returns the

Aliases: call

## norm

``    Quaternion.norm()``

Returns the

## parts

``    Quaternion.parts()``

Returns the

## powmod

``    Quaternion.powmod()``

Returns the

## reals

``    Quaternion.reals()``

Returns the

## round

``    Quaternion.round()``

Returns the

## sgn

``    Quaternion.sgn()``

Returns the

## sqr

``    Quaternion.sqr()``

Returns the

## to_c

``    Quaternion.to_c()``

Returns the

Aliases: to_n

## to_gauss

``    Quaternion.to_gauss()``

Returns the

## to_s

``    Quaternion.to_s()``

Returns the