=================== Setup a GeCCSMatrix [TOC] =================== In this example we show how you: - How to setup a general sparse matrix in *coordinate storage*. This is a common step in FEM when the stiffness matrix gets assembled. - Show how to convert the sparse matrix from the coordinate storage format to the *compressed column storage* format. Example Code ============ :import: flens/examples/geccs-setup-example01.cc [stripped, downloadable] Some Notes ========== :import: flens/examples/geccs-setup-example01.cc [brief] Compile ======= *--[SHELL]----------------------------------------------------------------* | | | cd flens/examples | | g++ -Wall -std=c++11 -I../.. -o geccs-setup-example01 +++| | geccs-setup-example01.cc | | | *-------------------------------------------------------------------------* Run === *--[SHELL]----------------------------------------------------------------* | | | cd flens/examples | | ./geccs-setup-example01 | | | *-------------------------------------------------------------------------* :navigate: __up__ -> doc:flens/examples/tutorial __next__ -> doc:flens/examples/geccs-superlu