MCPcopy Create free account
hub / github.com/numpy/numpy / nan_matrix

Function nan_matrix

numpy/linalg/umath_linalg.cpp:940–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

938
939template<typename typ>
940static inline void
941nan_matrix(typ *dst, const LINEARIZE_DATA_t* data)
942{
943 int i, j;
944 for (i = 0; i < data->rows; i++) {
945 typ *cp = dst;
946 ptrdiff_t cs = data->column_strides/sizeof(typ);
947 for (j = 0; j < data->columns; ++j) {
948 *cp = numeric_limits<typ>::nan;
949 cp += cs;
950 }
951 dst += data->row_strides/sizeof(typ);
952 }
953}
954
955template<typename typ>
956static inline void

Callers 11

eigh_wrapperFunction · 0.85
solveFunction · 0.85
solve1Function · 0.85
invFunction · 0.85
choleskyFunction · 0.85
eig_wrapperFunction · 0.85
svd_wrapperFunction · 0.85
qr_r_rawFunction · 0.85
qr_reducedFunction · 0.85
qr_completeFunction · 0.85
lstsqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected