/dports/math/R/R-4.1.2/tests/ |
H A D | eval-etc-2.R | 47 A <- sparseMatrix(i, j, x = x) 48 sA <- sparseMatrix(i, j, x = x, symmetric = TRUE) 49 tA <- sparseMatrix(i, j, x = x, triangular= TRUE) 51 AA <- sparseMatrix(c(1,3:8), c(2,9,6:10), x = 7 * (1:7), dims = c(10,20)) 54 A1 <- sparseMatrix(i[perm], j[perm], x = x[perm]) 57 Aa <- do.call(sparseMatrix, args) 58 A. <- do.call(sparseMatrix, c(args, list(use.last.ij = TRUE))) 60 nA <- do.call(sparseMatrix, args[c("i","j")]) 65 n <- sparseMatrix(i=1:6, j=rev(2:7)) 67 e <- sparseMatrix(dims = c(4,6), i={}, j={}) [all …]
|
/dports/math/libRmath/R-4.1.1/tests/ |
H A D | eval-etc-2.R | 47 A <- sparseMatrix(i, j, x = x) 48 sA <- sparseMatrix(i, j, x = x, symmetric = TRUE) 49 tA <- sparseMatrix(i, j, x = x, triangular= TRUE) 51 AA <- sparseMatrix(c(1,3:8), c(2,9,6:10), x = 7 * (1:7), dims = c(10,20)) 54 A1 <- sparseMatrix(i[perm], j[perm], x = x[perm]) 57 Aa <- do.call(sparseMatrix, args) 58 A. <- do.call(sparseMatrix, c(args, list(use.last.ij = TRUE))) 60 nA <- do.call(sparseMatrix, args[c("i","j")]) 65 n <- sparseMatrix(i=1:6, j=rev(2:7)) 67 e <- sparseMatrix(dims = c(4,6), i={}, j={}) [all …]
|
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/include/ |
H A D | StVKStiffnessMatrix.h | 56 …rtual void ComputeStiffnessMatrix(const double * vertexDisplacements, SparseMatrix * sparseMatrix); 58 inline void ResetStiffnessMatrix(SparseMatrix * sparseMatrix) {sparseMatrix->ResetToZero();} in ResetStiffnessMatrix() argument 66 …void AddLinearTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, i… 67 …void AddQuadraticTermsContribution(const double * vertexDisplacements,SparseMatrix * sparseMatrix,… 68 …void AddCubicTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, in… 90 …ine void AddMatrix3x3Block(int c, int a, int element, Mat3d & matrix, SparseMatrix * sparseMatrix); 93 …ssMatrix::AddMatrix3x3Block(int c, int a, int element, Mat3d & matrix, SparseMatrix * sparseMatrix) in AddMatrix3x3Block() argument 100 sparseMatrix->AddEntry(3*row[c]+k, 3*column[numElementVertices*c+a]+l, matrix[k][l]); in AddMatrix3x3Block()
|
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/stvk/ |
H A D | StVKStiffnessMatrix.h | 56 …rtual void ComputeStiffnessMatrix(const double * vertexDisplacements, SparseMatrix * sparseMatrix); 58 inline void ResetStiffnessMatrix(SparseMatrix * sparseMatrix) {sparseMatrix->ResetToZero();} in ResetStiffnessMatrix() argument 66 …void AddLinearTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, i… 67 …void AddQuadraticTermsContribution(const double * vertexDisplacements,SparseMatrix * sparseMatrix,… 68 …void AddCubicTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, in… 90 …ine void AddMatrix3x3Block(int c, int a, int element, Mat3d & matrix, SparseMatrix * sparseMatrix); 93 …ssMatrix::AddMatrix3x3Block(int c, int a, int element, Mat3d & matrix, SparseMatrix * sparseMatrix) in AddMatrix3x3Block() argument 100 sparseMatrix->AddEntry(3*row[c]+k, 3*column[numElementVertices*c+a]+l, matrix[k][l]); in AddMatrix3x3Block()
|
H A D | StVKStiffnessMatrix.cpp | 136 …nessMatrix::ComputeStiffnessMatrix(const double * vertexDisplacements, SparseMatrix * sparseMatrix) in ComputeStiffnessMatrix() argument 139 sparseMatrix->ResetToZero(); in ComputeStiffnessMatrix() 141 AddLinearTermsContribution(vertexDisplacements, sparseMatrix); in ComputeStiffnessMatrix() 142 AddQuadraticTermsContribution(vertexDisplacements, sparseMatrix); in ComputeStiffnessMatrix() 143 AddCubicTermsContribution(vertexDisplacements, sparseMatrix); in ComputeStiffnessMatrix() 149 …rTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, int elementLow… in AddLinearTermsContribution() argument 180 AddMatrix3x3Block(c, a, el, matrix, sparseMatrix); in AddLinearTermsContribution() 197 …cTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, int elementLow… in AddQuadraticTermsContribution() argument 209 double ** dataHandle = sparseMatrix->GetDataHandle(); in AddQuadraticTermsContribution() 273 …cTermsContribution(const double * vertexDisplacements, SparseMatrix * sparseMatrix, int elementLow… in AddCubicTermsContribution() argument [all …]
|
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/sparseMatrix/ |
H A D | Makefile | 12 SPARSEMATRIX_OBJECTS=sparseMatrix.o sparseMatrixMT.o 18 SPARSEMATRIX_HEADERS=sparseMatrix.h sparseMatrixMT.h 20 SPARSEMATRIX_OBJECTS_FILENAMES=$(addprefix $(L)/sparseMatrix/, $(SPARSEMATRIX_OBJECTS)) 21 SPARSEMATRIX_HEADER_FILENAMES=$(addprefix $(L)/sparseMatrix/, $(SPARSEMATRIX_HEADERS)) 27 all: $(L)/sparseMatrix/libsparseMatrix.a 29 $(L)/sparseMatrix/libsparseMatrix.a: $(SPARSEMATRIX_OBJECTS_FILENAMES) 30 ar r $@ $^; cp $@ $(L)/lib; cp $(L)/sparseMatrix/*.h $(L)/include 42 $(RM) $(SPARSEMATRIX_OBJECTS_FILENAMES) $(L)/sparseMatrix/libsparseMatrix.a
|
/dports/science/siconos/siconos-4.4.0/externals/SOL/lumod-c/ |
H A D | lumod_sparse.h | 10 sparseMatrix *L, sparseMatrix *U, 12 void Lprod ( int mode, int n, sparseMatrix *L, REAL *y, REAL *z ); 13 void Usolve ( int mode, int n, sparseMatrix *U, REAL *y ); 15 REAL eps, sparseMatrix *L, sparseMatrix *U, REAL *y ); 17 REAL eps, sparseMatrix *L, sparseMatrix *U, REAL *y, REAL *z );
|
H A D | sparselib.h | 27 } sparseMatrix; typedef 36 sparseMatrix *createMatrix(int dimLimit, int lenLimit, int initVectors); 37 void resizeMatrix(sparseMatrix *matrix, int newSize); 38 int appendMatrix(sparseMatrix *matrix, sparseVector *newVector); 39 int NZcountMatrix(sparseMatrix *matrix); 40 void freeMatrix(sparseMatrix *matrix); 41 void printMatrix(int n, sparseMatrix *matrix, int modulo, MYBOOL showEmpty);
|
H A D | lumod_sparse.c | 152 sparseMatrix *L, sparseMatrix *U, REAL *y, REAL *z, REAL *w) in LUmod() 336 void Lprod(int mode, int n, sparseMatrix *L, REAL *y, REAL *z) in Lprod() 374 void Usolve(int mode, int n, sparseMatrix *U, REAL *y) in Usolve() 511 REAL eps, sparseMatrix *L, sparseMatrix *U, REAL *y, REAL *z) in LUback() 585 REAL eps, sparseMatrix *L, sparseMatrix *U, REAL *y) in LUforw()
|
/dports/biology/bbmap/bbmap/current/jasper/ |
H A D | NCBISparseSimilarityMatrix.java | 59 sparseMatrix = new ArrayList[orgCount + 1]; in NCBISparseSimilarityMatrix() 62 for(int i=0; i<sparseMatrix.length; i++) { in NCBISparseSimilarityMatrix() 64 sparseMatrix[i] = new ArrayList<NCBIComparison>(); in NCBISparseSimilarityMatrix() 122 sparseMatrix[queryPos].add(currentComparison); in NCBISparseSimilarityMatrix() 154 for (int i = 0; i < sparseMatrix.length; i++) { in toString() 155 for (int j = 0; j < sparseMatrix[i].size(); j++) { in toString() 156 sb.append(sparseMatrix[i].get(j) + " "); in toString() 188 return sparseMatrix[rowNum]; in getOrgRowByTaxonID() 209 private final ArrayList<NCBIComparison>[] sparseMatrix; field in NCBISparseSimilarityMatrix
|
H A D | SparseSimilarityMatrix.java | 58 sparseMatrix = new ArrayList[orgCount + 1]; in SparseSimilarityMatrix() 61 for(int i=0; i<sparseMatrix.length; i++) { in SparseSimilarityMatrix() 63 sparseMatrix[i] = new ArrayList<Comparison>(); in SparseSimilarityMatrix() 101 sparseMatrix[queryPos].add(currentComparison); in SparseSimilarityMatrix() 133 for (int i = 0; i < sparseMatrix.length; i++) { in toString() 134 for (int j = 0; j < sparseMatrix[i].size(); j++) { in toString() 135 sb.append(sparseMatrix[i].get(j) + " "); in toString() 167 return sparseMatrix[rowNum]; in getOrgRow() 184 private final ArrayList<Comparison>[] sparseMatrix; field in SparseSimilarityMatrix
|
/dports/math/R-cran-lpSolve/lpSolve/src/ |
H A D | sparselib.h | 27 } sparseMatrix; typedef 36 sparseMatrix *createMatrix(int dimLimit, int lenLimit, int initVectors); 37 void resizeMatrix(sparseMatrix *matrix, int newSize); 38 int appendMatrix(sparseMatrix *matrix, sparseVector *newVector); 39 int NZcountMatrix(sparseMatrix *matrix); 40 void freeMatrix(sparseMatrix *matrix); 41 void printMatrix(int n, sparseMatrix *matrix, int modulo, MYBOOL showEmpty);
|
/dports/math/lp_solve/lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/ |
H A D | sparselib.h | 27 } sparseMatrix; typedef 36 sparseMatrix *createMatrix(int dimLimit, int lenLimit, int initVectors); 37 void resizeMatrix(sparseMatrix *matrix, int newSize); 38 int appendMatrix(sparseMatrix *matrix, sparseVector *newVector); 39 int NZcountMatrix(sparseMatrix *matrix); 40 void freeMatrix(sparseMatrix *matrix); 41 void printMatrix(int n, sparseMatrix *matrix, int modulo, MYBOOL showEmpty);
|
/dports/math/R-cran-pbkrtest/pbkrtest/R/ |
H A D | KR-Sigma-G2.R | 44 Ig <- sparseMatrix(1:n.lev, 1:n.lev, x=1) 51 EE <- sparseMatrix(ii.jj, ii.jj, x=1, dims=rep(SS$n.comp.by.RT[ ss ], 2)) 53 EE <- sparseMatrix(ii.jj, ii.jj[2:1], dims=rep(SS$n.comp.by.RT[ ss ], 2)) 62 G <- c( G, list(sparseMatrix(1:n.obs, 1:n.obs, x=1 )) ) 133 Ig <- sparseMatrix(1:n.lev, 1:n.lev, x=1) 139 EE <- sparseMatrix(ii.jj, ii.jj, x=1, dims=rep(SS$n.comp.by.RT[ ss ], 2)) 141 EE <- sparseMatrix(ii.jj, ii.jj[2:1], dims=rep(SS$n.comp.by.RT[ ss ], 2)) 149 G[[ length( G ) ]] <- sparseMatrix(1:n.obs, 1:n.obs, x=1 )
|
/dports/math/linbox/linbox-1.6.3/examples/ |
H A D | athadet.C | 68 SparseMatrix<Integers> sparseMatrix (ZZ); in operator() 69 sparseMatrix.read(input); in operator() 73 cra_det(det_A, sparseMatrix, RingCategories::IntegerTag(), Method::Auto() ); in operator()
|
/dports/devel/R-cran-broom/broom/man/ |
H A D | sparse_tidiers.Rd | 7 \alias{tidy.sparseMatrix} 8 \title{Tidy a sparseMatrix object from the Matrix package} 14 \method{tidy}{sparseMatrix}(x, ...) 30 Tidy a sparseMatrix object from the Matrix package into
|
/dports/math/R-cran-RcppArmadillo/RcppArmadillo/inst/tinytest/ |
H A D | test_sparse.R | 89 SM2 <- sparseMatrix(i = c(1:4), j = c(1:4), x = 1) 92 SM2 <- sparseMatrix(i = c(1:3), j = c(1:3), x = 1, dims = c(3, 5)) 95 SM2 <- sparseMatrix(i = c(1:3), j = c(1:3), x = 1, dims = c(5, 3))
|
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gfortran.dg/ |
H A D | class_47.f90 | 35 CLASS(sparseMatrix_t), pointer :: sparseMatrix variable 37 call test(sparseMatrix)
|