1 #include <../../nrnconf.h>
38 static char rcsid[] =
"givens.c,v 1.1 1997/12/04 17:55:22 hines Exp";
55 { *
c = 1.0; *s = 0.0; }
57 { *
c = x/norm; *s = y/norm; }
70 if (
i >= x->dim ||
k >= x->dim )
95 if (
i >= mat->m ||
k >= mat->m )
100 for (
j=0;
j<mat->n;
j++ )
124 if (
i >= mat->n ||
k >= mat->n )
129 for (
j=0;
j<mat->m;
j++ )
#define error(err_num, fn_name)
void givens(double x, double y, Real *c, Real *s)
VEC * rot_vec(VEC *x, u_int i, u_int k, double c, double s, VEC *out)
MAT * rot_cols(MAT *mat, u_int i, u_int k, double c, double s, MAT *out)
MAT * rot_rows(MAT *mat, u_int i, u_int k, double c, double s, MAT *out)
static Object ** m_resize(void *v)
#define m_set_val(A, i, j, val)
#define v_set_val(x, i, val)
static philox4x32_key_t k