GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cfloat>
#include <iostream>
#include <vector>
#include <functional>
#include "quit.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "f77-fcn.h"
#include "dRowVector.h"
#include "oct-locbuf.h"
#include "dDiagMatrix.h"
#include "CSparse.h"
#include "boolSparse.h"
#include "dSparse.h"
#include "functor.h"
#include "oct-spparms.h"
#include "SparsedbleLU.h"
#include "MatrixType.h"
#include "oct-sparse.h"
#include "sparse-util.h"
#include "SparsedbleCHOL.h"
#include "SparseQR.h"
#include "Sparse-diag-op-defs.h"
#include "Sparse-perm-op-defs.h"
#include "sparse-dmsolve.cc"
Go to the source code of this file.
Macros | |
#define | COL_EXPR |
#define | EMPTY_RETURN_CHECK(T) |
#define | ROW_EXPR |
Variables | |
F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type double const octave_idx_type octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const octave_idx_type const double const octave_idx_type const octave_idx_type double const octave_idx_type octave_idx_type & | F77_CHAR_ARG_LEN_DECL |
#define COL_EXPR |
#define EMPTY_RETURN_CHECK | ( | T | ) |
Definition at line 7726 of file dSparse.cc.
#define ROW_EXPR |
SparseMatrix atan2 | ( | const double & | x, |
const SparseMatrix & | y | ||
) |
Definition at line 686 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by arg(), atan2(), Fatan2(), install_data_fcns(), and log1p().
SparseMatrix atan2 | ( | const SparseMatrix & | x, |
const double & | y | ||
) |
Definition at line 708 of file dSparse.cc.
References atan2(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
SparseMatrix atan2 | ( | const SparseMatrix & | x, |
const SparseMatrix & | y | ||
) |
Definition at line 749 of file dSparse.cc.
References atan2(), Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
F77_RET_T F77_FUNC | ( | dgbtrf | , |
DGBTRF | |||
) | const |
F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type double const octave_idx_type octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | dgbtrs | , |
DGBTRS | |||
) |
F77_RET_T F77_FUNC | ( | dgbcon | , |
DGBCON | |||
) |
F77_RET_T F77_FUNC | ( | dpbtrf | , |
DPBTRF | |||
) |
F77_RET_T F77_FUNC | ( | dpbtrs | , |
DPBTRS | |||
) |
F77_RET_T F77_FUNC | ( | dpbcon | , |
DPBCON | |||
) |
F77_RET_T F77_FUNC | ( | dptsv | , |
DPTSV | |||
) | const |
F77_RET_T const octave_idx_type double double double const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | dgtsv | , |
DGTSV | |||
) | const |
F77_RET_T const octave_idx_type double double double const octave_idx_type octave_idx_type& F77_RET_T const octave_idx_type double double double double const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | dgttrf | , |
DGTTRF | |||
) | const |
F77_RET_T const octave_idx_type double double double const octave_idx_type octave_idx_type& F77_RET_T const octave_idx_type double double double double const octave_idx_type octave_idx_type& F77_RET_T double double double double octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | dgttrs | , |
DGTTRS | |||
) |
F77_RET_T F77_FUNC | ( | zptsv | , |
ZPTSV | |||
) | const |
F77_RET_T const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | zgtsv | , |
ZGTSV | |||
) | const |
SparseMatrix imag | ( | const SparseComplexMatrix & | a | ) |
Definition at line 658 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), imag(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
SparseMatrix max | ( | double | d, |
const SparseMatrix & | m | ||
) |
Definition at line 7881 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::columns(), Sparse< T >::data(), EMPTY_RETURN_CHECK, Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xmax(), and Sparse< T >::xridx().
SparseMatrix max | ( | const SparseMatrix & | m, |
double | d | ||
) |
Definition at line 7938 of file dSparse.cc.
References max().
SparseMatrix max | ( | const SparseMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 7944 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), Sparse< T >::rows(), and xmax().
SparseMatrix min | ( | double | d, |
const SparseMatrix & | m | ||
) |
Definition at line 7731 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::columns(), Sparse< T >::data(), EMPTY_RETURN_CHECK, Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< T >::xcidx(), Sparse< T >::xdata(), xmin(), and Sparse< T >::xridx().
SparseMatrix min | ( | const SparseMatrix & | m, |
double | d | ||
) |
Definition at line 7788 of file dSparse.cc.
References min().
SparseMatrix min | ( | const SparseMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 7794 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), Sparse< T >::rows(), and xmin().
Matrix mul_trans | ( | const Matrix & | m, |
const SparseMatrix & | a | ||
) |
Definition at line 7655 of file dSparse.cc.
References FULL_SPARSE_MUL_TRANS.
SparseMatrix operator* | ( | const SparseMatrix & | m, |
const SparseMatrix & | a | ||
) |
Definition at line 7643 of file dSparse.cc.
References SPARSE_SPARSE_MUL.
Matrix operator* | ( | const Matrix & | m, |
const SparseMatrix & | a | ||
) |
Definition at line 7649 of file dSparse.cc.
References FULL_SPARSE_MUL.
Matrix operator* | ( | const SparseMatrix & | m, |
const Matrix & | a | ||
) |
Definition at line 7661 of file dSparse.cc.
References SPARSE_FULL_MUL.
SparseMatrix operator* | ( | const DiagMatrix & | d, |
const SparseMatrix & | a | ||
) |
Definition at line 7675 of file dSparse.cc.
References d.
SparseMatrix operator* | ( | const SparseMatrix & | a, |
const DiagMatrix & | d | ||
) |
Definition at line 7681 of file dSparse.cc.
References d.
SparseMatrix operator* | ( | const PermMatrix & | p, |
const SparseMatrix & | a | ||
) |
Definition at line 7713 of file dSparse.cc.
References octinternal_do_mul_pm_sm().
SparseMatrix operator* | ( | const SparseMatrix & | a, |
const PermMatrix & | p | ||
) |
Definition at line 7719 of file dSparse.cc.
References octinternal_do_mul_sm_pm().
SparseMatrix operator+ | ( | const DiagMatrix & | d, |
const SparseMatrix & | a | ||
) |
Definition at line 7687 of file dSparse.cc.
References d.
SparseMatrix operator+ | ( | const SparseMatrix & | a, |
const DiagMatrix & | d | ||
) |
Definition at line 7699 of file dSparse.cc.
References d.
SparseMatrix operator- | ( | const DiagMatrix & | d, |
const SparseMatrix & | a | ||
) |
Definition at line 7693 of file dSparse.cc.
References d.
SparseMatrix operator- | ( | const SparseMatrix & | a, |
const DiagMatrix & | d | ||
) |
Definition at line 7705 of file dSparse.cc.
References d.
std::ostream& operator<< | ( | std::ostream & | os, |
const SparseMatrix & | a | ||
) |
Definition at line 7588 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), octave_write_double(), and Sparse< T >::ridx().
std::istream& operator>> | ( | std::istream & | is, |
SparseMatrix & | a | ||
) |
Definition at line 7609 of file dSparse.cc.
SparseMatrix real | ( | const SparseComplexMatrix & | a | ) |
Definition at line 637 of file dSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), real, Sparse< T >::ridx(), and Sparse< T >::rows().
Matrix trans_mul | ( | const SparseMatrix & | m, |
const Matrix & | a | ||
) |
Definition at line 7667 of file dSparse.cc.
References SPARSE_FULL_TRANS_MUL.
F77_RET_T const octave_idx_type double double double const octave_idx_type octave_idx_type& F77_RET_T const octave_idx_type double double double double const octave_idx_type octave_idx_type& F77_RET_T double double double double octave_idx_type octave_idx_type& F77_RET_T const octave_idx_type const octave_idx_type const double const double const double const double const octave_idx_type double const octave_idx_type octave_idx_type& F77_CHAR_ARG_LEN_DECL |
Definition at line 77 of file dSparse.cc.