CiFEr
normal_double_constant.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_NORMAL_DOUBLE_CONSTANT_H
18 #define CIFER_NORMAL_DOUBLE_CONSTANT_H
19 
20 #include "normal.h"
21 
44  mpz_t k;
45  mpf_t k_square_inv;
46  mpz_t twice_k;
48 
57 
66 
76 
81 
86 
87 #endif
cfe_normal_double_constant
struct cfe_normal_double_constant cfe_normal_double_constant
cfe_vec
Definition: vec.h:41
cfe_normal_double_constant_free
void cfe_normal_double_constant_free(cfe_normal_double_constant *s)
cfe_normal_double_constant_sample_mat
void cfe_normal_double_constant_sample_mat(cfe_mat *res, cfe_normal_double_constant *s)
cfe_normal_double_constant_sample
void cfe_normal_double_constant_sample(mpz_t res, cfe_normal_double_constant *s)
cfe_normal_double_constant_sample_vec
void cfe_normal_double_constant_sample_vec(cfe_vec *res, cfe_normal_double_constant *s)
cfe_normal_double_constant
Definition: normal_double_constant.h:43
cfe_normal_double_constant_init
void cfe_normal_double_constant_init(cfe_normal_double_constant *s, mpz_t k)
normal.h
Normal sampler.
cfe_mat
Definition: mat.h:44