26 #if defined (HAVE_CONFIG_H)
42 bool isvector = (
x.columns () == 1 ||
x.rows () == 1);
43 bool iscomplex =
x.iscomplex ();
44 bool issparse =
x.issparse ();
45 bool isfloat =
x.is_single_type ();
47 if (! isfloat && !
x.is_double_type ())
54 if (isfloat & iscomplex)
78 if (isfloat & iscomplex)
99 bool iscomplex =
x.iscomplex ();
100 bool issparse =
x.issparse ();
101 bool isfloat =
x.is_single_type ();
103 if (! isfloat && !
x.is_double_type ())
117 if (isfloat & iscomplex)
138 bool iscomplex =
x.iscomplex ();
139 bool issparse =
x.issparse ();
140 bool isfloat =
x.is_single_type ();
142 if (! isfloat && !
x.is_double_type ())
156 if (isfloat & iscomplex)
177 bool iscomplex =
x.iscomplex ();
178 bool issparse =
x.issparse ();
179 bool isfloat =
x.is_single_type ();
181 if (! isfloat && !
x.is_double_type ())
193 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
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void err_wrong_type_arg(const char *name, const char *s)
F77_RET_T const F77_DBLE * x
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)