- Companion:
- class
Type members
Classlikes
This class exists because @specialized instances don't respect the serial
This class exists because @specialized instances don't respect the serial
Value members
Concrete methods
Creates a new DenseVector using the provided array (not making a copy!). In generic contexts, prefer to
use this (or apply) instead of new DenseVector[V](data, offset, stride, length), which in general
won't give specialized implementations.
Creates a new DenseVector using the provided array (not making a copy!). In generic contexts, prefer to
use this (or apply) instead of new DenseVector[V](data, offset, stride, length), which in general
won't give specialized implementations.
Horizontal concatenation of two or more vectors into one matrix.
Horizontal concatenation of two or more vectors into one matrix.
- Throws:
- IllegalArgumentException
if vectors have different sizes
Analogous to Array.tabulate
Analogous to Array.tabulate
Analogous to Array.tabulate, but taking a scala.Range to iterate over, instead of an index.
Analogous to Array.tabulate, but taking a scala.Range to iterate over, instead of an index.
Vertical concatenation of two or more column vectors into one large vector.
Vertical concatenation of two or more column vectors into one large vector.
Inherited methods
Creates a vector with the specified elements
Creates a vector with the specified elements
- Inherited from:
- VectorConstructors
Creates a Vector of uniform random numbers in (0,1)
Creates a Vector of uniform random numbers in (0,1)
- Inherited from:
- VectorConstructors