diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/matrixOperations/includes/chol.h | 4 | ||||
-rw-r--r-- | src/matrixOperations/interfaces/int_chol.h | 34 |
2 files changed, 36 insertions, 2 deletions
diff --git a/src/matrixOperations/includes/chol.h b/src/matrixOperations/includes/chol.h index 54daf305..4b2655fc 100644 --- a/src/matrixOperations/includes/chol.h +++ b/src/matrixOperations/includes/chol.h @@ -25,11 +25,11 @@ void dchola(double *in, int size, double *out); float schols(float in); void schola(float *in, int size, float *out); -#define zchols(in) dchols(zreals(in)) +#define zchols(in) DoubleComplex(dchols(zreals(in)),0) void zchola (doubleComplex *in, int size, doubleComplex *out); -#define cchols(in) schols(creals(in)) +#define cchols(in) FloatComplex(schols(creals(in)),0) void cchola(floatComplex *in, int size, floatComplex *out); diff --git a/src/matrixOperations/interfaces/int_chol.h b/src/matrixOperations/interfaces/int_chol.h new file mode 100644 index 00000000..861ad4d1 --- /dev/null +++ b/src/matrixOperations/interfaces/int_chol.h @@ -0,0 +1,34 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +/* THIS IS AN AUTOMATICALLY GENERATED FILE : DO NOT EDIT BY HAND. */ + +#ifndef __INT_CHOL_H__ +#define __INT_CHOL_H__ + +#define s0chols0(in) schols(in) + +#define d0chold0(in) dchols(in) + +#define c0cholc0(in) cchols(in) + +#define z0cholz0(in) zchols(in) + +#define s2chols2(in,size,out) schola(in, size[0], out) + +#define d2chold2(in,size,out) dchola(in, size[0], out) + +#define c2cholc2(in,size,out) cchola(in, size[0], out) + +#define z2cholz2(in,size,out) zchola(in, size[0], out) + +#endif /* !__INT_CHOL_H__ */ |