My Project
Public Member Functions
Intvec Class Reference

#include <IIntvec.h>

Public Member Functions

 Intvec (iterator first, iterator last, const allocator_type &__a=allocator_type())
 
 Intvec (int n=0)
 
 Intvec (intvec &iv)
 
intvecallocate_legacy_intvec_copy () const
 

Detailed Description

Definition at line 5 of file IIntvec.h.

Constructor & Destructor Documentation

◆ Intvec() [1/3]

Intvec::Intvec ( iterator  first,
iterator  last,
const allocator_type &  __a = allocator_type() 
)
inline

Definition at line 8 of file IIntvec.h.

10  :
11  std::vector<int>(first,last,__a){}
STATIC_VAR poly last
Definition: hdegree.cc:1150

◆ Intvec() [2/3]

Intvec::Intvec ( int  n = 0)
inline

Definition at line 12 of file IIntvec.h.

12 :std::vector<int>(n){}

◆ Intvec() [3/3]

Intvec::Intvec ( intvec iv)
inline

Definition at line 13 of file IIntvec.h.

13  :std::vector<int>(iv.length())
14  {
15  int n=iv.length();
16  for(int i=0;i<n;i++)
17  {
18  (*this)[i]=iv[i];
19  }
20  }
int i
Definition: cfEzgcd.cc:132
int length() const
Definition: intvec.h:94

Member Function Documentation

◆ allocate_legacy_intvec_copy()

intvec* Intvec::allocate_legacy_intvec_copy ( ) const
inline

Definition at line 21 of file IIntvec.h.

22  {
23  int s=size();
24  intvec* iv=new intvec(s);
25 
26  for(int i=0;i<s;i++)
27  {
28  (*iv)[i]=(*this)[i];
29  }
30  return iv;
31  }
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition: cf_ops.cc:600
Definition: intvec.h:23
const CanonicalForm int s
Definition: facAbsFact.cc:51

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