Searched refs:cols_ix (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/binding/petsc4py/demo/regressor/ |
| H A D | test_regressor.py | 23 cols_ix = [0, 1] variable 35 X.setValues(rows_ix,cols_ix,X_array,addv=True)
|
| H A D | test_regressor_synthetic.py | 53 cols_ix = np.arange(nfeature,dtype=np.int32) 62 X.setValues(rows_ix,cols_ix,x_train,addv=True) 78 X.setValues(rows_ix,cols_ix,xte,addv=True)
|
| /petsc/src/ml/regressor/tests/ |
| H A D | ex_sharks.c | 46 PetscInt cols_ix[4] = {0, 1, 2, 3}; in main() local 62 PetscCall(MatSetValues(X, 20, rows_ix, 4, cols_ix, X_array, ADD_VALUES)); in main()
|
| H A D | ex2.c | 24 PetscInt cols_ix[2] = {0, 1}; in main() local 40 PetscCall(MatSetValues(X, 5, rows_ix, 2, cols_ix, X_array, ADD_VALUES)); in main()
|
| H A D | ex1.c | 24 PetscInt cols_ix[2] = {0, 1}; in main() local 40 PetscCall(MatSetValues(X, 5, rows_ix, 2, cols_ix, X_array, ADD_VALUES)); in main()
|