My Project
UNKNOWN_GIT_VERSION
Singular
dyn_modules
python
IIntvec.h
Go to the documentation of this file.
1
#ifndef ITERATABLE_INTVEC_H
2
#define ITERATABLE_INTVEC_H
3
#include <vector>
4
#include "
misc/intvec.h
"
5
class
Intvec
:
public
std::vector<int>
6
{
7
public
:
8
Intvec
(iterator first,
9
iterator
last
,
10
const
allocator_type& __a = allocator_type()):
11
std::vector<int>(first,
last
,__a){}
12
Intvec
(
int
n=0):std::vector<int>(n){}
13
Intvec
(
intvec
& iv):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
}
21
intvec
*
allocate_legacy_intvec_copy
()
const
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
}
32
};
33
#endif
Intvec
Definition:
IIntvec.h:6
Intvec::allocate_legacy_intvec_copy
intvec * allocate_legacy_intvec_copy() const
Definition:
IIntvec.h:21
length
static BOOLEAN length(leftv result, leftv arg)
Definition:
interval.cc:263
i
int i
Definition:
cfEzgcd.cc:125
Intvec::Intvec
Intvec(int n=0)
Definition:
IIntvec.h:12
size
int size(const CanonicalForm &f, const Variable &v)
int size ( const CanonicalForm & f, const Variable & v )
Definition:
cf_ops.cc:600
intvec
Definition:
intvec.h:21
intvec.h
last
static poly last
Definition:
hdegree.cc:1077
s
const CanonicalForm int s
Definition:
facAbsFact.cc:55
Intvec::Intvec
Intvec(iterator first, iterator last, const allocator_type &__a=allocator_type())
Definition:
IIntvec.h:8
intvec::length
int length() const
Definition:
intvec.h:92
Intvec::Intvec
Intvec(intvec &iv)
Definition:
IIntvec.h:13
Generated on Thu Dec 17 2020 00:00:00 for My Project by
doxygen 1.8.20
for
Singular UNKNOWN_GIT_VERSION