23 #if defined (HAVE_CONFIG_H) 43 if (len !=
a.numel ())
61 if (c < 0 || c + a_len >
numel ())
62 (*current_liboctave_error_handler) (
"range error for insert");
81 if (c < 0 || c + a_len >
numel ())
82 (*current_liboctave_error_handler) (
"range error for insert");
132 if (c1 < 0 || c2 < 0 || c1 >= len || c2 >= len)
133 (*current_liboctave_error_handler) (
"range error for fill");
154 if (c1 < 0 || c2 < 0 || c1 >= len || c2 >= len)
155 (*current_liboctave_error_handler) (
"range error for fill");
207 return do_mx_unary_map<FloatComplex, FloatComplex, std::conj<float>> (
a);
304 F77_XFCN (cgemv, CGEMV, (F77_CONST_CHAR_ARG2 (
"T", 1),
307 F77_CHAR_ARG_LEN (1)));
369 os <<
' ' <<
a.elem (
i);
411 F77_INT a_len = octave::to_f77_int (
a.numel ());
439 retval(
i) = x1 +
static_cast<float> (
i)*delta;
FloatComplexRowVector append(const FloatRowVector &a) const
void mx_inline_add2(size_t n, R *r, const X *x)
FloatComplexRowVector conj(const FloatComplexRowVector &a)
void mx_inline_sub2(size_t n, R *r, const X *x)
FloatComplexRowVector & fill(float val)
const FloatComplex * data(void) const
MArray< T > hermitian(T(*fcn)(const T &)=nullptr) const
identity matrix If supplied two scalar respectively For allows like xample val
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 const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE * f
std::ostream & operator<<(std::ostream &os, const FloatComplexRowVector &a)
const FloatComplex * fortran_vec(void) const
FloatComplex min(void) const
FloatComplexColumnVector hermitian(void) const
FloatComplexRowVector operator*(const FloatComplexRowVector &v, const FloatComplexMatrix &a)
FloatComplex & elem(octave_idx_type n)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
MArray< T > transpose(void) const
#define F77_XFCN(f, F, args)
FloatComplexRowVector & operator+=(const FloatRowVector &a)
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 const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
octave_value resize(const dim_vector &dv, bool fill=false) const
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
bool operator==(const FloatComplexRowVector &a) const
FloatComplexRowVector linspace(const FloatComplex &x1, const FloatComplex &x2, octave_idx_type n)
std::istream & operator>>(std::istream &is, FloatComplexRowVector &a)
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
FloatComplex max(void) const
F77_RET_T F77_FUNC(xerbla, XERBLA)
With real return the complex result
FloatComplex & xelem(octave_idx_type n)
This is a simple wrapper template that will subclass an Array<T> type or any later type derived from ...
octave_f77_int_type F77_INT
bool operator!=(const FloatComplexRowVector &a) const
FloatComplexRowVector extract_n(octave_idx_type c1, octave_idx_type n) const
the element is set to zero In other the statement xample y
FloatComplexColumnVector transpose(void) const
#define F77_CONST_CMPLX_ARG(x)
std::complex< float > FloatComplex
FloatComplexRowVector & insert(const FloatRowVector &a, octave_idx_type c)
octave_idx_type numel(void) const
Number of elements in the array.
bool mx_inline_equal(size_t n, const T1 *x, const T2 *y)
write the output to stdout if nargout is
FloatComplexRowVector extract(octave_idx_type c1, octave_idx_type c2) const
subroutine xcdotu(n, zx, incx, zy, incy, retval)
FloatComplexRowVector & operator-=(const FloatRowVector &a)