package mem_mapped
The mem_mapped
package contains classes, traits and objects for out-of-core
linear algebra, including vectors and matrices for real and complex numbers.
- Alphabetic
- By Inheritance
- mem_mapped
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
MatriC extends Error
The
MatriC
trait specifies the operations to be defined by the concrete classes implementingComplex
matrices, i.e., MatrixC - dense matrix BidMatrixC - bidiagonal matrix - useful for computing Singular Values SparseMatrixC - sparse matrix - majority of elements should be zero SymTriMatrixC - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixC - parallel dense matrix par.SparseMatrixC - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriC
trait specifies the operations to be defined by the concrete classes implementingComplex
matrices, i.e., MatrixC - dense matrix BidMatrixC - bidiagonal matrix - useful for computing Singular Values SparseMatrixC - sparse matrix - majority of elements should be zero SymTriMatrixC - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixC - parallel dense matrix par.SparseMatrixC - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
trait
MatriD extends Error
The
MatriD
trait specifies the operations to be defined by the concrete classes implementingDouble
matrices, i.e., MatrixD - dense matrix BidMatrixD - bidiagonal matrix - useful for computing Singular Values SparseMatrixD - sparse matrix - majority of elements should be zero SymTriMatrixD - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixD - parallel dense matrix par.SparseMatrixD - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriD
trait specifies the operations to be defined by the concrete classes implementingDouble
matrices, i.e., MatrixD - dense matrix BidMatrixD - bidiagonal matrix - useful for computing Singular Values SparseMatrixD - sparse matrix - majority of elements should be zero SymTriMatrixD - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixD - parallel dense matrix par.SparseMatrixD - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
trait
MatriI extends Error
The
MatriI
trait specifies the operations to be defined by the concrete classes implementingInt
matrices, i.e., MatrixI - dense matrix BidMatrixI - bidiagonal matrix - useful for computing Singular Values SparseMatrixI - sparse matrix - majority of elements should be zero SymTriMatrixI - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixI - parallel dense matrix par.SparseMatrixI - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriI
trait specifies the operations to be defined by the concrete classes implementingInt
matrices, i.e., MatrixI - dense matrix BidMatrixI - bidiagonal matrix - useful for computing Singular Values SparseMatrixI - sparse matrix - majority of elements should be zero SymTriMatrixI - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixI - parallel dense matrix par.SparseMatrixI - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
trait
MatriL extends Error
The
MatriL
trait specifies the operations to be defined by the concrete classes implementingLong
matrices, i.e., MatrixL - dense matrix BidMatrixL - bidiagonal matrix - useful for computing Singular Values SparseMatrixL - sparse matrix - majority of elements should be zero SymTriMatrixL - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixL - parallel dense matrix par.SparseMatrixL - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriL
trait specifies the operations to be defined by the concrete classes implementingLong
matrices, i.e., MatrixL - dense matrix BidMatrixL - bidiagonal matrix - useful for computing Singular Values SparseMatrixL - sparse matrix - majority of elements should be zero SymTriMatrixL - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixL - parallel dense matrix par.SparseMatrixL - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
trait
MatriQ extends Error
The
MatriQ
trait specifies the operations to be defined by the concrete classes implementingRational
matrices, i.e., MatrixQ - dense matrix BidMatrixQ - bidiagonal matrix - useful for computing Singular Values SparseMatrixQ - sparse matrix - majority of elements should be zero SymTriMatrixQ - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixQ - parallel dense matrix par.SparseMatrixQ - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriQ
trait specifies the operations to be defined by the concrete classes implementingRational
matrices, i.e., MatrixQ - dense matrix BidMatrixQ - bidiagonal matrix - useful for computing Singular Values SparseMatrixQ - sparse matrix - majority of elements should be zero SymTriMatrixQ - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixQ - parallel dense matrix par.SparseMatrixQ - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
trait
MatriR extends Error
The
MatriR
trait specifies the operations to be defined by the concrete classes implementingReal
matrices, i.e., MatrixR - dense matrix BidMatrixR - bidiagonal matrix - useful for computing Singular Values SparseMatrixR - sparse matrix - majority of elements should be zero SymTriMatrixR - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixR - parallel dense matrix par.SparseMatrixR - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriR
trait specifies the operations to be defined by the concrete classes implementingReal
matrices, i.e., MatrixR - dense matrix BidMatrixR - bidiagonal matrix - useful for computing Singular Values SparseMatrixR - sparse matrix - majority of elements should be zero SymTriMatrixR - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixR - parallel dense matrix par.SparseMatrixR - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
trait
MatriS extends Error
The
MatriS
trait specifies the operations to be defined by the concrete classes implementingStrNum
matrices, i.e., MatrixS - dense matrix BidMatrixS - bidiagonal matrix - useful for computing Singular Values SparseMatrixS - sparse matrix - majority of elements should be zero SymTriMatrixS - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixS - parallel dense matrix par.SparseMatrixS - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp".The
MatriS
trait specifies the operations to be defined by the concrete classes implementingStrNum
matrices, i.e., MatrixS - dense matrix BidMatrixS - bidiagonal matrix - useful for computing Singular Values SparseMatrixS - sparse matrix - majority of elements should be zero SymTriMatrixS - symmetric triangular matrix - useful for computing Eigenvalues par.MatrixS - parallel dense matrix par.SparseMatrixS - parallel sparse matrix Some of the classes provide a few custom methods, e.g., methods beginning with "times" or ending with "npp". ------------------------------------------------------------------------------ row-wise column-wise Append: matrix +: vector matrix +: vector Concatenate: matrix ++ matrix matrix ++ matrix -
class
MatrixC extends MatriC with Error with Serializable
The
MatrixC
class stores and operates on Numeric Matrices of typeComplex
.The
MatrixC
class stores and operates on Numeric Matrices of typeComplex
. This class follows thegen.MatrixN
framework and is provided for efficiency. -
class
MatrixD extends MatriD with Error with Serializable
The
MatrixD
class stores and operates on Numeric Matrices of typeDouble
.The
MatrixD
class stores and operates on Numeric Matrices of typeDouble
. This class follows thegen.MatrixN
framework and is provided for efficiency. -
class
MatrixI extends MatriI with Error with Serializable
The
MatrixI
class stores and operates on Numeric Matrices of typeInt
.The
MatrixI
class stores and operates on Numeric Matrices of typeInt
. This class follows thegen.MatrixN
framework and is provided for efficiency. -
class
MatrixL extends MatriL with Error with Serializable
The
MatrixL
class stores and operates on Numeric Matrices of typeLong
.The
MatrixL
class stores and operates on Numeric Matrices of typeLong
. This class follows thegen.MatrixN
framework and is provided for efficiency. -
class
MatrixQ extends MatriQ with Error with Serializable
The
MatrixQ
class stores and operates on Numeric Matrices of typeRational
.The
MatrixQ
class stores and operates on Numeric Matrices of typeRational
. This class follows thegen.MatrixN
framework and is provided for efficiency. -
class
MatrixR extends MatriR with Error with Serializable
The
MatrixR
class stores and operates on Numeric Matrices of typeReal
.The
MatrixR
class stores and operates on Numeric Matrices of typeReal
. This class follows thegen.MatrixN
framework and is provided for efficiency. -
final
class
StatVec extends AnyVal
The
StatVec
value class provides methods for computing statistics on data vectors.The
StatVec
value class provides methods for computing statistics on data vectors. Both maximum likelihood and unbiased estimators are supported. Unbiased should only be used on sample (not population) data. Ex: It can be used to support the Method of Independent Replications (MIR). For efficiency,StatVec
is a value class that enriches theVectorD
. The corresponding implicit conversion in the package object.- See also
stat.StatVector
for more complete statistical functionsstackoverflow.com/questions/14861862/how-do-you-enrich-value-classes-without-overhead -----------------------------------------------------------------------------
-
trait
Vec extends AnyRef
The
Vec
trait establishes a common base type for all vectors (e.g.,VectorD
). -
class
VectorC extends Traversable[Complex] with PartiallyOrdered[VectorC] with Vec with Error with Serializable
The
VectorC
class stores and operates on Numeric Vectors of base typeComplex
.The
VectorC
class stores and operates on Numeric Vectors of base typeComplex
. It follows the framework ofgen.VectorN [T]
and is provided for performance. -
class
VectorD extends Traversable[Double] with PartiallyOrdered[VectorD] with Vec with Error with Serializable
The
VectorD
class stores and operates on Numeric Vectors of base typeDouble
.The
VectorD
class stores and operates on Numeric Vectors of base typeDouble
. It follows the framework ofgen.VectorN [T]
and is provided for performance. -
class
VectorI extends Traversable[Int] with PartiallyOrdered[VectorI] with Vec with Error with Serializable
The
VectorI
class stores and operates on Numeric Vectors of base typeInt
.The
VectorI
class stores and operates on Numeric Vectors of base typeInt
. It follows the framework ofgen.VectorN [T]
and is provided for performance. -
class
VectorL extends Traversable[Long] with PartiallyOrdered[VectorL] with Vec with Error with Serializable
The
VectorL
class stores and operates on Numeric Vectors of base typeLong
.The
VectorL
class stores and operates on Numeric Vectors of base typeLong
. It follows the framework ofgen.VectorN [T]
and is provided for performance. -
class
VectorQ extends Traversable[Rational] with PartiallyOrdered[VectorQ] with Vec with Error with Serializable
The
VectorQ
class stores and operates on Numeric Vectors of base typeRational
.The
VectorQ
class stores and operates on Numeric Vectors of base typeRational
. It follows the framework ofgen.VectorN [T]
and is provided for performance. -
class
VectorR extends Traversable[Real] with PartiallyOrdered[VectorR] with Vec with Error with Serializable
The
VectorR
class stores and operates on Numeric Vectors of base typeReal
.The
VectorR
class stores and operates on Numeric Vectors of base typeReal
. It follows the framework ofgen.VectorN [T]
and is provided for performance. -
class
VectorS extends Traversable[StrNum] with PartiallyOrdered[VectorS] with Vec with Error with Serializable
The
VectorS
class stores and operates on Numeric Vectors of base typeStrNum
.The
VectorS
class stores and operates on Numeric Vectors of base typeStrNum
. It follows the framework ofgen.VectorN [T]
and is provided for performance.
Value Members
-
implicit
def
vectorC2StatVec(x: VectorC): StatVec
Implicit conversion from
VectorD
toStatVec
, which supports more advanced statistical operations on vectors (e.g., covariance).Implicit conversion from
VectorD
toStatVec
, which supports more advanced statistical operations on vectors (e.g., covariance). Other vector types require to conversion toVectorD
via 'toDouble'. Caveat: won't work for vectors of string numbers (VectorS
) since there not a meaningful conversion for general strings.- x
the vector to be enriched
- implicit def vectorD2StatVec(x: VectorD): StatVec
- implicit def vectorI2StatVec(x: VectorI): StatVec
- implicit def vectorL2StatVec(x: VectorL): StatVec
- implicit def vectorQ2StatVec(x: VectorQ): StatVec
- implicit def vectorR2StatVec(x: VectorR): StatVec
-
object
Converter
The
Converter
object converts string number vectors to integer vectors. -
object
ConverterTest extends App
The
ConverterTest
object is used to test theConverter
class.The
ConverterTest
object is used to test theConverter
class. > runMain scalation.linalgebra.mem_mapped.ConverterTest -
object
MatrixC extends Error with Serializable
The
MatrixC
companion object provides operations forMatrixC
that don't require 'this' (like static methods in Java).The
MatrixC
companion object provides operations forMatrixC
that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors. -
object
MatrixCTest extends App with PackageInfo
The
MatrixCTest
object tests the operations provided byMatrixC
class.The
MatrixCTest
object tests the operations provided byMatrixC
class. > runMain scalation.linalgebra.MatrixCTest -
object
MatrixD extends Error with Serializable
The
MatrixD
companion object provides operations forMatrixD
that don't require 'this' (like static methods in Java).The
MatrixD
companion object provides operations forMatrixD
that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors. -
object
MatrixDTest extends App with PackageInfo
The
MatrixDTest
object tests the operations provided byMatrixD
class.The
MatrixDTest
object tests the operations provided byMatrixD
class. > runMain scalation.linalgebra.MatrixDTest -
object
MatrixI extends Error with Serializable
The
MatrixI
companion object provides operations forMatrixI
that don't require 'this' (like static methods in Java).The
MatrixI
companion object provides operations forMatrixI
that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors. -
object
MatrixITest extends App with PackageInfo
The
MatrixITest
object tests the operations provided byMatrixI
class.The
MatrixITest
object tests the operations provided byMatrixI
class. > runMain scalation.linalgebra.MatrixITest -
object
MatrixL extends Error with Serializable
The
MatrixL
companion object provides operations forMatrixL
that don't require 'this' (like static methods in Java).The
MatrixL
companion object provides operations forMatrixL
that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors. -
object
MatrixLTest extends App with PackageInfo
The
MatrixLTest
object tests the operations provided byMatrixL
class.The
MatrixLTest
object tests the operations provided byMatrixL
class. > runMain scalation.linalgebra.MatrixLTest -
object
MatrixQ extends Error with Serializable
The
MatrixQ
companion object provides operations forMatrixQ
that don't require 'this' (like static methods in Java).The
MatrixQ
companion object provides operations forMatrixQ
that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors. -
object
MatrixQTest extends App with PackageInfo
The
MatrixQTest
object tests the operations provided byMatrixQ
class.The
MatrixQTest
object tests the operations provided byMatrixQ
class. > runMain scalation.linalgebra.MatrixQTest -
object
MatrixR extends Error with Serializable
The
MatrixR
companion object provides operations forMatrixR
that don't require 'this' (like static methods in Java).The
MatrixR
companion object provides operations forMatrixR
that don't require 'this' (like static methods in Java). It provides factory methods for building matrices from files or vectors. -
object
MatrixRTest extends App with PackageInfo
The
MatrixRTest
object tests the operations provided byMatrixR
class.The
MatrixRTest
object tests the operations provided byMatrixR
class. > runMain scalation.linalgebra.MatrixRTest -
object
StatVecTest extends App
The
StatVecTest
object is used to test theStatVec
class.The
StatVecTest
object is used to test theStatVec
class. > runMain scalation.linalgebra.StatVecTest -
object
Vec
The
Vec
object provides a minimal set of functions that apply across all types of vectors.The
Vec
object provides a minimal set of functions that apply across all types of vectors.- See also
scalation.columnar_db.Relation
-
object
VectorC extends Serializable
The
VectorC
object is the companion object for theVectorC
class. -
object
VectorCTest extends App
The
VectorCTest
object tests the operations provided byVectorC
.The
VectorCTest
object tests the operations provided byVectorC
. > runMain scalation.linalgebra.mem_mapped.VectorCTest -
object
VectorD extends Serializable
The
VectorD
object is the companion object for theVectorD
class. -
object
VectorDTest extends App
The
VectorDTest
object tests the operations provided byVectorD
.The
VectorDTest
object tests the operations provided byVectorD
. > runMain scalation.linalgebra.mem_mapped.VectorDTest -
object
VectorI extends Serializable
The
VectorI
object is the companion object for theVectorI
class. -
object
VectorITest extends App
The
VectorITest
object tests the operations provided byVectorI
.The
VectorITest
object tests the operations provided byVectorI
. > runMain scalation.linalgebra.mem_mapped.VectorITest -
object
VectorL extends Serializable
The
VectorL
object is the companion object for theVectorL
class. -
object
VectorLTest extends App
The
VectorLTest
object tests the operations provided byVectorL
.The
VectorLTest
object tests the operations provided byVectorL
. > runMain scalation.linalgebra.mem_mapped.VectorLTest -
object
VectorQ extends Serializable
The
VectorQ
object is the companion object for theVectorQ
class. -
object
VectorQTest extends App
The
VectorQTest
object tests the operations provided byVectorQ
.The
VectorQTest
object tests the operations provided byVectorQ
. > runMain scalation.linalgebra.mem_mapped.VectorQTest -
object
VectorR extends Serializable
The
VectorR
object is the companion object for theVectorR
class. -
object
VectorRTest extends App
The
VectorRTest
object tests the operations provided byVectorR
.The
VectorRTest
object tests the operations provided byVectorR
. > runMain scalation.linalgebra.mem_mapped.VectorRTest -
object
VectorS extends Serializable
The
VectorS
object is the companion object for theVectorS
class. -
object
VectorSTest extends App
The
VectorSTest
object tests the operations provided byVectorS
.The
VectorSTest
object tests the operations provided byVectorS
. > runMain scalation.linalgebra.mem_mapped.VectorSTest