Loading...
Searching...
No Matches
IIntvec.h
Go to the documentation of this file.
#ifndef ITERATABLE_INTVEC_H
#define ITERATABLE_INTVEC_H
#include <vector>
#include "misc/intvec.h"
class Intvec: public std::vector<int>
{
public:
Intvec(iterator first,
iterator last,
const allocator_type& __a = allocator_type()):
std::vector<int>(first,last,__a){}
Intvec(int n=0):std::vector<int>(n){}
Intvec(intvec& iv):std::vector<int>(iv.length())
{
int n=iv.length();
for(int i=0;i<n;i++)
{
(*this)[i]=iv[i];
}
}
intvec* allocate_legacy_intvec_copy() const
{
int s=size();
intvec* iv=new intvec(s);
for(int i=0;i<s;i++)
{
(*iv)[i]=(*this)[i];
}
return iv;
}
};
#endif
size
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition cf_ops.cc:600
i
int i
Definition cfEzgcd.cc:132
Intvec::Intvec
Intvec(intvec &iv)
Definition IIntvec.h:13
Intvec::Intvec
Intvec(int n=0)
Definition IIntvec.h:12
Intvec::Intvec
Intvec(iterator first, iterator last, const allocator_type &__a=allocator_type())
Definition IIntvec.h:8
Intvec::allocate_legacy_intvec_copy
intvec * allocate_legacy_intvec_copy() const
Definition IIntvec.h:21
intvec
Definition intvec.h:24
intvec::length
int length() const
Definition intvec.h:95
s
const CanonicalForm int s
Definition facAbsFact.cc:51
last
STATIC_VAR poly last
Definition hdegree.cc:1138
length
static BOOLEAN length(leftv result, leftv arg)
Definition interval.cc:257
intvec.h