25 #if defined (HAVE_CONFIG_H)
49 if (len != a.
numel ())
67 if (r < 0 || r + a_len >
numel ())
68 (*current_liboctave_error_handler) (
"range error for insert");
86 if (r < 0 || r + a_len >
numel ())
87 (*current_liboctave_error_handler) (
"range error for insert");
137 if (r1 < 0 || r2 < 0 || r1 >= len || r2 >= len)
138 (*current_liboctave_error_handler) (
"range error for fill");
159 if (r1 < 0 || r2 < 0 || r1 >= len || r2 >= len)
160 (*current_liboctave_error_handler) (
"range error for fill");
182 retval.insert (a, nr_insert);
193 retval.insert (a, nr_insert);
212 return do_mx_unary_map<double, Complex, std::abs> (*this);
218 return do_mx_unary_map<Complex, Complex, std::conj<double> > (
a);
321 F77_XFCN (zgemv, ZGEMV, (F77_CONST_CHAR_ARG2 (
"N", 1),
326 F77_CHAR_ARG_LEN (1)));
355 if (nc == 0 || nr == 0)
364 result.
elem (
i) = 0.0;
380 if (nc == 0 || nr == 0)
389 result.
elem (
i) = 0.0;
405 if (nc == 0 || nr == 0)
414 result.
elem (
i) = 0.0;
468 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)
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
octave_idx_type numel(void) const
Number of elements in the array.
identity matrix If supplied two scalar respectively For allows like xample val
bool operator==(const ComplexColumnVector &a) const
#define F77_DBLE_CMPLX_ARG(x)
octave_idx_type rows(void) const
MArray< T > transpose(void) const
T & elem(octave_idx_type n)
Template for N-dimensional array classes with like-type math operators.
#define F77_XFCN(f, F, args)
octave_idx_type rows(void) const
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
ComplexColumnVector & operator+=(const ColumnVector &a)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
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
nd deftypefn *octave_map m
bool operator!=(const ComplexColumnVector &a) const
const Complex * data(void) const
ComplexColumnVector operator*(const ComplexMatrix &m, const ColumnVector &a)
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
void clear(octave_idx_type n)
ComplexColumnVector & operator-=(const ColumnVector &a)
MArray< T > hermitian(T(*fcn)(const T &)=0) const
With real return the complex result
ComplexRowVector hermitian(void) const
Complex & xelem(octave_idx_type n)
octave_idx_type cols(void) const
ComplexColumnVector & fill(double val)
#define F77_CONST_DBLE_CMPLX_ARG(x)
ComplexColumnVector(void)
ComplexColumnVector stack(const ColumnVector &a) const
=val(i)}if ode{val(i)}occurs in table i
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs(local error in x(i))<
the element is set to zero In other the statement xample y
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)
write the output to stdout if nargout is