Singular Manual: bigintvec operations

| ### 4.4.4 bigintvec operations `+` addition with intvec, int, or bigint. In case of (big-)int, it is added to every entry of the vector. `-` negation or subtraction with intvec, int, or bigint. In case of (big-)int, it is subtracted from every entry of the matrix. `*` multiplication with int, or bigint; every entry of the vector is multiplied by the (big-)int `<>`, `==` comparators bigintvec_expression `[` int `]` is a bigintvec entry. Example:
      bigintvec v = 3,3,6,3,5,2,2,7,0,0,45,3;
      v;
    ==> 3,3,6,3,5,2,2,7,0,0,45,3
      v[3];               // show entry at [3]
    ==> 6
      v[3] = 10;          // set entry at [3] to 10
      v;
    ==> 3,3,10,3,5,2,2,7,0,0,45,3
      size(v);         // number of entries
    ==> 12
      -v;
    ==> -3,-3,-10,-3,-5,-2,-2,-7,0,0,-45,-3
      v-10;
    ==> -7,0,0,0,0,0,0,0,0,0,0,0
      v*2;           // double each entry of v
    ==> 6,6,20,6,10,4,4,14,0,0,90,6

User manual for Singular version 4.4.0, 2024, generated by texi2html.