23 #if ! defined (octave_fCMatrix_h)
24 #define octave_fCMatrix_h 1
26 #include "octave-config.h"
59 typedef void (*solve_singularity_handler) (
float rcon);
118 bool is_hermitian (
void)
const;
197 float& rcon,
bool force,
bool calc_cond)
const;
200 float& rcon,
bool force,
bool calc_cond)
const;
206 bool force =
false,
bool calc_cond =
true)
const;
211 float& rcon,
bool force =
false,
212 bool calc_cond =
true)
const;
225 bool calc_cond =
true)
const;
227 float& rcon,
bool calc_cond =
true)
const;
229 float rcond (
void)
const;
236 solve_singularity_handler sing_handler,
237 bool calc_cond =
false,
243 solve_singularity_handler sing_handler,
244 bool calc_cond =
false,
250 solve_singularity_handler sing_handler,
251 bool calc_cond =
false)
const;
262 float& rcon, solve_singularity_handler sing_handler,
263 bool singular_fallback =
true,
273 solve_singularity_handler sing_handler,
274 bool singular_fallback =
true,
285 solve_singularity_handler sing_handler,
299 solve_singularity_handler sing_handler,
309 solve_singularity_handler sing_handler,
319 solve_singularity_handler sing_handler,
330 solve_singularity_handler sing_handler,
342 solve_singularity_handler sing_handler,
431 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
433 friend OCTAVE_API std::istream&
operator >> (std::istream&
is,
FloatComplexMatrix transpose(void) const
Array< FloatComplex > as_matrix(void) const
Return the array as a matrix.
FloatComplexMatrix complex_matrix_type
void resize(octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv=FloatComplex(0))
FloatRowVector real_row_vector_type
OCTAVE_EXPORT octave_value_list column
FloatComplexRowVector row_vector_type
FloatComplexRowVector & fill(float val)
bool operator!=(const dim_vector &a, const dim_vector &b)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
FloatComplexMatrix hermitian(void) const
OCTAVE_API FloatComplexMatrix operator*(const FloatColumnVector &a, const FloatComplexRowVector &b)
identity matrix If supplied two scalar respectively For allows like xample val
OCTAVE_API FloatComplexMatrix linspace(const FloatComplexColumnVector &x1, const FloatComplexColumnVector &x2, octave_idx_type n)
OCTAVE_API FloatComplexMatrix conj(const FloatComplexMatrix &a)
OCTAVE_API FloatComplexMatrix min(const FloatComplex &c, const FloatComplexMatrix &m)
FloatComplex complex_elt_type
Array< FloatComplex > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
MArray< T > transpose(void) const
FloatComplexRowVector extract_n(octave_idx_type c1, octave_idx_type n) const
Template for N-dimensional array classes with like-type math operators.
#define SM_CMP_OP_DECLS(S, M, API)
OCTAVE_API FloatComplexMatrix Sylvester(const FloatComplexMatrix &, const FloatComplexMatrix &, const FloatComplexMatrix &)
#define MARRAY_FORWARD_DEFS(B, R, T)
FloatComplexMatrix(const dim_vector &dv, const FloatComplex &val)
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
FloatComplexMatrix(const MArray< U > &a)
FloatComplexRowVector extract(octave_idx_type c1, octave_idx_type c2) const
#define SM_BOOL_OP_DECLS(S, M, API)
nd deftypefn *octave_map m
#define MM_CMP_OP_DECLS(M1, M2, API)
FloatColumnVector real_column_vector_type
#define MM_BOOL_OP_DECLS(M1, M2, API)
void resize(const dim_vector &dv, const T &rfv)
static M ltsolve(const SM &L, const ColumnVector &Q, const M &m)
FloatComplexMatrix(octave_idx_type r, octave_idx_type c)
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
FloatComplexMatrix(octave_idx_type r, octave_idx_type c, const FloatComplex &val)
MArray< T > hermitian(T(*fcn)(const T &)=0) const
FloatComplexMatrix operator-=(FloatComplexMatrix &x, const FloatComplex &y)
FloatComplexColumnVector column_vector_type
bool operator==(const dim_vector &a, const dim_vector &b)
FloatComplexMatrix(const FloatComplexMatrix &a)
#define MS_CMP_OP_DECLS(M, S, API)
FloatDiagMatrix real_diag_matrix_type
N Dimensional Array with copy-on-write semantics.
FloatComplexMatrix(const Array< U > &a)
FloatComplexMatrix(const dim_vector &dv)
=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))<
FloatMatrix real_matrix_type
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
#define MS_BOOL_OP_DECLS(M, S, API)
static M utsolve(const SM &U, const ColumnVector &Q, const M &m)
std::complex< float > FloatComplex
FloatComplexDiagMatrix complex_diag_matrix_type
octave_value operator!(const octave_value &a)
FloatComplexRowVector & insert(const FloatRowVector &a, octave_idx_type c)
write the output to stdout if nargout is
OCTAVE_API FloatComplexMatrix xgemm(const FloatComplexMatrix &a, const FloatComplexMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
OCTAVE_API FloatComplexMatrix Givens(const FloatComplex &, const FloatComplex &)
Vector representing the dimensions (size) of an Array.
the second is matched to the second specifier and placed in the second column and so forth If there are more words than specifiers then the process is repeated until all words have been processed or the limit imposed by any(non-whitespace) text in the format that is not one of these specifiers is considered a literal.If there is a literal between two format specifiers then that same literal must appear in the input stream between the matching words.The following specifiers are valid
FloatComplexMatrix operator+=(FloatComplexMatrix &x, const FloatComplex &y)
OCTAVE_API FloatComplexMatrix max(const FloatComplex &c, const FloatComplexMatrix &m)
where the brackets indicate optional arguments and and character or cell array For character arrays the conversion is repeated for every row
Array< FloatComplex > index(const idx_vector &i) const
Indexing without resizing.