Home
last modified time | relevance | path

Searched refs:cols_ix (Results 1 – 5 of 5) sorted by relevance

/petsc/src/binding/petsc4py/demo/regressor/
H A Dtest_regressor.py23 cols_ix = [0, 1] variable
35 X.setValues(rows_ix,cols_ix,X_array,addv=True)
H A Dtest_regressor_synthetic.py53 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 Dex_sharks.c46 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 Dex2.c24 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 Dex1.c24 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()