Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:15:08

0001 /*
0002     Copyright (C) 2023 Albin Ahlbäck
0003 
0004     This file is part of FLINT.
0005 
0006     FLINT is free software: you can redistribute it and/or modify it under
0007     the terms of the GNU Lesser General Public License (LGPL) as published
0008     by the Free Software Foundation; either version 3 of the License, or
0009     (at your option) any later version.  See <https://www.gnu.org/licenses/>.
0010 */
0011 
0012 #ifndef ARB_TYPES_H
0013 #define ARB_TYPES_H
0014 
0015 #include "arf_types.h"
0016 
0017 #ifdef __cplusplus
0018 extern "C" {
0019 #endif
0020 
0021 typedef struct
0022 {
0023     fmpz exp;
0024     ulong man;
0025 }
0026 mag_struct;
0027 
0028 typedef mag_struct mag_t[1];
0029 typedef mag_struct * mag_ptr;
0030 typedef const mag_struct * mag_srcptr;
0031 
0032 typedef struct
0033 {
0034     arf_struct mid;
0035     mag_struct rad;
0036 }
0037 arb_struct;
0038 
0039 typedef arb_struct arb_t[1];
0040 typedef arb_struct * arb_ptr;
0041 typedef const arb_struct * arb_srcptr;
0042 
0043 typedef struct
0044 {
0045     arb_ptr entries;
0046     slong r;
0047     slong c;
0048     slong stride;
0049 }
0050 arb_mat_struct;
0051 
0052 typedef arb_mat_struct arb_mat_t[1];
0053 
0054 typedef struct
0055 {
0056     arb_ptr coeffs;
0057     slong alloc;
0058     slong length;
0059 }
0060 arb_poly_struct;
0061 
0062 typedef arb_poly_struct arb_poly_t[1];
0063 
0064 #ifdef __cplusplus
0065 }
0066 #endif
0067 
0068 #endif /* ARB_TYPES_H */