#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.
|
template<typename T > |
static 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) |
|
◆ ARRAYCASE
Value: case btyp_ ## TYP: \
retval =
do_trilu (arg.TYP ## _array_value (), k, lower, pack); \
break
static Array< T > do_trilu(const Array< T > &a, octave_idx_type k, bool lower, bool pack)
◆ do_tril() [1/2]
◆ do_tril() [2/2]
◆ do_trilu() [1/3]
◆ do_trilu() [2/3]
◆ do_trilu() [3/3]
Definition at line 186 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(), octave_value::do_index_op(), do_trilu(), error(), octave_value::isempty(), octave_value::issparse(), octave_value_list::length(), name, dim_vector::ndims(), print_usage(), octave_value::resize(), retval, octave_value::sparse_bool_matrix_value(), octave_value::sparse_complex_matrix_value(), octave_value::sparse_matrix_value(), and octave_value::subsasgn().
◆ do_triu() [1/2]
◆ do_triu() [2/2]
◆ Ftril()
◆ Ftriu()