Back to index

Public Member Functions | Private Attributes | Friends
polynomial_rep Class Reference

#include <polynomial.hpp>

Inheritance diagram for polynomial_rep:
Inheritance graph
Collaboration diagram for polynomial_rep:
Collaboration graph

List of all members.

Public Member Functions

 polynomial_rep (T *a2, int n2)
 ~polynomial_rep ()

Private Attributes

int n
int ref_count


class polynomial< T >
int N LESSGTR (polynomial< T > a)
T *A LESSGTR (polynomial< T > a)

Detailed Description

Definition at line 29 of file polynomial.hpp.

Constructor & Destructor Documentation

polynomial_rep::polynomial_rep ( T a2,
int  n2 
) [inline]

Definition at line 33 of file polynomial.hpp.

                                       : n(n2), a(a2) {
    while (n > 0 && a[n-1] == 0) n--; }

Definition at line 35 of file polynomial.hpp.

{ if (a != NULL) tm_delete_array (a); }

Here is the call graph for this function:

Friends And Related Function Documentation

int N LESSGTR ( polynomial< T a) [friend]
T* A LESSGTR ( polynomial< T a) [friend]
friend class polynomial< T > [friend]

Definition at line 36 of file polynomial.hpp.

Member Data Documentation

T* polynomial_rep::a [private]

Definition at line 31 of file polynomial.hpp.

int polynomial_rep::n [private]

Definition at line 30 of file polynomial.hpp.

int concrete_struct::ref_count [inherited]

Definition at line 135 of file basic.hpp.

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