23 #if ! defined (octave_fCMatrix_h) 24 #define octave_fCMatrix_h 1 26 #include "octave-config.h" 58 typedef void (*solve_singularity_handler) (
float rcon);
117 bool ishermitian (
void)
const;
119 OCTAVE_DEPRECATED (4.4,
"use 'ishermitian' instead")
121 {
return ishermitian (); }
200 float& rcon,
bool force,
bool calc_cond)
const;
203 float& rcon,
bool force,
bool calc_cond)
const;
209 bool force =
false,
bool calc_cond =
true)
const;
214 float& rcon,
bool force =
false,
215 bool calc_cond =
true)
const;
228 bool calc_cond =
true)
const;
230 float& rcon,
bool calc_cond =
true)
const;
232 float rcond (
void)
const;
239 solve_singularity_handler sing_handler,
240 bool calc_cond =
false,
246 solve_singularity_handler sing_handler,
247 bool calc_cond =
false,
253 solve_singularity_handler sing_handler,
254 bool calc_cond =
false)
const;
265 float& rcon, solve_singularity_handler sing_handler,
266 bool singular_fallback =
true,
277 solve_singularity_handler sing_handler,
278 bool singular_fallback =
true,
289 solve_singularity_handler sing_handler,
303 solve_singularity_handler sing_handler,
313 solve_singularity_handler sing_handler,
323 solve_singularity_handler sing_handler,
334 solve_singularity_handler sing_handler,
346 solve_singularity_handler sing_handler,
435 friend OCTAVE_API std::ostream&
operator << (std::ostream&
os,
437 friend OCTAVE_API std::istream&
operator >> (std::istream&
is,
FloatComplexMatrix complex_matrix_type
void resize(octave_idx_type nr, octave_idx_type nc, const FloatComplex &rfv=FloatComplex(0))
FloatComplexMatrix transpose(void) const
FloatRowVector real_row_vector_type
OCTAVE_EXPORT octave_value_list column
FloatComplexRowVector row_vector_type
Template for N-dimensional array classes with like-type math operators.
FloatComplexRowVector & fill(float val)
bool operator!=(const dim_vector &a, const dim_vector &b)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
OCTAVE_API FloatComplexMatrix operator*(const FloatColumnVector &a, const FloatComplexRowVector &b)
MArray< T > hermitian(T(*fcn)(const T &)=nullptr) const
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
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
#define SM_CMP_OP_DECLS(S, M, API)
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
Array< FloatComplex > as_matrix(void) const
Return the array as a matrix.
OCTAVE_API FloatComplexMatrix Sylvester(const FloatComplexMatrix &, const FloatComplexMatrix &, const FloatComplexMatrix &)
#define MARRAY_FORWARD_DEFS(B, R, T)
FloatComplexMatrix hermitian(void) const
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)
Array< FloatComplex > index(const idx_vector &i) const
Indexing without resizing.
#define SM_BOOL_OP_DECLS(S, M, API)
#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)
Resizing (with fill).
static M ltsolve(const SM &L, const ColumnVector &Q, const M &m)
FloatComplexMatrix(octave_idx_type r, octave_idx_type c)
FloatComplexMatrix(octave_idx_type r, octave_idx_type c, const FloatComplex &val)
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)
Array< FloatComplex > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
FloatMatrix real_matrix_type
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
FloatComplexRowVector extract_n(octave_idx_type c1, octave_idx_type n) const
#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.
FloatComplexMatrix operator+=(FloatComplexMatrix &x, const FloatComplex &y)
FloatComplexRowVector extract(octave_idx_type c1, octave_idx_type c2) const
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