NZMATH  1.2.0 About: NZMATH is a Python based number theory oriented calculation system.   Fossies Dox: NZMATH-1.2.0.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)
nzmath.arith1._Issquare Class Reference

## Public Member Functions

def __call__ (self, c)

## Static Public Attributes

list q11 = [1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0]

list q63

list q64

list q65

## Detailed Description

```A class for testing whether a number is square or not.
The function issquare is an instance of the class, indeed.
```

Definition at line 281 of file arith1.py.

## ◆ __call__()

 def nzmath.arith1._Issquare.__call__ ( self, c )
```Test whether a given number is a square number or not.  If
the number is a square number, the function returns its square
root.  Otherwise zero is returned.
```

Definition at line 297 of file arith1.py.

## ◆ q11

 list nzmath.arith1._Issquare.q11 = [1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 0]
static

Definition at line 286 of file arith1.py.

Referenced by nzmath.arith1._Issquare.__call__().

## ◆ q63

 list nzmath.arith1._Issquare.q63
static
Initial value:
= [1, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1,
0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0,
1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0]

Definition at line 287 of file arith1.py.

Referenced by nzmath.arith1._Issquare.__call__().

## ◆ q64

 list nzmath.arith1._Issquare.q64
static
Initial value:
= [1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0,
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0]

Definition at line 290 of file arith1.py.

Referenced by nzmath.arith1._Issquare.__call__().

## ◆ q65

 list nzmath.arith1._Issquare.q65
static
Initial value:
= [1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0,
0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0,
0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1]

Definition at line 293 of file arith1.py.

Referenced by nzmath.arith1._Issquare.__call__().

The documentation for this class was generated from the following file: