GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 "oct-obj.h"
Go to the source code of this file.
Macros | |
#define | ARRAYCASE(TYP) |
Functions | |
template<class T > | |
static Array< T > | do_tril (const Array< T > &a, octave_idx_type k, bool pack) |
template<class T > | |
static Sparse< T > | do_tril (const Sparse< T > &a, octave_idx_type k, bool pack) |
template<class T > | |
static Array< T > | do_trilu (const Array< T > &a, octave_idx_type k, bool lower, bool pack) |
template<class 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<class T > | |
static Array< T > | do_triu (const Array< T > &a, octave_idx_type k, bool pack) |
template<class 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 | ) |
Referenced by do_trilu().
|
static |
Definition at line 43 of file tril.cc.
References Array< T >::columns(), Array< T >::dims(), Array< T >::fortran_vec(), max(), min(), and Array< T >::rows().
Referenced by do_trilu().
|
static |
Definition at line 129 of file tril.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), error(), Sparse< T >::maybe_compress(), and Sparse< T >::ridx().
|
static |
|
static |
|
static |
Definition at line 187 of file tril.cc.
References arg(), 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(), octave_value::do_index_op(), do_trilu(), error(), error_state, octave_value::is_sparse_type(), octave_value_list::length(), dim_vector::length(), octave_value::numel(), octave_value(), 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 84 of file tril.cc.
References Array< T >::columns(), Array< T >::dims(), Array< T >::fortran_vec(), max(), min(), and Array< T >::rows().
Referenced by do_trilu().
|
static |
Definition at line 151 of file tril.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), error(), Sparse< T >::maybe_compress(), and Sparse< T >::ridx().
OCTAVE_EXPORT octave_value_list Ftril | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 396 of file tril.cc.
References do_trilu().
OCTAVE_EXPORT octave_value_list Ftriu | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 407 of file tril.cc.
References do_trilu().