#include <algorithm>
#include "Array.h"
#include "Sparse.h"
#include "mx-base.h"
#include "ov.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "ovl.h"
Go to the source code of this file.
Macros | |
#define | ARRAYCASE(TYP) |
Functions | |
template<typename T > | |
static OCTAVE_NAMESPACE_BEGIN Array< T > | do_tril (const Array< T > &a, octave_idx_type k, bool pack) |
template<typename T > | |
static Sparse< T > | do_tril (const Sparse< T > &a, octave_idx_type k, bool pack) |
template<typename T > | |
static Array< T > | do_trilu (const Array< T > &a, octave_idx_type k, bool lower, bool pack) |
template<typename T > | |
static Sparse< T > | do_trilu (const Sparse< T > &a, octave_idx_type k, bool lower, bool pack) |
static octave_value | do_trilu (const std::string &name, const octave_value_list &args) |
template<typename T > | |
static Array< T > | do_triu (const Array< T > &a, octave_idx_type k, bool pack) |
template<typename T > | |
static Sparse< T > | do_triu (const Sparse< T > &a, octave_idx_type k, bool pack) |
OCTAVE_EXPORT octave_value_list | Ftril (const octave_value_list &args, int) |
OCTAVE_EXPORT octave_value_list | Ftriu (const octave_value_list &args, int) |
#define ARRAYCASE | ( | TYP | ) |
|
static |
Definition at line 47 of file tril.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::data(), Array< T, Alloc >::dims(), Array< T, Alloc >::fortran_vec(), max(), min(), and Array< T, Alloc >::rows().
Referenced by do_trilu().
|
static |
Definition at line 135 of file tril.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), error(), Sparse< T, Alloc >::maybe_compress(), and Sparse< T, Alloc >::ridx().
|
static |
|
static |
|
static |
Definition at line 188 of file tril.cc.
References octave_value::array_value(), ARRAYCASE, octave_value::bool_array_value(), btyp_bool, btyp_complex, btyp_double, octave_value::builtin_type(), octave_value::class_name(), octave_value::complex_array_value(), octave_value::dims(), do_trilu(), error(), octave_value::index_op(), octave_value::isempty(), octave_value::issparse(), octave_value_list::length(), max(), min(), name, dim_vector::ndims(), print_usage(), octave_value::resize(), octave_value::sparse_bool_matrix_value(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), and octave_value::subsasgn().
|
static |
Definition at line 89 of file tril.cc.
References Array< T, Alloc >::columns(), Array< T, Alloc >::data(), Array< T, Alloc >::dims(), Array< T, Alloc >::fortran_vec(), max(), min(), and Array< T, Alloc >::rows().
Referenced by do_trilu().
|
static |
Definition at line 155 of file tril.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), error(), Sparse< T, Alloc >::maybe_compress(), and Sparse< T, Alloc >::ridx().
OCTAVE_EXPORT octave_value_list Ftril | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 382 of file tril.cc.
References do_trilu().
Referenced by F__ichol0__(), F__icholt__(), F__ilu0__(), F__iluc__(), and F__ilutp__().
OCTAVE_EXPORT octave_value_list Ftriu | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 431 of file tril.cc.
References do_trilu().
Referenced by F__ilu0__(), F__iluc__(), and F__ilutp__().