-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathops.h
More file actions
20 lines (11 loc) · 679 Bytes
/
ops.h
File metadata and controls
20 lines (11 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef OPS_H
#define OPS_H
#include "Linear.h"
using namespace std;
void new_mul(mpz_class l, mpz_class r, Linear& nl, Linear& nr, Linear& no, struct counts& cnts, vector<struct mul>& mul_data);
void new_temp(mpz_class v, Linear& nt, struct counts& cnts);
void new_const(mpz_class v, Linear& nc);
Linear new_multiplication(Linear& l, Linear& r, struct counts& cnts, vector<Linear>& eqs, vector<struct mul>& mul_data, bool addeqs = true);
Linear new_division(Linear& l, Linear& r, struct counts& cnts, vector<Linear>& eqs, vector<struct mul>& mul_data);
Linear new_xor(Linear& l, Linear& r, struct counts& cnts, vector<Linear>& eqs, vector<struct mul>& mul_data);
#endif