source: git/ntl/src/RRTest.c @ 2cfffe

spielwiese
Last change on this file since 2cfffe was 2cfffe, checked in by Hans Schönemann <hannes@…>, 21 years ago
This commit was generated by cvs2svn to compensate for changes in r6316, which included commits to RCS files with non-trunk default branches. git-svn-id: file:///usr/local/Singular/svn/trunk@6317 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 296 bytes
Line 
1
2#include <NTL/mat_RR.h>
3
4NTL_CLIENT
5
6int main()
7{
8   mat_RR A;
9   vec_RR x, y, z;
10   RR d;
11
12   RR::SetPrecision(200);
13
14   cin >> A;
15   cin >> y;
16
17   solve(d, x, A, y);
18
19   // mul(z, x, A);
20   // sub(z, z, y);
21
22   z = x*A - y;
23
24   cout << d << "\n";
25   cout << x << "\n";
26   cout << z << "\n";
27}
Note: See TracBrowser for help on using the repository browser.