CiFEr
include
cifer
data
vec_float.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018 XLAB d.o.o.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef CIFER_VECTOR_FLOAT_H
18
#define CIFER_VECTOR_FLOAT_H
19
20
#include <gmp.h>
21
34
typedef
struct
cfe_vec_float
{
35
mpf_t *vec;
36
size_t
size
;
37
}
cfe_vec_float
;
38
46
void
cfe_vec_float_init
(
cfe_vec_float
*v,
size_t
size,
size_t
prec);
47
51
void
cfe_vec_float_free
(
cfe_vec_float
*v);
52
56
void
cfe_vec_float_get
(mpf_t res,
cfe_vec_float
*v,
size_t
i);
57
58
#endif
cfe_vec_float::size
size_t size
Definition:
vec_float.h:36
cfe_vec_float
Definition:
vec_float.h:34
cfe_vec_float
struct cfe_vec_float cfe_vec_float
cfe_vec_float_get
void cfe_vec_float_get(mpf_t res, cfe_vec_float *v, size_t i)
cfe_vec_float_init
void cfe_vec_float_init(cfe_vec_float *v, size_t size, size_t prec)
cfe_vec_float_free
void cfe_vec_float_free(cfe_vec_float *v)
Generated by
1.8.17