15 Real& operator[](
size_t i);
19Vector::operator[](
size_t i){
42static const Vector NullVector={0,
nullptr};
65 for(
size_t i=1;i<n;++i){
76 for(
size_t i=1;i<n;++i){
91indice3(
size_t i,
size_t j,
size_t k,
size_t nj,
size_t nk){
96indice4(
size_t i,
size_t j,
size_t k,
size_t l,
size_t nj,
size_t nk,
size_t nl){
97 return ((i*nj+j)*nk+k)*nl+l;
#define assert(cond)
Definition: debug.hpp:11
void display(Vector v, size_t n)
Definition: vector.hpp:59
size_t indice4(size_t i, size_t j, size_t k, size_t l, size_t nj, size_t nk, size_t nl)
Definition: vector.hpp:96
size_t argmax(Vector v, size_t n)
Definition: vector.hpp:72
void delete_vector(Vector v)
Definition: vector.hpp:53
double Real
Definition: vector.hpp:9
Vector init_vector(size_t n)
Definition: vector.hpp:48
size_t indice3(size_t i, size_t j, size_t k, size_t nj, size_t nk)
Definition: vector.hpp:91
size_t indice2(size_t i, size_t j, size_t nj)
Definition: vector.hpp:86
Real * Vector
Definition: vector.hpp:45