GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sparse.cc File Reference
#include <cstdlib>
#include <string>
#include "variables.h"
#include "utils.h"
#include "pager.h"
#include "defun.h"
#include "errwarn.h"
#include "quit.h"
#include "unwind-prot.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"
#include "ov-bool-sparse.h"
Include dependency graph for sparse.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Fissparse (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fsparse (const octave_value_list &args, int) or row
 
Compressed Column Sparse (rows=3, cols=4, nnz=2 [17%])(1
 
 sparse (ar{i}, ar{j}, ar{sv}, 3, 4) esult
 
 sparse (ar{i}, ar{j}, ar{sv}, 3, 4, "unique") esult
 

Variables

OCTAVE_EXPORT octave_value_list value triplets If ar {a} is a full matrix
 
OCTAVE_EXPORT octave_value_list value triplets If convert it to a sparse matrix removing all zero values in the process Given the integer index vectors and a by construct the sparse matrix they are expanded to have a common size If the corresponding value in such as taking the minimum instead If the option code {"unique"} is given
 
OCTAVE_EXPORT octave_value_list column
 
OCTAVE_EXPORT octave_value_list value triplets If convert it to a sparse matrix removing all zero values in the process Given the integer index vectors and a by ode {nnz} vector of real or complex values ar{sv}
 
OCTAVE_EXPORT octave_value_list value triplets If convert it to a sparse matrix representation
 

Function Documentation

◆ Fissparse()

OCTAVE_EXPORT octave_value_list Fissparse ( const octave_value_list args,
int   
)

Definition at line 49 of file sparse.cc.

References octave_value::issparse(), ovl(), and print_usage().

◆ Fsparse()

OCTAVE_EXPORT octave_value_list Fsparse ( const octave_value_list args,
int   
)

◆ Sparse()

Compressed Column Sparse ( rows  = 3,
cols  = 4,
nnz  = 2 [17%] 
)

Referenced by Sparse< bool >::index().

◆ sparse() [1/2]

sparse ( ar{i ,
ar{j}  ,
ar{sv}  ,
,
 
)

Definition at line 123 of file sparse.cc.

◆ sparse() [2/2]

Variable Documentation

◆ ar

ar {a} is a full matrix

Definition at line 123 of file sparse.cc.

◆ code

OCTAVE_EXPORT octave_value_list value triplets If convert it to a sparse matrix removing all zero values in the process Given the integer index vectors and a by construct the sparse matrix they are expanded to have a common size If the corresponding value in such as taking the minimum instead If the option code {"unique"} is given

Definition at line 123 of file sparse.cc.

◆ column

◆ ode

OCTAVE_EXPORT octave_value_list value triplets If convert it to a sparse matrix removing all zero values in the process Given the integer index vectors and a by construct the sparse matrix they are expanded to have a common size If the corresponding value in such as taking the minimum instead If the option and more than one value is specified at the same then the last specified value will be used ode {nnz} vector of real or complex values ar{sv}

Definition at line 123 of file sparse.cc.

◆ representation

OCTAVE_EXPORT octave_value_list value triplets If convert it to a sparse matrix representation

Definition at line 123 of file sparse.cc.