LMMC
Lamina Mathematic core
载入中...
搜索中...
未找到
sparse_direct.c 文件参考
#include <string.h>
#include <math.h>
#include "memory_bridge.h"
#include "internal.h"
#include "lmmc/sparse.h"
#include "sparse_direct_internal.h"
#include "sparse_internal.h"
sparse_direct.c 的引用(Include)关系图:

浏览该文件的源代码.

函数

lmmc_status_t lmmc_sparse_direct_csc (const lmmc_sparse_mat_t *a, lmmc_sparse_mat_t *csc_out, int *needs_free)
lmmc_status_t lmmc_sparse_factor_capacity (size_t **idx, lmmc_real_t **vals, size_t *capacity, size_t needed)

函数说明

◆ lmmc_sparse_direct_csc()

lmmc_status_t lmmc_sparse_direct_csc ( const lmmc_sparse_mat_t * a,
lmmc_sparse_mat_t * csc_out,
int * needs_free )

在文件 sparse_direct.c 第 9 行定义.

引用了 lmmc_sparse_mat_t::format, LMMC_SPARSE_CSC, lmmc_sparse_direct_csc(), lmmc_sparse_to_csc(), LMMC_STATUS_INVALID_ARGUMENT , 以及 LMMC_STATUS_OK.

被这些函数引用 lmmc_sparse_chol_numeric(), lmmc_sparse_chol_symbolic(), lmmc_sparse_direct_csc(), lmmc_sparse_lu_numeric() , 以及 lmmc_sparse_lu_symbolic().

函数调用图:
这是这个函数的调用关系图:

◆ lmmc_sparse_factor_capacity()

lmmc_status_t lmmc_sparse_factor_capacity ( size_t ** idx,
lmmc_real_t ** vals,
size_t * capacity,
size_t needed )

在文件 sparse_direct.c 第 26 行定义.

引用了 lmmc_memory_realloc(), lmmc_sparse_factor_capacity(), LMMC_STATUS_ALLOCATION_FAILED , 以及 LMMC_STATUS_OK.

被这些函数引用 lmmc_sparse_factor_capacity().

函数调用图:
这是这个函数的调用关系图: