47 const octave_idx_type&,
const Complex*,
48 const octave_idx_type&,
const Complex&,
49 Complex*,
const octave_idx_type&
82 if (r < 0 || r + a_len >
length ())
84 (*current_liboctave_error_handler) (
"range error for insert");
104 if (r < 0 || r + a_len >
length ())
106 (*current_liboctave_error_handler) (
"range error for insert");
159 if (r1 < 0 || r2 < 0 || r1 >= len || r2 >= len)
161 (*current_liboctave_error_handler) (
"range error for fill");
165 if (r1 > r2) { std::swap (r1, r2); }
184 if (r1 < 0 || r2 < 0 || r1 >= len || r2 >= len)
186 (*current_liboctave_error_handler) (
"range error for fill");
190 if (r1 > r2) { std::swap (r1, r2); }
210 retval.
insert (a, nr_insert);
221 retval.
insert (a, nr_insert);
240 return do_mx_unary_map<double, Complex, std::abs> (*this);
246 return do_mx_unary_map<Complex, Complex, std::conj<double> > (a);
254 if (r1 > r2) { std::swap (r1, r2); }
357 nr, nc, 1.0, m.
data (), nr,
358 a.
data (), 1, 0.0, y, 1
393 if (nc == 0 || nr == 0)
402 result.
elem (i) = 0.0;
421 if (nc == 0 || nr == 0)
430 result.
elem (i) = 0.0;
449 if (nc == 0 || nr == 0)
458 result.
elem (i) = 0.0;
512 os << a.
elem (i) <<
"\n";
void mx_inline_add2(size_t n, R *r, const X *x)
ComplexColumnVector & insert(const ColumnVector &a, octave_idx_type r)
#define F77_CHAR_ARG_LEN(l)
void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
void mx_inline_sub2(size_t n, R *r, const X *x)
ComplexRowVector transpose(void) const
T elem(octave_idx_type r, octave_idx_type c) const
std::ostream & operator<<(std::ostream &os, const ComplexColumnVector &a)
ColumnVector abs(void) const
bool operator==(const ComplexColumnVector &a) const
octave_idx_type rows(void) const
MArray< T > transpose(void) const
T & elem(octave_idx_type n)
#define F77_XFCN(f, F, args)
octave_idx_type rows(void) const
F77_RET_T const double const double double * d
#define F77_CONST_CHAR_ARG2(x, l)
ComplexColumnVector & operator+=(const ColumnVector &a)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
ComplexColumnVector conj(const ComplexColumnVector &a)
ComplexColumnVector extract_n(octave_idx_type r1, octave_idx_type n) const
ComplexColumnVector extract(octave_idx_type r1, octave_idx_type r2) const
bool operator!=(const ComplexColumnVector &a) const
const Complex * data(void) const
ComplexColumnVector operator*(const ComplexMatrix &m, const ColumnVector &a)
void clear(octave_idx_type n)
ComplexColumnVector & operator-=(const ColumnVector &a)
MArray< T > hermitian(T(*fcn)(const T &)=0) const
ComplexRowVector hermitian(void) const
Complex & xelem(octave_idx_type n)
octave_idx_type cols(void) const
ComplexColumnVector & fill(double val)
octave_idx_type length(void) const
Number of elements in the array.
ComplexColumnVector(void)
#define F77_CONST_CHAR_ARG_DECL
ComplexColumnVector stack(const ColumnVector &a) const
F77_RET_T F77_FUNC(zgemv, ZGEMV)(F77_CONST_CHAR_ARG_DECL
F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex const octave_idx_type const Complex const octave_idx_type const Complex Complex const octave_idx_type & F77_CHAR_ARG_LEN_DECL
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
std::complex< double > Complex
const Complex * fortran_vec(void) const
bool mx_inline_equal(size_t n, const T1 *x, const T2 *y)
octave_idx_type cols(void) const
std::istream & operator>>(std::istream &is, ComplexColumnVector &a)