In this chapter, we will cover the following recipes:
- Package imports and initial setup for vectors and matrices
- Creating DenseVector and setup with Spark 2.0
- Creating SparseVector and setup with Spark 2.0
- Creating DenseMatrix and setup with Spark 2.0
- Using sparse local matrices with Spark 2.0
- Performing vector arithmetic using Spark 2.0
- Performing matrix arithmetic with Spark 2.0
- Distributed matrices in Spark 2.0 ML library
- Exploring RowMatrix in Spark 2.0
- Exploring distributed IndexedRowMatrix in Spark 2.0
- Exploring distributed CoordinateMatrix in Spark 2.0
- Exploring distributed BlockMatrix in Spark 2.0