26 #if defined (HAVE_CONFIG_H)
45 int nargin = args.
length ();
47 if (nargin < 1 || nargin > 2)
54 for (
int i = 0; i < dims.
ndims (); i++)
60 Matrix val = args(1).xmatrix_value (
"%s: SIZE must be a vector of length dim", fcn);
66 error (
"%s: SIZE must be a vector of length dim", fcn);
68 for (
int i = 0; i < dims.
ndims (); i++)
71 error (
"%s: SIZE has invalid NaN entries", fcn);
73 error (
"%s: all dimensions in SIZE must be greater than zero", fcn);
143 return do_fftn (args,
"fftn", 0);
146 DEFUN (ifftn, args, ,
162 return do_fftn (args,
"ifftn", 1);
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type columns(void) const
OCTARRAY_API void resize(const dim_vector &dv, const T &rfv)
Size of the specified dimension.
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type rows(void) const
OCTAVE_API ComplexNDArray fourierNd(void) const
OCTAVE_API ComplexNDArray ifourierNd(void) const
OCTAVE_API FloatComplexNDArray ifourierNd(void) const
OCTAVE_API FloatComplexNDArray fourierNd(void) const
OCTAVE_API FloatComplexNDArray fourierNd(void) const
OCTAVE_API FloatComplexNDArray ifourierNd(void) const
Matrix transpose(void) const
OCTAVE_API ComplexNDArray fourierNd(void) const
OCTAVE_API ComplexNDArray ifourierNd(void) const
Vector representing the dimensions (size) of an Array.
bool all_zero(void) const
octave_idx_type ndims(void) const
Number of dimensions.
octave_idx_type length(void) const
ComplexNDArray complex_array_value(bool frc_str_conv=false) const
NDArray array_value(bool frc_str_conv=false) const
bool is_single_type(void) const
FloatComplexNDArray float_complex_array_value(bool frc_str_conv=false) const
FloatNDArray float_array_value(bool frc_str_conv=false) const
bool iscomplex(void) const
dim_vector dims(void) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
OCTINTERP_API void print_usage(void)
#define DEFUN(name, args_name, nargout_name, doc)
Macro to define a builtin function.
void error(const char *fmt,...)
void err_wrong_type_arg(const char *name, const char *s)
static octave_value do_fftn(const octave_value_list &args, const char *fcn, int type)
octave_idx_type nint_big(double x)
return octave_value(v1.char_array_value() . concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string()) ? '\'' :'"'))