26 #if defined (HAVE_CONFIG_H)
40 bool isvector = (
x.columns () == 1 ||
x.rows () == 1);
41 bool iscomplex =
x.iscomplex ();
42 bool issparse =
x.issparse ();
43 bool isfloat =
x.is_single_type ();
45 if (! isfloat && !
x.is_double_type ())
52 if (isfloat & iscomplex)
76 if (isfloat & iscomplex)
97 bool iscomplex =
x.iscomplex ();
98 bool issparse =
x.issparse ();
99 bool isfloat =
x.is_single_type ();
101 if (! isfloat && !
x.is_double_type ())
115 if (isfloat & iscomplex)
136 bool iscomplex =
x.iscomplex ();
137 bool issparse =
x.issparse ();
138 bool isfloat =
x.is_single_type ();
140 if (! isfloat && !
x.is_double_type ())
154 if (isfloat & iscomplex)
175 bool iscomplex =
x.iscomplex ();
176 bool issparse =
x.issparse ();
177 bool isfloat =
x.is_single_type ();
179 if (! isfloat && !
x.is_double_type ())
191 if (isfloat & iscomplex)
bool isvector(const dim_vector &dim)
float float_value(bool frc_str_conv=false) const
double double_value(bool frc_str_conv=false) const
void err_wrong_type_arg(const char *name, const char *s)
F77_RET_T const F77_DBLE * x
octave_value::octave_value(const Array< char > &chm, char type) return retval
octave_value xcolnorms(const octave_value &x, const octave_value &p)
octave_value xfrobnorm(const octave_value &x)
octave_value xrownorms(const octave_value &x, const octave_value &p)
octave_value xnorm(const octave_value &x, const octave_value &p)