ScalarTagProduct

org.saddle.scalar.ScalarTagProduct
final class ScalarTagProduct[T <: Product]

Attributes

Graph
Supertypes
trait ScalarTag[T]
trait ClassTag[T]
trait Equals
trait ClassManifestDeprecatedApis[T]
trait OptManifest[T]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def clm: ClassTag[T]
def isMissing(v: T): Boolean
def missing: T
override def strList(v: T): List[String]

Attributes

Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
ScalarTag -> ClassTag -> Any

Inherited methods

protected def altMatConstructor(r: Int, c: Int, arr: Array[Vec[T]])(implicit st: ScalarTag[T]): Mat[T]

Can override this default construction methodology to avoid the toArray call if you don't want to extract elements that way.

Can override this default construction methodology to avoid the toArray call if you don't want to extract elements that way.

Attributes

Inherited from:
SpecializedFactory (hidden)
protected def argString: String

Attributes

Inherited from:
ClassManifestDeprecatedApis
protected def arrayClass[A](tp: Class[_]): Class[Array[A]]

Attributes

Inherited from:
ClassManifestDeprecatedApis
def asString(v: T): String

Attributes

Inherited from:
ScalarTag
override def canEqual(x: Any): Boolean

Attributes

Definition Classes
ClassTag -> Equals -> ClassManifestDeprecatedApis
Inherited from:
ClassTag
def compare(x: T, y: T)(implicit ev: Order[T]): Int

Attributes

Inherited from:
ScalarTagBase (hidden)
override def equals(o: Any): Boolean

Compares the receiver object (this) with the argument object (that) for equivalence.

Compares the receiver object (this) with the argument object (that) for equivalence.

Any implementation of this method should be an equivalence relation:

  • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
  • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any instances x, y, and z of type Any if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)).

Value parameters

that

the object to compare against this object for equality.

Attributes

Returns

true if the receiver object is equivalent to the argument; false otherwise.

Definition Classes
ScalarTag -> ClassTag -> Equals -> Any
Inherited from:
ScalarTag
override def erasure: Class[_]

Attributes

Definition Classes
ScalarTag -> ClassManifestDeprecatedApis
Inherited from:
ScalarTag
def gt(a: T, b: T)(implicit ev: Order[T]): Boolean

Attributes

Inherited from:
CouldBeOrdered (hidden)
override def hashCode(): Int

Calculate a hash code value for the object.

Calculate a hash code value for the object.

The default hashing algorithm is platform dependent.

Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

Attributes

Returns

the hash code value for this object.

Definition Classes
ScalarTag -> ClassTag -> Any
Inherited from:
ScalarTag
def inf(implicit ev: Numeric[T]): T

Attributes

Inherited from:
ScalarTagBase (hidden)
def iseq(a: T, b: T)(implicit ev: Order[T]): Boolean

Attributes

Inherited from:
CouldBeOrdered (hidden)
def lt(a: T, b: T)(implicit ev: Order[T]): Boolean

Attributes

Inherited from:
CouldBeOrdered (hidden)
def makeBuf(sz: Int): Buffer[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeIndex(vec: Vec[T])(implicit ord: Order[T]): Index[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeLoc(sz: Int): Locator[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeLocAll(sz: Int): LocatorAll[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeMat(r: Int, c: Int, arr: Array[T]): Mat[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
final def makeMat(arr: Array[Vec[T]])(implicit st: ScalarTag[T]): Mat[T]

An alternative Mat factory method using array of Vecs

An alternative Mat factory method using array of Vecs

Attributes

Inherited from:
SpecializedFactory (hidden)
def makeSorter(implicit ord: Order[T]): Sorter[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def makeVec(arr: Array[T]): Vec[T]

Attributes

Inherited from:
ScalarTagBase (hidden)
def negInf(implicit ev: Numeric[T]): T

Attributes

Inherited from:
ScalarTagBase (hidden)
def newArray(len: Int): Array[T]

Attributes

Inherited from:
ClassTag
def notMissing(t: T): Boolean

Attributes

Inherited from:
ScalarTag
def one(implicit ev: Numeric[T]): T

Attributes

Inherited from:
ScalarTagBase (hidden)
def parse(s: Array[Char], from: Int, to: Int): T

Parses from a char array

Parses from a char array

Does not throw on erroneous input, rather returns the missing value.

Value parameters

from

first index, inclusive

s

characters

to

last index, exclusive

Attributes

Returns

a parsed value, or the missing value if any error occurs

Inherited from:
ScalarTagBase (hidden)
override def runtimeClass: Class[_]

Attributes

Definition Classes
ScalarTagBase -> ScalarTag -> ClassTag
Inherited from:
ScalarTagBase (hidden)
def show(v: T): String

Attributes

Inherited from:
ScalarTagBase (hidden)
def strListLossless(v: T): List[String]

Attributes

Inherited from:
ScalarTag
def toDouble(t: T)(implicit ev: Numeric[T]): Double

Attributes

Inherited from:
ScalarTagBase (hidden)
def unapply(x: Any): Option[T]

Attributes

Inherited from:
ClassTag
def wrap: ClassTag[Array[T]]

Attributes

Inherited from:
ClassTag
def zero(implicit ev: Numeric[T]): T

Attributes

Inherited from:
ScalarTagBase (hidden)

Deprecated and Inherited methods

def <:<(that: ClassTag[_]): Boolean

Attributes

Deprecated
[Since version 2.10.0] use scala.reflect.runtime.universe.TypeTag for subtype checking instead
Inherited from:
ClassManifestDeprecatedApis
def >:>(that: ClassTag[_]): Boolean

Attributes

Deprecated
[Since version 2.10.0] use scala.reflect.runtime.universe.TypeTag for subtype checking instead
Inherited from:
ClassManifestDeprecatedApis
def arrayManifest: ClassTag[Array[T]]

Attributes

Deprecated
[Since version 2.10.0] use wrap instead
Inherited from:
ClassManifestDeprecatedApis
def newArray2(len: Int): Array[Array[T]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArray3(len: Int): Array[Array[Array[T]]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArray4(len: Int): Array[Array[Array[Array[T]]]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.wrap.wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArray5(len: Int): Array[Array[Array[Array[Array[T]]]]]

Attributes

Deprecated
[Since version 2.10.0] use wrap.wrap.wrap.wrap.newArray instead
Inherited from:
ClassManifestDeprecatedApis
def newArrayBuilder(): ArrayBuilder[T]

Attributes

Deprecated
[Since version 2.10.0] use ArrayBuilder.make(this) instead
Inherited from:
ClassManifestDeprecatedApis
def newWrappedArray(len: Int): ArraySeq[T]

Attributes

Deprecated
[Since version 2.10.0] create WrappedArray directly instead
Inherited from:
ClassManifestDeprecatedApis
def typeArguments: List[OptManifest[_]]

Attributes

Deprecated
[Since version 2.10.0] use scala.reflect.runtime.universe.TypeTag to capture type structure instead
Inherited from:
ClassManifestDeprecatedApis