GNU Octave  4.2.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
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

 OCTAVE_EXPORT octave_value_list Fissparse ( const octave_value_list & args, int )

Definition at line 49 of file sparse.cc.

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

Referenced by install_sparse_fcns().

 OCTAVE_EXPORT octave_value_list Fsparse ( const octave_value_list & args, int )

Referenced by install_sparse_fcns().

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

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

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

Definition at line 123 of file sparse.cc.

 sparse ( ar{i} , ar{j} , ar{sv} , 3 , 4 , "unique" )

## Variable Documentation

 ar {a} is a full matrix

Definition at line 123 of file sparse.cc.

 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.

 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 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.

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

Definition at line 123 of file sparse.cc.